IScoreObject Interface
Defines the interface for a score object, providing methods for managing and serializing score data.
Namespace: Alteruna.MultiplayerAssembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
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. |