Content update for NetEntities (#18935)
This commit is contained in:
@@ -6,25 +6,25 @@ namespace Content.Shared.CharacterInfo;
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class RequestCharacterInfoEvent : EntityEventArgs
|
||||
{
|
||||
public readonly EntityUid EntityUid;
|
||||
public readonly NetEntity NetEntity;
|
||||
|
||||
public RequestCharacterInfoEvent(EntityUid entityUid)
|
||||
public RequestCharacterInfoEvent(NetEntity netEntity)
|
||||
{
|
||||
EntityUid = entityUid;
|
||||
NetEntity = netEntity;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class CharacterInfoEvent : EntityEventArgs
|
||||
{
|
||||
public readonly EntityUid EntityUid;
|
||||
public readonly NetEntity NetEntity;
|
||||
public readonly string JobTitle;
|
||||
public readonly Dictionary<string, List<ConditionInfo>> Objectives;
|
||||
public readonly string? Briefing;
|
||||
|
||||
public CharacterInfoEvent(EntityUid entityUid, string jobTitle, Dictionary<string, List<ConditionInfo>> objectives, string? briefing)
|
||||
public CharacterInfoEvent(NetEntity netEntity, string jobTitle, Dictionary<string, List<ConditionInfo>> objectives, string? briefing)
|
||||
{
|
||||
EntityUid = entityUid;
|
||||
NetEntity = netEntity;
|
||||
JobTitle = jobTitle;
|
||||
Objectives = objectives;
|
||||
Briefing = briefing;
|
||||
|
||||
Reference in New Issue
Block a user