IScoreObject Interface
Defines the interface for a score object, providing methods for managing and serializing score data.
Namespace: Alteruna.ScoreboardAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
public interface IScoreObject
Key |
Gets the key associated with the score object.
|
OnChanged |
Action invoked when a value in the score object is changed.
|
Size |
Get or set the size of the value array.
Size need to be as large as the highest index user in room.
|
AddUser |
Adds a new user with the specified userID to the score object.
|
AppendScoreT |
Appends a score value for a specified user.
|
DeserializeValue |
Deserializes a single value identified by the userID.
|
DeserializeValues |
Deserializes all values using the provided reader.
|
Get |
Retrieves an object corresponding to the given ID.
|
Serialize |
Serializes the score object using the provided writer.
|
SerializeValue |
Serializes a single value identified by the userID.
|
SerializeValues |
Serializes all values using the provided writer.
|
Set |
Sets the value for the given ID.
|
ToString |
Returns a string representation of the score object for the specified userID.
|