|
delegate void | OnDataUpdateEvent (string key, object newData, object oldData) |
|
T | FetchCustomData< T > (string key, Func< object, T > converter=null) |
|
bool | TryFetchCustomData< T > (string key, out T data, Func< object, T > converter=null) |
|
void | AddOrUpdate< T > (string key, T data) |
|
void | OnUpdate< T > (string key, Action< T, T > onEvent) |
|
bool | TryRemoveCustomData (string key) |
|
◆ AddOrUpdate< T >()
void BrokeProtocol.API.CustomData.AddOrUpdate< T > |
( |
string | key, |
|
|
T | data ) |
|
inline |
◆ ConvertData< T >()
static T BrokeProtocol.API.CustomData.ConvertData< T > |
( |
object | value | ) |
|
|
static |
◆ FetchCustomData< T >()
T BrokeProtocol.API.CustomData.FetchCustomData< T > |
( |
string | key, |
|
|
Func< object, T > | converter = null ) |
|
inline |
◆ OnDataUpdateEvent()
delegate void BrokeProtocol.API.CustomData.OnDataUpdateEvent |
( |
string | key, |
|
|
object | newData, |
|
|
object | oldData ) |
◆ OnUpdate< T >()
void BrokeProtocol.API.CustomData.OnUpdate< T > |
( |
string | key, |
|
|
Action< T, T > | onEvent ) |
|
inline |
◆ TryFetchCustomData< T >()
bool BrokeProtocol.API.CustomData.TryFetchCustomData< T > |
( |
string | key, |
|
|
out T | data, |
|
|
Func< object, T > | converter = null ) |
|
inline |
◆ TryRemoveCustomData()
bool BrokeProtocol.API.CustomData.TryRemoveCustomData |
( |
string | key | ) |
|
◆ Data
Dictionary<string, object> BrokeProtocol.API.CustomData.Data = new () |
|
getset |
◆ this[string key]
object BrokeProtocol.API.CustomData.this[string key] |
|
getset |
◆ OnDataUpdate
The documentation for this class was generated from the following file: