Пример #1
0
 /**
  * Forwards denial to player who sent the request
  */
 public async Task DeclineRequestMatch(RequestMatchModel model)
 {
     await ForwardToPlayer(model.From.Id, model, Commands.DeclineRequestMatch);
 }
Пример #2
0
 /**
  * Forwards accept to player who sent the request
  */
 public async Task AcceptRequestMatch(RequestMatchModel model)
 {
     await ForwardToPlayer(model.From.Id, model, Commands.AcceptRequestMatch);
 }
Пример #3
0
 public async Task CancelRequestMatch(RequestMatchModel model)
 {
     await ForwardToPlayer(model.To.Id, model, Commands.CancelRequestMatch);
 }