ScoreObjectMethods Class

Provides static extension methods for managing and manipulating score objects within a array of IScoreObjects.

Definition

Namespace: Alteruna.Scoreboard
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public static class ScoreObjectMethods
Inheritance
Object    ScoreObjectMethods

Methods

AddUser Adds a user with the specified userID to all IScoreObjects in the array.
AppendScoreT(ListIScoreObject, Int32, UInt16, T) Appends a score value for a specified user, identified by an ID, in a ScoreObject from an array of IScoreObjects.
AppendScoreT(ListIScoreObject, String, UInt16, T) 
Deserialize Deserializes and returns an IScoreObject from the reader.
DeserializeList Deserializes and returns a array of IScoreObjects from the reader.
DeserializeValue(ListIScoreObject, Reader, Int32, UInt16) Deserializes the value of a specific IScoreObject identified by scoreID and userID from the reader.
DeserializeValue(ListIScoreObject, Reader, String, UInt16) Deserializes the value of a specific IScoreObject identified by name and userID from the reader.
DeserializeValues(ListIScoreObject, Reader) Deserializes the values of IScoreObjects in the array from the reader.
DeserializeValues(ListIScoreObject, Reader, String) Deserializes the values of a specific IScoreObject identified by name from the reader.
DeserializeValues(ListIScoreObject, Reader, UInt16) Deserializes the values of IScoreObjects in the array for a specific userID from the reader.
GetScore(ListIScoreObject, String) 
GetScoreT(ListIScoreObject, Int32) Retrieves a ScoreObject by its ID from a array of IScoreObjects.
GetScoreT(ListIScoreObject, String) Retrieves a ScoreObject of a specific type from a array of IScoreObjects.
GetScoreT(ListIScoreObject, Int32, UInt16) Retrieves the score of type T for the given score ID and userID.
GetScoreT(ListIScoreObject, String, UInt16) Retrieves the score of type T for the given key and userID.
GetScoreID(ListIScoreObject, IScoreObject) Retrieves the ID of a given IScoreObject from an array of IScoreObjects.
GetScoreID(ListIScoreObject, String) Retrieves the ID of a ScoreObject identified by a key from an array of IScoreObjects.
GetScoreIDT(ListIScoreObject, String) Retrieves the ID of a ScoreObject of a specific type, identified by a key, from an array of IScoreObjects.
SerializeList Serializes the array of IScoreObjects.
SerializeValue(ListIScoreObject, Writer, Int32, UInt16) Serializes the value of a specific IScoreObject identified by scoreID and userID.
SerializeValue(ListIScoreObject, Writer, String, UInt16) Serializes the value of a specific IScoreObject identified by name and userID.
SerializeValues(ListIScoreObject, Writer) Serializes the values of the IScoreObjects in the array.
SerializeValues(ListIScoreObject, Writer, String) Serializes the values of a specific IScoreObject identified by name.
SerializeValues(ListIScoreObject, Writer, UInt16) Serializes the values of IScoreObjects in the array for a specific userID.
SetScoreT(ListIScoreObject, Int32, T) Sets the score for the specified score ID with the given array of values.
SetScoreT(ListIScoreObject, String, T) Sets the score for the specified key with the given array of values.
SetScoreT(ListIScoreObject, Int32, T, UInt16) Sets the individual score for the specified score ID and userID.
SetScoreT(ListIScoreObject, String, T, UInt16) Sets the individual score for the specified key and userID.

See Also