SynchronizableInvokeRemoteMethod(Int32, Object) Method
Commits method with the SynchronizableMethod attribute on evey client excluding sender with given parameters.
Namespace: Alteruna.MultiplayerAssembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
public void InvokeRemoteMethod(
int id = 0,
params Object[] parameters
)
Parameters
- id Int32 (Optional)
- Id of method. Get the id by calling GetMethodAttributeId(string).
- parameters Object
- Argument(s) of a target method
| IndexOutOfRangeException | Thrown when id is grater or equal to the amount of registered methods |
| ArgumentException | Thrown when parameters count of target method does not match count of given parameters |