コード例 #1
0
        public static void Prefix(MessageReader FMNNFELNLID)
        {
            var read = MOD.Read(FMNNFELNLID);

            if (read.Length != 14 || read[0] != 11)
            {
                //MOD.log.LogMessage("RPC InnerNetClient: " + string.Join(",", read));
            }
        }
コード例 #2
0
        public static void Prefix(byte ONIABIILFGF, MessageReader JIGFBHFFNFI)
        {
            var rpc = (RPC)ONIABIILFGF;

            switch (rpc)
            {
            case RPC.SetInfected:
                new SetInfected(MOD.Read(JIGFBHFFNFI)).infecteds.ForEach(control =>
                                                                         MOD.log.LogMessage(control.nameText.text + " is Impostor"));
                break;

            default:
                //MOD.log.LogMessage(rpc.ToString());
                break;
            }
        }
コード例 #3
0
        public static void HandleRpc(byte ONIABIILFGF, MessageReader JIGFBHFFNFI)
        {
            var rpc = (RPC)ONIABIILFGF;

            MOD.log.LogMessage(rpc + ": " + string.Join(",", MOD.Read(JIGFBHFFNFI)));
        }
コード例 #4
0
 public static void HandleRpc(byte ONIABIILFGF, MessageReader JIGFBHFFNFI)
 {
     MOD.log.LogMessage("ShipStatus HandleRpc: " + string.Join(",", MOD.Read(JIGFBHFFNFI)));
 }