Exemple #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);
        }
Exemple #2
0
 public void DoRegister()
 {
     XenoMods.Register(this);
 }
Exemple #3
0
 protected override void Handle()
 {
     XenoMods.ReadSync(Reader);
 }