public PacketInteractionEvent(PacketInteractionEventType type, PacketInteractionCall context)
        {
            Type    = type;
            Context = context;

            context?.Events.Add(this);
        }
 public PacketInteractionCallSetterLikeEvent(PacketInteractionCall context, string methodCalled, object[] args)
     : base(PacketInteractionEventType.CallSetterLike, context)
 {
     MethodCalled = methodCalled;
     Args         = args;
 }
 public PacketInteractionSetFieldEvent(PacketInteractionCall context, string fieldName, object value)
     : base(PacketInteractionEventType.SetField, context)
 {
     FieldName = fieldName;
     Value     = value;
 }
 public PacketInteractionCall(PacketInteractionCall context, string className, string methodName)
     : base(PacketInteractionEventType.CallMethod, context)
 {
     ClassName  = className;
     MethodName = methodName;
 }