public void OnQueueChanged() { InteractionInstance current = mSim.CurrentInteraction; if (!object.ReferenceEquals(mCurrentInteraction, current)) { mCurrentInteraction = current; SkewerEx.QueueChanged(); } }
public void OnWorldQuit() { try { SkewerEx.Unload(); ShutdownWatchers(); } catch (Exception exception) { Common.Exception("OnWorldQuit", exception); } }
protected static void OnInitialize() { if (SkewerEx.Instance != null) { return; } try { while ((Skewer.Instance == null) || (Skewer.Instance.mDoubleClickTimer == null)) { SpeedTrap.Sleep(); } while (!GameStates.IsLiveState) { SpeedTrap.Sleep(); } SkewerEx.Load(); while (Skewer.Instance != null) { if (Skewer.Instance.mHouseholdItems.Length == 0) { break; } if (Skewer.Instance.mHouseholdItems[0].mContainer == null) { break; } if (Skewer.Instance.mHouseholdItems[0].mContainer.Visible) { SkewerEx.HideSkewer(ref Skewer.Instance.mHouseholdItems); } SpeedTrap.Sleep(); } } catch (Exception exception) { Common.Exception("Simulate", exception); } }