29 lines
644 B
C#
29 lines
644 B
C#
|
|
using Robust.Shared.Serialization;
|
|||
|
|
|
|||
|
|
namespace Content.Shared.Info
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// A client request for server rules.
|
|||
|
|
/// </summary>
|
|||
|
|
[Serializable, NetSerializable]
|
|||
|
|
public sealed class RequestRulesMessage : EntityEventArgs
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// A server response with server rules.
|
|||
|
|
/// </summary>
|
|||
|
|
[Serializable, NetSerializable]
|
|||
|
|
public sealed class RulesMessage : EntityEventArgs
|
|||
|
|
{
|
|||
|
|
public string Title;
|
|||
|
|
public string Text;
|
|||
|
|
|
|||
|
|
public RulesMessage(string title, string rules)
|
|||
|
|
{
|
|||
|
|
Title = title;
|
|||
|
|
Text = rules;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|