ScoreObjectMethodsAddUser Method

Adds a user with the specified userID to all IScoreObjects in the array.

Definition

Namespace: Alteruna.Scoreboard
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public static void AddUser(
	this List<IScoreObject> scoreList,
	ushort userID
)

Parameters

scoreList  ListIScoreObject
The array of IScoreObjects to add the user to.
userID  UInt16
The userID of the user to add.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListIScoreObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also