mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 05:59:03 +03:00
Co-authored-by: stellar-novas <stellar_novas@riseup.net> Co-authored-by: RedFoxIV <38788538+RedFoxIV@users.noreply.github.com> (cherry picked from commit 01d1ec4d4b04f6d76f239ec0da0970dc705736ef)
26 lines
691 B
C#
26 lines
691 B
C#
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.NPC.Events;
|
|
|
|
/// <summary>
|
|
/// Raised from client to server to notify a faction was added to an NPC.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class NpcFactionAddedEvent : EntityEventArgs
|
|
{
|
|
public string FactionID;
|
|
|
|
public NpcFactionAddedEvent(string factionId) => FactionID = factionId;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Raised from client to server to notify a faction was removed from an NPC.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class NpcFactionRemovedEvent : EntityEventArgs
|
|
{
|
|
public string FactionID;
|
|
|
|
public NpcFactionRemovedEvent(string factionId) => FactionID = factionId;
|
|
}
|