private byte[] HandlePacket_GetRankingInfo(byte[] RequestContent)
        {
            var Request = StructUtils.BytesToStruct <GetRankingInfo_RequestStruct>(RequestContent);

            var Index    = ServerManager.ServerIndices[Request.RankingIndex];
            var Response = default(GetRankingInfo_ResponseStruct);

            Response = new GetRankingInfo_ResponseStruct()
            {
                Result      = 0,
                Length      = Index.Tree.Count,
                Direction   = Index.SortingDirection,
                TopScore    = 0,
                BottomScore = 0,
                MaxElements = -1,
                TreeHeight  = -1
                              //TreeHeight = Index.Tree.height
            };

            if (Index.Tree.Count > 0)
            {
                Response.TopScore    = Index.Tree.FrontElement.ScoreValue;
                Response.BottomScore = Index.Tree.BackElement.ScoreValue;
            }

            return(StructUtils.StructToBytes(Response));
        }
		private byte[] HandlePacket_GetRankingInfo(byte[] RequestContent)
		{
			var Request = StructUtils.BytesToStruct<GetRankingInfo_RequestStruct>(RequestContent);

			var Index = ServerManager.ServerIndices[Request.RankingIndex];
			var Response = default(GetRankingInfo_ResponseStruct);

			Response = new GetRankingInfo_ResponseStruct()
			{
				Result = 0,
				Length = Index.Tree.Count,
				Direction = Index.SortingDirection,
				TopScore = 0,
				BottomScore = 0,
				MaxElements = -1,
				TreeHeight = -1
				//TreeHeight = Index.Tree.height
			};

			if (Index.Tree.Count > 0)
			{
				Response.TopScore = Index.Tree.FrontElement.ScoreValue;
				Response.BottomScore = Index.Tree.BackElement.ScoreValue;
			}

			return StructUtils.StructToBytes(Response);
		}