mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 03:28:26 +00:00
make all QSBAPIEvents stuff internal
This commit is contained in:
parent
62c654318e
commit
67c16bd8f2
@ -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> { }
|
||||
|
Loading…
Reference in New Issue
Block a user