ScoreObjectMethodsDeserializeValue(ListIScoreObject, Reader, Int32, UInt16) Method

Deserializes the value of a specific IScoreObject identified by scoreID and userID from the reader.

Definition

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

Parameters

scoreList  ListIScoreObject
The array of IScoreObjects.
reader  Reader
The reader to use for deserialization.
scoreID  Int32
 
userID  UInt16
The userID associated with the value to deserialize.

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