Пример #1
0
 public static void SendRPCToPlayersInGame(string rpcName, params object[] args)
 {
     SendPacketToPlayersInGame(rpcName, RPCSerializer.GetCompleteSerializedData(args));
 }
Пример #2
0
 /// <summary>
 /// ONLY FOR DEBUG USE, DO NOT, I REPEAT, DO NOT USE THIS FOR ANYTHING OTHER THAN TESTING PACKET SENDING LOCALLY!!!!!
 /// </summary>
 /// <param name="rpcName"></param>
 /// <param name="args"></param>
 public static void SendRPCToSelf(string rpcName, params object[] args)
 {
     SendPacketToPlayer(SteamUser.GetSteamID(), rpcName, RPCSerializer.GetCompleteSerializedData(args));
 }
Пример #3
0
 public static void SendRPCToPlayersInGame(string rpcName, bool isTCP = false, bool ignoreID = false, params object[] args)
 {
     SendPacketToPlayersInGame(rpcName, RPCSerializer.GetCompleteSerializedData(args), isTCP, ignoreID);
 }