/// <summary> /// Записывает измерение игрока /// </summary> public void SetDimension(Client player, int dimension) { var playerInfo = GetInfo(player); playerInfo.Dimension = dimension; RefreshUI(player, playerInfo); API.setEntityDimension(player, dimension); _playersProvider.SetDimension(playerInfo.AccountId, dimension); }