make all QSBAPIEvents stuff internal

This commit is contained in:
JohnCorby 2023-07-31 13:34:59 -07:00
parent 62c654318e
commit 67c16bd8f2

View File

@ -42,9 +42,7 @@ internal static class QSBAPIEvents
QSBPlayerManager.OnRemovePlayer += player => OnPlayerLeaveEvent.Invoke(player.PlayerId);
}
public static UnityEvent<uint> OnPlayerJoinEvent = new PlayerEvent();
public static UnityEvent<uint> OnPlayerLeaveEvent = new PlayerEvent();
internal class PlayerEvent : UnityEvent<uint> { }
internal static PlayerEvent OnPlayerJoinEvent = new PlayerEvent();
internal static PlayerEvent OnPlayerLeaveEvent = new PlayerEvent();
}
// i hate OOP sometimes
internal class PlayerEvent : UnityEvent<uint> { }