Beispiel #1
0
        public static void Postfix(PlayerControl __instance, byte HKHMBLJFLMC,
                                   MessageReader ALMCIJKELCP)
        {
            if (HKHMBLJFLMC != Message.RPCId)
            {
                return;
            }

            var ModId     = ALMCIJKELCP.ReadInt32();
            var MessageId = ALMCIJKELCP.ReadInt32();

            XenoMods.ById(ModId)
            .MessageById(MessageId)
            .PreHandle(__instance, ALMCIJKELCP);
        }
Beispiel #2
0
 public void DoRegister()
 {
     XenoMods.Register(this);
 }
Beispiel #3
0
 protected override void Handle()
 {
     XenoMods.ReadSync(Reader);
 }