public void FinalizeDataHolder() { var worldEvent = WorldEventMgr.GetEvent(EventId); if (worldEvent != null) { worldEvent.ModelEquips.Add(this); } }
public void FinalizeDataHolder() { WorldEvent worldEvent = WorldEventMgr.GetEvent(EventId); if (worldEvent == null) { return; } worldEvent.ModelEquips.Add(this); }
public void FinalizeDataHolder() { WorldEventMgr.WorldEventQuests.Add(this); var worldEvent = WorldEventMgr.GetEvent(EventId); if (worldEvent != null) { worldEvent.QuestIds.Add(QuestId); } }
public static bool StopEvent(uint id) { WorldEvent worldEvent = WorldEventMgr.GetEvent(id); if (worldEvent == null) { return(false); } WorldEventMgr.StopEvent(worldEvent); return(true); }
public void FinalizeDataHolder() { WorldEventMgr.WorldEventQuests.Add(this); WorldEvent worldEvent = WorldEventMgr.GetEvent(EventId); if (worldEvent == null) { return; } worldEvent.QuestIds.Add(QuestId); }
public void FinalizeDataHolder() { Spawn = _eventId > 0; EventId = (uint)_eventId; var worldEvent = WorldEventMgr.GetEvent(EventId); if (worldEvent != null) { worldEvent.GOSpawns.Add(this); } }
public void FinalizeDataHolder() { Spawn = _eventId > 0; EventId = (uint)_eventId; WorldEvent worldEvent = WorldEventMgr.GetEvent(EventId); if (worldEvent == null) { return; } worldEvent.NPCSpawns.Add(this); }
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); }
public static void DeSpawnEvent(uint eventId) { WorldEventMgr.DeSpawnEvent(WorldEventMgr.GetEvent(eventId)); }