Files
OldThink/Content.Shared/CharacterInfo/SharedCharacterInfoSystem.cs
Aviu00 16c8b95da4 Economy (#403)
* nasrano

* Add station budget & salary

* Initial balance

* Vending machine UI

* Pricing for vending machines

* Finish economy

* Eftpos

* Finish eftpos

* Put eftpos into lockers

* Vending machine prices

* Small fixes

* Fix atm UI

* Add atms to maps

* fix

* reset

* Add PDA program

* Maps again

---------

Co-authored-by: Mona Hmiza <>
Co-authored-by: rhailrake <49613070+rhailrake@users.noreply.github.com>
2024-01-24 13:04:22 +03:00

35 lines
1.0 KiB
C#

using Content.Shared.Objectives;
using Robust.Shared.Serialization;
namespace Content.Shared.CharacterInfo;
[Serializable, NetSerializable]
public sealed class RequestCharacterInfoEvent : EntityEventArgs
{
public readonly NetEntity NetEntity;
public RequestCharacterInfoEvent(NetEntity netEntity)
{
NetEntity = netEntity;
}
}
[Serializable, NetSerializable]
public sealed class CharacterInfoEvent : EntityEventArgs
{
public readonly NetEntity NetEntity;
public readonly string JobTitle;
public readonly Dictionary<string, List<ObjectiveInfo>> Objectives;
public readonly string? Briefing;
public readonly Dictionary<string, string> Memory;
public CharacterInfoEvent(NetEntity netEntity, string jobTitle, Dictionary<string, List<ObjectiveInfo>> objectives, string? briefing, Dictionary<string,string> memory)
{
NetEntity = netEntity;
JobTitle = jobTitle;
Objectives = objectives;
Briefing = briefing;
Memory = memory;
}
}