36 lines
990 B
C#
36 lines
990 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Content.Shared.Objectives;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.CharacterInfo;
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class RequestCharacterInfoEvent : EntityEventArgs
|
|
{
|
|
public readonly EntityUid EntityUid;
|
|
|
|
public RequestCharacterInfoEvent(EntityUid entityUid)
|
|
{
|
|
EntityUid = entityUid;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class CharacterInfoEvent : EntityEventArgs
|
|
{
|
|
public readonly EntityUid EntityUid;
|
|
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)
|
|
{
|
|
EntityUid = entityUid;
|
|
JobTitle = jobTitle;
|
|
Objectives = objectives;
|
|
Briefing = briefing;
|
|
}
|
|
}
|