11using System . Collections . Generic ;
2+ using System . Runtime . Loader ;
23using AltV . Net . Elements . Entities ;
34using AltV . Net . Events ;
45
@@ -10,6 +11,8 @@ public static partial class Alt
1011
1112 public static IServer Server => Module . Server ;
1213
14+ public static AssemblyLoadContext AssemblyLoadContext => Module . AssemblyLoadContext ;
15+
1316 public static event CheckpointDelegate OnCheckpoint
1417 {
1518 add => Module . CheckpointEventHandler . Add ( value ) ;
@@ -45,7 +48,7 @@ public static event PlayerRemoveDelegate OnPlayerRemove
4548 add => Module . PlayerRemoveEventHandler . Add ( value ) ;
4649 remove => Module . PlayerRemoveEventHandler . Remove ( value ) ;
4750 }
48-
51+
4952 public static event VehicleRemoveDelegate OnVehicleRemove
5053 {
5154 add => Module . VehicleRemoveEventHandler . Add ( value ) ;
@@ -93,25 +96,25 @@ public static event ServerCustomEventEventDelegate OnServerCustomEvent
9396 add => Module . ServerCustomEventEventHandler . Add ( value ) ;
9497 remove => Module . ServerCustomEventEventHandler . Remove ( value ) ;
9598 }
96-
99+
97100 public static event ConsoleCommandDelegate OnConsoleCommand
98101 {
99102 add => Module . ConsoleCommandEventHandler . Add ( value ) ;
100103 remove => Module . ConsoleCommandEventHandler . Remove ( value ) ;
101104 }
102-
105+
103106 public static event MetaDataChangeDelegate OnMetaDataChange
104107 {
105108 add => Module . MetaDataChangeEventHandler . Add ( value ) ;
106109 remove => Module . MetaDataChangeEventHandler . Remove ( value ) ;
107110 }
108-
111+
109112 public static event MetaDataChangeDelegate OnSyncedMetaDataChange
110113 {
111114 add => Module . SyncedMetaDataChangeEventHandler . Add ( value ) ;
112115 remove => Module . SyncedMetaDataChangeEventHandler . Remove ( value ) ;
113116 }
114-
117+
115118 public static event ColShapeDelegate OnColShape
116119 {
117120 add => Module . ColShapeEventHandler . Add ( value ) ;
@@ -134,10 +137,10 @@ public static ICollection<IVehicle> GetAllVehicles() =>
134137
135138 public static ICollection < ICheckpoint > GetAllCheckpoints ( ) =>
136139 Module . CheckpointPool . GetAllObjects ( ) ;
137-
140+
138141 public static ICollection < IVoiceChannel > GetAllVoiceChannels ( ) =>
139142 Module . VoiceChannelPool . GetAllObjects ( ) ;
140-
143+
141144 public static ICollection < IColShape > GetAllColShapes ( ) =>
142145 Module . ColShapePool . GetAllObjects ( ) ;
143146
0 commit comments