UserWise Unity SDK
3.0.0
|
Public Member Functions | |
string | GetModuleName () |
Returns the module name. More... | |
T | Get (string id) |
T | FindInActiveOrUpcoming (Predicate< T > predicate) |
Protected Member Functions | |
void | EmitOnLoadFailed (object sender) |
void | EmitOnLoaded (object sender, OnLoadedEventArgs e) |
void | ResetModuleData () |
void | LoadFromCache (ModuleCacheFile moduleCacheFile) |
void | WriteToCache (ModuleCacheFile moduleCacheFile) |
Protected Attributes | |
UserWise | userWise |
Properties | |
List< T > | Active = new List<T>() [get, protected set] |
A List of active (available) module stored items. More... | |
List< T > | Upcoming = new List<T>() [get, protected set] |
A List of upcoming (soon to be available) module stored items. More... | |
Events | |
EventHandler< EventArgs > | OnLoadFailed |
Emitted when the data for this module could not be loaded from the API and/or cache. More... | |
EventHandler< OnLoadedEventArgs > | OnLoaded |
Emitted when the data for this module has been reloaded. Currently, either from the API, or through the cached data. More... | |
EventHandler< OnActiveEventArgs< T > > | OnActive |
Emitted when a type of T has been marked as active. More... | |
EventHandler< OnInactiveEventArgs< T > > | OnInactive |
Emitted when a type of T has been marked as inactive. More... | |
Events inherited from UserWiseSDK.Common.Modules.IModule | |
EventHandler< OnLoadedEventArgs > | OnLoaded |
string UserWiseSDK.Common.Modules.BaseModule< T >.GetModuleName | ( | ) |
Returns the module name.
Implements UserWiseSDK.Common.Modules.IModule.
|
getprotected set |
A List of active (available) module stored items.
|
getprotected set |
A List of upcoming (soon to be available) module stored items.
Upcoming are not guaranteed to become available during a given play session.
EventHandler<OnActiveEventArgs<T> > UserWiseSDK.Common.Modules.BaseModule< T >.OnActive |
Emitted when a type of T has been marked as active.
EventHandler<OnInactiveEventArgs<T> > UserWiseSDK.Common.Modules.BaseModule< T >.OnInactive |
Emitted when a type of T has been marked as inactive.
EventHandler<OnLoadedEventArgs> UserWiseSDK.Common.Modules.BaseModule< T >.OnLoaded |
Emitted when the data for this module has been reloaded. Currently, either from the API, or through the cached data.
EventHandler<EventArgs> UserWiseSDK.Common.Modules.BaseModule< T >.OnLoadFailed |
Emitted when the data for this module could not be loaded from the API and/or cache.