mirror of
https://github.com/zeldaret/ss
synced 2026-09-06 18:51:12 -04:00
A bit more
This commit is contained in:
@@ -37,6 +37,10 @@ public:
|
||||
return isInEvent() ? sInstance->mCurrentEvent.eventName : nullptr;
|
||||
}
|
||||
|
||||
static s32 getCurrentEventRoomId() {
|
||||
return isInEvent() ? sInstance->mCurrentEvent.roomid : -1;
|
||||
}
|
||||
|
||||
static bool isCurrentEvent(const char *name) {
|
||||
return strequals(getCurrentEventName(), name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user