|
static void | Delete (long idMatch, Action< bool, string > callback) |
| Delete the specified Match. More...
|
|
static void | QuickMatch (bool friendsOnly, SearchCustomData[] customData, int rounds, Action< Match > callback) |
| Creates a quick match. More...
|
|
static void | Load (long idTournament, bool activeOnly, string title, Action< Match[]> callback) |
| Load the list of Matchs by specified filters. More...
|
|
static void | Load (long idMatch, Action< Match > callback) |
| Load the specified Match. More...
|
|
|
long | id = 0 |
|
long | idTournament = 0 |
|
string | title = "" |
|
int | roundsCount = 1 |
|
DateTime | dateCreation = DateTime.Now |
|
DateTime | dateExpire = null |
|
Hashtable | customData = new Hashtable() |
|
Combu.Match.Match |
( |
string |
jsonString | ) |
|
Initializes a new instance of the Combu.Match class.
- Parameters
-
jsonString | JSON string to initialize the instance. |
Combu.Match.Match |
( |
Hashtable |
data | ) |
|
Initializes a new instance of the Combu.Match class.
- Parameters
-
data | Data to initialize the instance. |
virtual void Combu.Match.AddUser |
( |
Profile |
user | ) |
|
|
virtual |
Adds the user to this match.
- Parameters
-
virtual void Combu.Match.Delete |
( |
Action< bool, string > |
callback | ) |
|
|
virtual |
Delete this instance from the database.
static void Combu.Match.Delete |
( |
long |
idMatch, |
|
|
Action< bool, string > |
callback |
|
) |
| |
|
static |
Delete the specified Match.
- Parameters
-
idMatch | Identifier match. |
callback | Callback. |
virtual void Combu.Match.FromHashtable |
( |
Hashtable |
hash | ) |
|
|
virtual |
Initialize the object from a hashtable.
- Parameters
-
virtual void Combu.Match.FromJson |
( |
string |
jsonString | ) |
|
|
virtual |
Initialize the object from a JSON formatted string.
- Parameters
-
static void Combu.Match.Load |
( |
long |
idTournament, |
|
|
bool |
activeOnly, |
|
|
string |
title, |
|
|
Action< Match[]> |
callback |
|
) |
| |
|
static |
Load the list of Matchs by specified filters.
- Parameters
-
idTournament | Identifier tournament. |
activeOnly | If set to true then displays active matches only, else archived matches. |
title | Title. |
callback | Callback. |
static void Combu.Match.Load |
( |
long |
idMatch, |
|
|
Action< Match > |
callback |
|
) |
| |
|
static |
Load the specified Match.
- Parameters
-
idMatch | Identifier match. |
callback | Callback. |
static void Combu.Match.QuickMatch |
( |
bool |
friendsOnly, |
|
|
SearchCustomData[] |
customData, |
|
|
int |
rounds, |
|
|
Action< Match > |
callback |
|
) |
| |
|
static |
Creates a quick match.
- Parameters
-
virtual void Combu.Match.RemoveUser |
( |
Profile |
user | ) |
|
|
virtual |
Removes the user.
- Parameters
-
virtual void Combu.Match.RemoveUser |
( |
long |
idUser | ) |
|
|
virtual |
Removes the user.
- Parameters
-
virtual void Combu.Match.RemoveUser |
( |
string |
username | ) |
|
|
virtual |
Removes the user.
- Parameters
-
virtual void Combu.Match.RemoveUser |
( |
long |
idUser, |
|
|
string |
username |
|
) |
| |
|
protectedvirtual |
Removes the user.
- Parameters
-
idUser | Identifier user. |
username | Username. |
void Combu.Match.Save |
( |
Action< bool, string > |
callback | ) |
|
Save the this instance in the server.
- Parameters
-
void Combu.Match.Score |
( |
float |
score, |
|
|
Action< bool, string > |
callback |
|
) |
| |
Send the specified score.
- Parameters
-
score | Score. |
callback | Callback. |
The documentation for this class was generated from the following file:
- /Users/ziored/Documents/Projects/Unity/Empty Test/Assets/Combu/Scripts/Match.cs