Пример #1
0
 public ChatController()
 {
     _GameMan = new GameplayManager();
     _UserGameStoreManager = new UserGameStorageManager();
     _GameSessionManager   = new GameSessionManager();
     _ChatHub        = new HubService();
     _SessionManager = new SessionManager();
 }
Пример #2
0
        public IHttpActionResult GetOrder([FromBody] GameRoleDTO grDto)
        {
            var userManager = new UserManager();
            var ugsManager  = new UserGameStorageManager();
            var user        = userManager.GetUser(grDto.SsoId);
            var order       = ugsManager.GetUserGameStorage(user.ID).Order;

            return(Ok(order));
        }