master #40

Merged
sin365 merged 4 commits from Alienjack/AxibugEmuOnline:master into master 2024-11-07 19:42:15 +08:00
2 changed files with 11 additions and 0 deletions
Showing only changes of commit dfee4fa002 - Show all commits

View File

@ -37,6 +37,11 @@ namespace AxibugEmuOnline.Client.UI
Reset();
}
protected virtual void OnDestroy()
{
}
public void SetData(MenuData data)
{
Reset();

View File

@ -11,6 +11,12 @@ namespace AxibugEmuOnline.Client
protected override void Awake()
{
Eventer.Instance.RegisterEvent<int>(EEvent.OnRoomListAllUpdate, OnRoomListUpdateAll);
base.Awake();
}
protected override void OnDestroy()
{
Eventer.Instance.UnregisterEvent<int>(EEvent.OnRoomListAllUpdate, OnRoomListUpdateAll);
}
public override bool OnEnterItem()