|
TNet 3
3.0.8
|
Simple container class holding a dataNode with convenient Get and Set functions. More...
Public Member Functions | |
| DataNode | Set (string path, object val) |
| Set the specified value. Note that on the client side only the player's owner should be setting the values. More... | |
| DataNode | Get (string path) |
| Get the specified child within the DataNode. More... | |
| T | Get< T > (string path) |
| Get the specified value from the DataNode. More... | |
| T | Get< T > (string path, T defaultVal) |
| Get the specified value from the DataNode. More... | |
Public Attributes | |
| DataNode | dataNode |
| Custom data easily accessible via Get and Set functions. More... | |
Simple container class holding a dataNode with convenient Get and Set functions.
| T TNet.DataNodeContainer.Get< T > | ( | string | path | ) |
Get the specified value from the DataNode.
| T TNet.DataNodeContainer.Get< T > | ( | string | path, |
| T | defaultVal | ||
| ) |
Get the specified value from the DataNode.
| DataNode TNet.DataNodeContainer.Set | ( | string | path, |
| object | val | ||
| ) |
Set the specified value. Note that on the client side only the player's owner should be setting the values.
| DataNode TNet.DataNodeContainer.dataNode |
Custom data easily accessible via Get and Set functions.