Esempio n. 1
0
        public void FinalizeDataHolder()
        {
            var worldEvent = WorldEventMgr.GetEvent(EventId);

            if (worldEvent != null)
            {
                worldEvent.ModelEquips.Add(this);
            }
        }
Esempio n. 2
0
        public void FinalizeDataHolder()
        {
            WorldEvent worldEvent = WorldEventMgr.GetEvent(EventId);

            if (worldEvent == null)
            {
                return;
            }
            worldEvent.ModelEquips.Add(this);
        }
Esempio n. 3
0
        public void FinalizeDataHolder()
        {
            WorldEventMgr.WorldEventQuests.Add(this);
            var worldEvent = WorldEventMgr.GetEvent(EventId);

            if (worldEvent != null)
            {
                worldEvent.QuestIds.Add(QuestId);
            }
        }
Esempio n. 4
0
        public static bool StopEvent(uint id)
        {
            WorldEvent worldEvent = WorldEventMgr.GetEvent(id);

            if (worldEvent == null)
            {
                return(false);
            }
            WorldEventMgr.StopEvent(worldEvent);
            return(true);
        }
Esempio n. 5
0
        public void FinalizeDataHolder()
        {
            WorldEventMgr.WorldEventQuests.Add(this);
            WorldEvent worldEvent = WorldEventMgr.GetEvent(EventId);

            if (worldEvent == null)
            {
                return;
            }
            worldEvent.QuestIds.Add(QuestId);
        }
Esempio n. 6
0
        public void FinalizeDataHolder()
        {
            Spawn   = _eventId > 0;
            EventId = (uint)_eventId;
            var worldEvent = WorldEventMgr.GetEvent(EventId);

            if (worldEvent != null)
            {
                worldEvent.GOSpawns.Add(this);
            }
        }
Esempio n. 7
0
        public void FinalizeDataHolder()
        {
            Spawn   = _eventId > 0;
            EventId = (uint)_eventId;
            WorldEvent worldEvent = WorldEventMgr.GetEvent(EventId);

            if (worldEvent == null)
            {
                return;
            }
            worldEvent.NPCSpawns.Add(this);
        }
Esempio n. 8
0
        public void FinalizeDataHolder()
        {
            this.Spawn   = this._eventId > 0;
            this.EventId = (uint)this._eventId;
            WorldEvent worldEvent = WorldEventMgr.GetEvent(this.EventId);

            if (worldEvent == null)
            {
                return;
            }
            worldEvent.GOSpawns.Add(this);
        }
Esempio n. 9
0
 public static void DeSpawnEvent(uint eventId)
 {
     WorldEventMgr.DeSpawnEvent(WorldEventMgr.GetEvent(eventId));
 }