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)); } }
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; } }
public static void HandleRpc(byte ONIABIILFGF, MessageReader JIGFBHFFNFI) { var rpc = (RPC)ONIABIILFGF; MOD.log.LogMessage(rpc + ": " + string.Join(",", MOD.Read(JIGFBHFFNFI))); }
public static void HandleRpc(byte ONIABIILFGF, MessageReader JIGFBHFFNFI) { MOD.log.LogMessage("ShipStatus HandleRpc: " + string.Join(",", MOD.Read(JIGFBHFFNFI))); }