예제 #1
0
        public void OnServerPerformanceDataMessageReceived(ServerPerformanceDataMessage message)
        {
            this.SessionCount = message.SessionCount;

            if (this.ClusterPerformances == null ? message.ClusterCount != 0 : this.ClusterPerformances.Length != message.ClusterCount)
            {
                this.ClusterPerformances = new ClusterPerformance[message.ClusterCount];

                for (int i = 0; i < this.ClusterPerformances.Length; i++)
                {
                    this.ClusterPerformances[i] = new ClusterPerformance();
                }
            }
        }
예제 #2
0
 public static void OnServerPerformanceDataMessageReceived(ServerPerformanceDataMessage message)
 {
     ServerManager.m_entry[message.SenderType][message.SenderId].OnServerPerformanceDataMessageReceived(message);
 }