コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public static GuildStatistics Create(GuildDAO guild)
 {
     return(new GuildStatistics
     {
         Spells = GuildSpellBook.Create(),
         BaseStatistics = new GenericStats(guild),
         MaxTaxcollector = 1
     });
 }
コード例 #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <returns></returns>
 public static GuildSpellBook Create()
 {
     var instance = new GuildSpellBook();
     instance.m_spells.Add(462, new Entry(462, 0));
     instance.m_spells.Add(461, new Entry(461, 0));
     instance.m_spells.Add(460, new Entry(460, 0));
     instance.m_spells.Add(459, new Entry(459, 0));
     instance.m_spells.Add(458, new Entry(458, 0));
     instance.m_spells.Add(457, new Entry(457, 0));
     instance.m_spells.Add(456, new Entry(456, 0));
     instance.m_spells.Add(455, new Entry(455, 0));
     instance.m_spells.Add(454, new Entry(454, 0));
     instance.m_spells.Add(453, new Entry(453, 0));
     instance.m_spells.Add(452, new Entry(452, 0));
     instance.m_spells.Add(451, new Entry(451, 0));
     return instance;
 }
コード例 #3
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public static GuildSpellBook Create()
        {
            var instance = new GuildSpellBook();

            instance.m_spells.Add(462, new Entry(462, 0));
            instance.m_spells.Add(461, new Entry(461, 0));
            instance.m_spells.Add(460, new Entry(460, 0));
            instance.m_spells.Add(459, new Entry(459, 0));
            instance.m_spells.Add(458, new Entry(458, 0));
            instance.m_spells.Add(457, new Entry(457, 0));
            instance.m_spells.Add(456, new Entry(456, 0));
            instance.m_spells.Add(455, new Entry(455, 0));
            instance.m_spells.Add(454, new Entry(454, 0));
            instance.m_spells.Add(453, new Entry(453, 0));
            instance.m_spells.Add(452, new Entry(452, 0));
            instance.m_spells.Add(451, new Entry(451, 0));
            return(instance);
        }