示例#1
0
            /// <summary>
            /// Add a new statistics group. Access the created group using the StatGroups["groupName"] property.
            /// </summary>
            /// <param name="groupName"></param>
            void AddStat(string statName, int index)
            {
                GenericStatisticsClass grp = new GenericStatisticsClass(this, statName);

                StatsHashTableGetGroupByName.Add(statName, grp);
                StatsHashTableGetIndexByName.Add(statName, index);
            }
示例#2
0
 /// <summary>
 /// Add a new statistics group. Access the created group using the StatGroups["groupName"] property.
 /// </summary>
 /// <param name="groupName"></param>
 void AddStat(string statName, int index)
 {
     GenericStatisticsClass grp = new GenericStatisticsClass(this,statName);
     StatsHashTableGetGroupByName.Add(statName, grp);
     StatsHashTableGetIndexByName.Add(statName, index);
 }