ScoreObjectMethodsSerializeValue(ListIScoreObject, Writer, Int32, UInt16) Method

Serializes the value of a specific IScoreObject identified by scoreID and userID.

Definition

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

Parameters

scoreList  ListIScoreObject
The array of IScoreObjects.
writer  Writer
The writer to use for serialization.
scoreId  Int32
The ID of the IScoreObject to serialize.
userID  UInt16
The userID associated with the value to serialize.

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).

Exceptions

IndexOutOfRangeExceptionThrown if the scoreID is out of range of the scoreList.

See Also