Show / Hide Table of Contents

Class AfterGeneralRecordCreatedEvent

Event raised after the player's general profile is created. Systems that modify records on a station would have more use listening to this event, as it contains the character's record key. Also stores the general record reference, to save some time.

Inheritance
System.Object
AfterGeneralRecordCreatedEvent
Namespace: Content.Server.StationRecords.Systems
Assembly: Content.Server.dll
Syntax
public sealed class AfterGeneralRecordCreatedEvent : EntityEventArgs

Constructors

| Improve this Doc View Source

AfterGeneralRecordCreatedEvent(EntityUid, StationRecordKey, GeneralStationRecord, HumanoidCharacterProfile)

Declaration
public AfterGeneralRecordCreatedEvent(EntityUid station, StationRecordKey key, GeneralStationRecord record, HumanoidCharacterProfile profile)
Parameters
Type Name Description
EntityUid station
StationRecordKey key
GeneralStationRecord record
HumanoidCharacterProfile profile

Fields

| Improve this Doc View Source

Station

Declaration
public readonly EntityUid Station
Field Value
Type Description
EntityUid

Properties

| Improve this Doc View Source

Key

Declaration
public StationRecordKey Key { get; }
Property Value
Type Description
StationRecordKey
| Improve this Doc View Source

Profile

Profile for the related player. This is so that other systems can get further information about the player character. Optional - other systems should anticipate this.

Declaration
public HumanoidCharacterProfile Profile { get; }
Property Value
Type Description
HumanoidCharacterProfile
| Improve this Doc View Source

Record

Declaration
public GeneralStationRecord Record { get; }
Property Value
Type Description
GeneralStationRecord
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾