MultiplayerManagerInvokeRemoteProcedure(String, UInt16, ProcedureParameters, ISerializable, Reliability, RemoteProcedureReply, RemoteProcedureAck) Method
Invoke a Remote Procedure Call (RPC).
Namespace: Alteruna.MultiplayerAssembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
public uint InvokeRemoteProcedure(
string name,
ushort toUserID,
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.
- toUserID UInt16
- The UserID of the User 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)
- The callback gotten from the RPC.
- ackCallback RemoteProcedureAck (Optional)
-
UInt32