Method | Description | |
---|---|---|
AcceptChallenge ( System.Guid challengeId ) : void | ||
ActiveMatches ( ) : int | ||
AddNotification ( |
||
ChallengePlayer ( System.Guid fromId, System.Guid toId ) : System.Guid | ||
CreateMatch ( System.Guid player1, System.Guid player2 ) : System.Guid |
Instantiate a match in the DB
|
|
DeleteMatch ( System.Guid matchId ) : void | ||
GetChallenge ( System.Guid challengeId ) : |
||
GetClientId ( System.Guid playerId ) : string | ||
GetMatch ( System.Guid matchId ) : |
||
GetMatches ( ) : IEnumerable |
||
GetOnlinePlayers ( ) : IEnumerable |
||
GetOnlinePlayers ( string liveId ) : IEnumerable |
||
GetOnlinePlayersNearBy ( string liveId ) : IEnumerable |
||
GetPlayer ( System.Guid playerId ) : |
||
GetPlayerId ( string clientId ) : System.Guid | ||
GetPlayerName ( string clientId ) : string | ||
GetPlayers ( ) : IEnumerable |
||
GetTop10Players ( ) : IEnumerable |
||
GetUnits ( System.Guid matchId ) : IEnumerable |
||
IsPlayingMatch ( System.Guid playerId ) : Guid? | ||
OnlinePlayers ( ) : int | ||
PlayerIsOnline ( string liveId, string clientId, double latitude, double longitude ) : void | ||
PlayerLose ( System.Guid playerId ) : void | ||
PlayerWin ( System.Guid playerId ) : void | ||
RejectChallenge ( System.Guid challengeId ) : void | ||
UpdateMatch ( object values, object where ) : void | ||
UpdateMatchUnit ( object values, object where ) : void | ||
UpdatePlayer ( |
||
UpdatePlayer ( object values, object where ) : void |
Method | Description | |
---|---|---|
DeleteChallenge ( System.Guid challengeId ) : void |
public static AcceptChallenge ( System.Guid challengeId ) : void | ||
challengeId | System.Guid | |
return | void |
public static AddNotification ( |
||
notification | ||
return | void |
public static ChallengePlayer ( System.Guid fromId, System.Guid toId ) : System.Guid | ||
fromId | System.Guid | |
toId | System.Guid | |
return | System.Guid |
public static CreateMatch ( System.Guid player1, System.Guid player2 ) : System.Guid | ||
player1 | System.Guid | Player1 is rebels |
player2 | System.Guid | Player2 is empire |
return | System.Guid |
public static DeleteMatch ( System.Guid matchId ) : void | ||
matchId | System.Guid | |
return | void |
public static GetChallenge ( System.Guid challengeId ) : |
||
challengeId | System.Guid | |
return |
public static GetClientId ( System.Guid playerId ) : string | ||
playerId | System.Guid | |
return | string |
public static GetMatch ( System.Guid matchId ) : |
||
matchId | System.Guid | |
return |
public static GetOnlinePlayers ( ) : IEnumerable |
||
return | IEnumerable |
public static GetOnlinePlayers ( string liveId ) : IEnumerable |
||
liveId | string | |
return | IEnumerable |
public static GetOnlinePlayersNearBy ( string liveId ) : IEnumerable |
||
liveId | string | |
return | IEnumerable |
public static GetPlayer ( System.Guid playerId ) : |
||
playerId | System.Guid | |
return |
public static GetPlayerId ( string clientId ) : System.Guid | ||
clientId | string | |
return | System.Guid |
public static GetPlayerName ( string clientId ) : string | ||
clientId | string | |
return | string |
public static GetTop10Players ( ) : IEnumerable |
||
return | IEnumerable |
public static GetUnits ( System.Guid matchId ) : IEnumerable |
||
matchId | System.Guid | |
return | IEnumerable |
public static IsPlayingMatch ( System.Guid playerId ) : Guid? | ||
playerId | System.Guid | |
return | Guid? |
public static PlayerIsOnline ( string liveId, string clientId, double latitude, double longitude ) : void | ||
liveId | string | |
clientId | string | |
latitude | double | |
longitude | double | |
return | void |
public static PlayerLose ( System.Guid playerId ) : void | ||
playerId | System.Guid | |
return | void |
public static PlayerWin ( System.Guid playerId ) : void | ||
playerId | System.Guid | |
return | void |
public static RejectChallenge ( System.Guid challengeId ) : void | ||
challengeId | System.Guid | |
return | void |
public static UpdateMatch ( object values, object where ) : void | ||
values | object | |
where | object | |
return | void |
public static UpdateMatchUnit ( object values, object where ) : void | ||
values | object | |
where | object | |
return | void |
public static UpdatePlayer ( |
||
player | ||
return | void |
public static UpdatePlayer ( object values, object where ) : void | ||
values | object | |
where | object | |
return | void |