Combu
3.2.2
Unity API Documentation
|
Public Member Functions | |
Profile (string jsonString) | |
Initializes a new instance of the CBUser class from a JSON formatted string. More... | |
Profile (Hashtable hash) | |
Initializes a new instance of the CBUser class from a Hashtable. More... | |
virtual void | FromJson (string jsonString) |
Initialize the object from a JSON formatted string. More... | |
virtual void | FromHashtable (Hashtable hash) |
Initialize the object from a hashtable. More... | |
Public Attributes | |
string | |
The email address. More... | |
Hashtable | customData = new Hashtable() |
The global custom data shared between apps. More... | |
Hashtable | appCustomData = new Hashtable() |
The custom data for the current app scope. More... | |
Protected Attributes | |
long | _id = 0 |
string | _userName = "" |
Texture2D | _image |
string | _sessionToken = "" |
System.? DateTime | _lastSeen |
Properties | |
List< ProfilePlatform > | platforms [get] |
string | id [get] |
Gets the identifier value as string. More... | |
long | idLong [get] |
Gets the identifier value as long. id is just a ToString() of idLong, since Ids are stored as long in the database. More... | |
string | userName [get, set] |
Gets or sets the name of the user. More... | |
bool | isFriend [get] |
Gets a value indicating whether this Combu.Profile is a friend of the local user. More... | |
virtual UserState | state [get] |
Gets the online state. More... | |
Texture2D | image [get, set] |
Gets or sets the image. More... | |
string | sessionToken [get] |
Gets the session token. More... | |
System.? DateTime | lastSeen [get] |
Gets the last seen date/time. More... | |
Combu.Profile.Profile | ( | string | jsonString | ) |
Initializes a new instance of the CBUser class from a JSON formatted string.
jsonString | JSON formatted string. |
Combu.Profile.Profile | ( | Hashtable | hash | ) |
Initializes a new instance of the CBUser class from a Hashtable.
hash | Hash. |
|
virtual |
Initialize the object from a hashtable.
hash | Hash. |
|
virtual |
Initialize the object from a JSON formatted string.
jsonString | Json string. |
Hashtable Combu.Profile.appCustomData = new Hashtable() |
The custom data for the current app scope.
Hashtable Combu.Profile.customData = new Hashtable() |
The global custom data shared between apps.
string Combu.Profile.email |
The email address.
|
get |
Gets the identifier value as string.
The identifier.
|
get |
Gets the identifier value as long. id is just a ToString() of idLong, since Ids are stored as long in the database.
The identifier long.
|
getset |
Gets or sets the image.
The image.
|
get |
Gets a value indicating whether this Combu.Profile is a friend of the local user.
true
if is friend; otherwise, false
.
|
get |
Gets the last seen date/time.
The last seen.
|
get |
Gets the session token.
The session token.
|
get |
Gets the online state.
The state.
|
getset |
Gets or sets the name of the user.
The name of the user.