Holds e.g. cookies and the index of cached files for a given domain name. Stored permanently when possible.
Public Member Functions | |
DomainData (string domain) | |
void | LoadFromJson (string data) |
Loads the domain data from the given JSON string. More... | |
void | Save () |
Writes out this domain data to player prefs. More... | |
string | ToJSONString () |
Gets this cache info as a JSON string. Returns null if it's empty. More... | |
JSObject | ToJson () |
Gets this cache info as a JSON object. Returns null if it's empty. More... | |
Public Attributes | |
string | Host |
The domain that this data is for. More... | |
CookieJar | Cookies |
Cookies for this domain. More... | |
CachedContentSet | Content |
The content of this domain. More... | |
Properties | |
bool | IsEmpty [get] |
True if this data is empty. More... | |
|
inline |
|
inline |
Loads the domain data from the given JSON string.
|
inline |
Writes out this domain data to player prefs.
|
inline |
Gets this cache info as a JSON object. Returns null if it's empty.
|
inline |
Gets this cache info as a JSON string. Returns null if it's empty.
CachedContentSet PowerUI.DomainData.Content |
The content of this domain.
CookieJar PowerUI.DomainData.Cookies |
Cookies for this domain.
string PowerUI.DomainData.Host |
The domain that this data is for.
|
get |
True if this data is empty.