* the fuck

* more logs
This commit is contained in:
haiwwkes
2024-10-28 04:22:52 +05:00
committed by GitHub
parent 0cf299155e
commit 2b05807882
8 changed files with 811 additions and 0 deletions

View 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; }
}