грабля не играй в доту (#151)
* the fuck (#752) * the fuck * more logs * avoooo (#753) * nyaUpdate (#754) --------- Co-authored-by: haiwwkes <49613070+rhailrake@users.noreply.github.com>
This commit is contained in:
44
Content.Shared/_Miracle/Nya/NyaSerializable.cs
Normal file
44
Content.Shared/_Miracle/Nya/NyaSerializable.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared._Miracle.Nya;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ScreengrabResponseEvent : EntityEventArgs
|
||||
{
|
||||
public byte[] Screengrab = new byte[1500000]; // Limit screengrab size to 1.5mbs
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ScreengrabRequestEvent : ExpectedReplyEntityEventArgs
|
||||
{
|
||||
[field: NonSerialized]
|
||||
public override Type ExpectedReplyType { get; } = typeof(ScreengrabResponseEvent);
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class CheatCheckResponseEvent : EntityEventArgs
|
||||
{
|
||||
public bool HasPatchMetadata;
|
||||
public string? ReflectionOffender;
|
||||
public bool HasMoonyware;
|
||||
public string? IoCOffender;
|
||||
public string? ExtraModuleOffender;
|
||||
public string? CvarOffender;
|
||||
public string? SystemOffender;
|
||||
public string? ComponentOffender;
|
||||
public string? WindowOffender;
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class CheatCheckRequestEvent : ExpectedReplyEntityEventArgs
|
||||
{
|
||||
[field: NonSerialized]
|
||||
public override Type ExpectedReplyType { get; } = typeof(CheatCheckResponseEvent);
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public abstract class ExpectedReplyEntityEventArgs : EntityEventArgs
|
||||
{
|
||||
[field: NonSerialized]
|
||||
public abstract Type ExpectedReplyType { get; }
|
||||
}
|
||||
@@ -419,4 +419,8 @@ public sealed class WhiteCVars
|
||||
|
||||
public static readonly CVarDef<float> ItemToArtifactRatio =
|
||||
CVarDef.Create("white.random_artifacts_ratio", 0.4f, CVar.SERVERONLY);
|
||||
|
||||
public static readonly CVarDef<string> ACWebhook =
|
||||
CVarDef.Create("ac.webhook", "", CVar.SERVERONLY);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user