示例#1
0
        private void OnDeveloperCreateGame(UserLogicModel user, DeveloperCreateGameRequest data)
        {
            myDataManager.SiteData.Game_CreateGame(user.Hash,data.GameName,
                             (game) =>
                             {
                                 mySiteClientManager.SendCreateGameResponse(user, new DeveloperCreateGameResponse(game.ToModel()));
                             });

        }
 public void DeveloperCreateGame(DeveloperCreateGameRequest getGamesByUser)
 {
     myGateway.Emit("Area.Site.DeveloperCreateGame", getGamesByUser);
 }