ServiceMulticastRemoteProcedure Method
Invoke a Remote Procedure Call (RPC) for multiple Users.
Namespace: Alteruna.Multiplayer.CoreAssembly: Alteruna.Multiplayer (in Alteruna.Multiplayer.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
public uint MulticastRemoteProcedure(
string name,
List<ushort> toUsers,
ProcedureParameters parameters = null,
ISerializable userData = null,
Reliability reliability = Reliability.Reliable,
RemoteProcedureReply replyCallback = null,
RemoteProcedureAck ackCallback = null
)
- name String
- The name of the RPC to invoke.
- toUsers ListUInt16
- The UserIDs of the Users on which to call the procedure.
- parameters ProcedureParameters (Optional)
- The parameters to be sent to the RPC.
- userData ISerializable (Optional)
- The user data to be sent to the RPC.
- reliability Reliability (Optional)
- The reliability at which to invoke the RPC.
- replyCallback RemoteProcedureReply (Optional)
- RPC replay callback.
- ackCallback RemoteProcedureAck (Optional)
-
UInt32The callID of the RPC.