AttributesSyncGetMethodAttributeId Method

Get index of method with the SynchronizableMethod attribute by name.

Definition

Namespace: Alteruna.Multiplayer
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
C#
public int GetMethodAttributeId(
	string methodName
)

Parameters

methodName  String
Name of a method with the SynchronizableMethod attribute.

Return Value

Int32
Index of method with the SynchronizableMethod attribute with target name.

Exceptions

ArgumentExceptionThrown when methodName does not mach a name of a registered method.

See Also