3 protected ref set<RplId> m_aListeners =
new set<RplId>();
4 protected SCR_ResourceInteractor m_Interactor;
7 SCR_ResourceInteractor GetInteractor()
15 return m_aListeners.IsEmpty();
19 void SubscribeListener(RplId listener)
21 m_aListeners.Insert(listener);
25 void UnsubscribeListener(RplId listener)
27 m_aListeners.RemoveItem(listener);
34 m_Interactor.ReplicateEx();
40 m_Interactor = interactor;
52 updateSystem.RegisterSubscribedInteractor(m_Interactor);
57 ArmaReforgerScripted game =
GetGame();
71 updateSystem.UnregisterSubscribedInteractor(m_Interactor);