public void OnSkewerNotificationChangedProxy(SkewerNotificationType type, ObjectGuid simGuid, bool bShow) { try { if (SkewerNotificationChanged != null) { SkewerNotificationChanged(type, simGuid, bShow); } } catch (Exception e) { Common.Exception(Simulator.GetProxy(simGuid), e); } }
public void OnUpdateIconNotification(SkewerNotificationType type, ObjectGuid simGuid, bool bShow) { try { for (int i = 0x0; i < mHouseholdItems.Length; i++) { if ((mHouseholdItems[i].mSimInfo != null) && (mHouseholdItems[i].mSimInfo.mGuid == simGuid)) { switch (type) { case SkewerNotificationType.GroupingNotfication: mHouseholdItems[i].mGroupButton.Visible = bShow; mHouseholdItems[i].mDateButton.Visible = false; break; case SkewerNotificationType.DatingNotification: mHouseholdItems[i].mDateButton.Visible = bShow; mHouseholdItems[i].mGroupButton.Visible = false; break; case SkewerNotificationType.FollowNotification: mHouseholdItems[i].mbShouldShowFollowNotify = bShow; mHouseholdItems[i].mFollowNotification.Visible = bShow; break; case SkewerNotificationType.EnsorcelNotification: mHouseholdItems[i].mEnsorcelButton.Visible = bShow; mHouseholdItems[i].mGroupButton.Visible = bShow; break; } } } } catch (Exception exception) { Common.Exception("OnUpdateIconNotification", exception); } }
public void SendSkewerNotfication(SkewerNotificationType type, ObjectGuid simGuid, bool bShow) { mHudModel.SendSkewerNotfication(type, simGuid, bShow); }