Esempio n. 1
0
        public MiniChampSpawnInfo(MiniChampController controller, MiniChampTypeInfo typeInfo)
        {
            m_Owner = controller;

            m_Required    = typeInfo.Required;
            m_MonsterType = typeInfo.SpawnType;

            m_Creatures = new List <BaseCreature>();
            m_Killed    = 0;
            m_Spawned   = 0;
        }
Esempio n. 2
0
        public MiniChampSpawnInfo(GenericReader reader)
        {
            m_Creatures = new List <BaseCreature>();

            m_Owner       = reader.ReadItem <MiniChampController>();
            m_Killed      = reader.ReadInt();
            m_Spawned     = reader.ReadInt();
            m_Required    = reader.ReadInt();
            m_MonsterType = ScriptCompiler.FindTypeByFullName(reader.ReadString());

            int count = reader.ReadInt();

            for (int i = 0; i < count; i++)
            {
                m_Creatures.Add(reader.ReadMobile() as BaseCreature);
            }
        }
Esempio n. 3
0
 public SliceTimer( MiniChampController controller )
     : base(TimeSpan.FromSeconds( 1.0 ), TimeSpan.FromSeconds( 10.0 ))
 {
     m_Controller = controller;
 }
Esempio n. 4
0
        public MiniChampSpawnInfo( GenericReader reader )
        {
            m_Creatures = new List<BaseCreature>();

            m_Owner = reader.ReadItem<MiniChampController>();
            m_Killed = reader.ReadInt();
            m_Spawned = reader.ReadInt();
            m_Required = reader.ReadInt();
            m_MonsterType = ScriptCompiler.FindTypeByFullName( reader.ReadString() );

            int count = reader.ReadInt();

            for ( int i = 0; i < count; i++ )
                m_Creatures.Add( reader.ReadMobile() as BaseCreature );
        }
Esempio n. 5
0
        public MiniChampSpawnInfo( MiniChampController controller, MiniChampTypeInfo typeInfo )
        {
            m_Owner = controller;

            m_Required = typeInfo.Required;
            m_MonsterType = typeInfo.SpawnType;

            m_Creatures = new List<BaseCreature>();
            m_Killed = 0;
            m_Spawned = 0;
        }
Esempio n. 6
0
 public SliceTimer(MiniChampController controller)
     : base(TimeSpan.FromSeconds(1.0), TimeSpan.FromSeconds(10.0))
 {
     m_Controller = controller;
 }