quantum-space-buddies/QSB/Events/EventList.cs

40 lines
1018 B
C#
Raw Normal View History

2020-08-13 19:46:16 +00:00
using QSB.Animation;
using QSB.DeathSync;
using QSB.ElevatorSync;
2020-08-13 13:32:58 +00:00
using QSB.GeyserSync;
2020-08-13 19:46:16 +00:00
using QSB.TimeSync;
using QSB.Tools;
using QSB.TransformSync;
2020-08-12 19:58:29 +00:00
namespace QSB.Events
{
2020-08-10 13:48:40 +00:00
/// <summary>
/// Creates instances of all of the events QSB uses.
/// </summary>
2020-08-09 11:19:51 +00:00
public static class EventList
{
2020-08-09 13:26:33 +00:00
public static bool Ready { get; private set; }
public static void Init()
{
2020-08-10 10:45:24 +00:00
new PlayerReadyEvent();
2020-08-09 20:58:03 +00:00
new PlayerSuitEvent();
2020-08-09 07:37:32 +00:00
new PlayerFlashlightEvent();
new PlayerSignalscopeEvent();
new PlayerTranslatorEvent();
new PlayerProbeLauncherEvent();
2020-08-10 13:40:06 +00:00
new PlayerProbeEvent();
2020-08-10 17:22:35 +00:00
new PlayerSectorEvent();
2020-08-09 07:37:32 +00:00
new PlayerJoinEvent();
2020-08-09 11:38:35 +00:00
new PlayerLeaveEvent();
new PlayerDeathEvent();
2020-08-10 15:36:55 +00:00
new PlayerStatesRequestEvent();
2020-08-12 19:58:29 +00:00
new ElevatorEvent();
2020-08-13 13:32:58 +00:00
new GeyserEvent();
2020-08-13 19:25:39 +00:00
new ServerTimeEvent();
2020-08-09 13:26:33 +00:00
Ready = true;
}
}
}