5 protected int m_iMaxShowCount;
6 protected static int s_iShowCounter;
9 protected bool m_bPersistent;
13 if (s_iShowCounter >= m_iMaxShowCount)
16 return GetReturnResult(
data.IsInventoryOpen());
19 static void IncrementCounter()
32 UserSettings userSettings =
GetGame().GetGameUserSettings();
36 BaseContainer container = userSettings.GetModule(
"SCR_InventoryHintSettings");
38 container.Get(
"m_iInventoryOpenCount", s_iShowCounter)
46 UserSettings userSettings =
GetGame().GetGameUserSettings();
50 BaseContainer container = userSettings.GetModule(
"SCR_InventoryHintSettings");
54 container.Set(
"m_iInventoryOpenCount", s_iShowCounter);
55 GetGame().UserSettingsChanged();