ScoreObjectMethodsSerializeValue(ListIScoreObject, Writer, Int32, UInt16) Method
Serializes the value of a specific IScoreObject identified by scoreID and userID.
Namespace: Alteruna.ScoreboardAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
public static void SerializeValue(
this List<IScoreObject> scoreList,
Writer writer,
int scoreId,
ushort userID
)
- 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.
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).
IndexOutOfRangeException | Thrown if the scoreID is out of range of the scoreList. |