상속: Codebreak.Service.World.Network.MessageDispatcher
        /// <summary>
        /// 
        /// </summary>
        public TaxCollectorEntity(GuildInstance guild, TaxCollectorDAO record)
            : base(EntityTypeEnum.TYPE_TAX_COLLECTOR, record.Id)
        {
            DatabaseRecord = record;
            Guild = guild;

            MapId = DatabaseRecord.MapId;
            CellId = DatabaseRecord.CellId;

            Defenders = new List<GuildMember>();
            FarmedItems = new Dictionary<int, int>();

            Statistics = new GenericStats();
            Statistics.Merge(guild.Statistics.BaseStatistics);
            SpellBook = SpellBookFactory.Instance.Create(this);
            Storage = new TaxCollectorInventory(this);
        }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="guild"></param>
 /// <param name="character"></param>
 public GuildMember(GuildInstance guild, CharacterDAO character)
 {
     m_character          = character;
     TaxCollectorJoinedId = -1;
     Guild = guild;
 }
예제 #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="guild"></param>
 /// <param name="character"></param>
 public GuildMember(GuildInstance guild, CharacterDAO character)
 {
     m_character = character;
     TaxCollectorJoinedId = -1;
     Guild = guild;
 }