AttributesSyncInvokeRemoteMethod(String, ListUInt16, Object) Method

Invoke a method with the SynchronizableMethod attribute on target users with given parameters.

Definition

Namespace: Alteruna.Multiplayer.Unity
Assembly: Alteruna.Multiplayer.Unity (in Alteruna.Multiplayer.Unity.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public void InvokeRemoteMethod(
	string methodName,
	List<ushort> users,
	params Object[] parameters
)

Parameters

methodName  String
Name of target method.
users  ListUInt16
target user
parameters  Object
Argument(s) of a target method

Remarks

For a more optimized call method use InvokeRemoteMethod(int, params ... )

Exceptions

ArgumentExceptionThrown when methodName does not mach a name of a registered method.
ArgumentExceptionThrown when parameters count of target method does not match count of given parameters

See Also