/// <summary> /// <para>Remove all RPC functions which belong to given group number.</para> /// </summary> /// <param name="group"></param> public static void RemoveRPCsInGroup(int group) { Network.Internal_RemoveRPCs(NetworkPlayer.unassigned, NetworkViewID.unassigned, 1u << group); }
/// <summary> /// <para>Remove all RPC functions which belong to this player ID and were sent based on the given group.</para> /// </summary> /// <param name="playerID"></param> /// <param name="group"></param> public static void RemoveRPCs(NetworkPlayer playerID, int group) { Network.Internal_RemoveRPCs(playerID, NetworkViewID.unassigned, 1u << group); }
/// <summary> /// <para>Remove the RPC function calls accociated with this view ID number.</para> /// </summary> /// <param name="viewID"></param> public static void RemoveRPCs(NetworkViewID viewID) { Network.Internal_RemoveRPCs(NetworkPlayer.unassigned, viewID, 4294967295u); }
public static void RemoveRPCs(NetworkViewID viewID) { Network.Internal_RemoveRPCs(NetworkPlayer.unassigned, viewID, uint.MaxValue); }