mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +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);
|
QSBPlayerManager.OnRemovePlayer += player => OnPlayerLeaveEvent.Invoke(player.PlayerId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static UnityEvent<uint> OnPlayerJoinEvent = new PlayerEvent();
|
internal class PlayerEvent : UnityEvent<uint> { }
|
||||||
public static UnityEvent<uint> OnPlayerLeaveEvent = new PlayerEvent();
|
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