forked from altmp/coreclr-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IResource.cs
42 lines (41 loc) · 2.21 KB
/
IResource.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using AltV.Net.CApi;
using AltV.Net.Client.Elements;
using AltV.Net.Client.Elements.Factories;
using AltV.Net.Client.Elements.Interfaces;
namespace AltV.Net.Client
{
public interface IResource
{
public void OnStart();
public void OnStop();
public void OnTick();
public UnhandledExceptionHandingOptions OnUnhandledException(UnhandledExceptionEventArgs e);
public INatives GetNatives(ILibrary library);
public IPlayerFactory GetPlayerFactory();
public IEntityFactory<IVehicle> GetVehicleFactory();
public IEntityFactory<IPed> GetPedFactory();
public IBaseObjectFactory<IBlip> GetBlipFactory();
public IBaseObjectFactory<ICheckpoint> GetCheckpointFactory();
public IBaseObjectFactory<IColShape> GetColShapeFactory();
public IBaseObjectFactory<IAudio> GetAudioFactory();
public IBaseObjectFactory<IHttpClient> GetHttpClientFactory();
public IBaseObjectFactory<IWebSocketClient> GetWebSocketClientFactory();
public IBaseObjectFactory<IWebView> GetWebViewFactory();
public IEntityFactory<ILocalObject> GetLocalObjectFactory();
public IEntityFactory<IObject> GetObjectFactory();
public IBaseObjectFactory<IVirtualEntity> GetVirtualEntityFactory();
public IBaseObjectFactory<IVirtualEntityGroup> GetVirtualEntityGroupFactory();
public IBaseObjectFactory<ITextLabel> GetTextLabelFactory();
public IBaseObjectFactory<ILocalVehicle> GetLocalVehicleFactory();
public IBaseObjectFactory<ILocalPed> GetLocalPedFactory();
public IBaseObjectFactory<IAudioFilter> GetAudioFilterFactory();
public IBaseObjectFactory<IAudioOutput> GetAudioOutputFactory();
public IBaseObjectFactory<IAudioOutputWorld> GetAudioOutputWorldFactory();
public IBaseObjectFactory<IFont> GetFontFactory();
public IBaseObjectFactory<IMarker> GetMarkerFactory();
public IBaseObjectFactory<IAudioOutputAttached> GetAudioOutputAttachedFactory();
public IBaseObjectFactory<IAudioOutputFrontend> GetAudioOutputFrontendFactory();
public INativeResourceFactory GetResourceFactory();
public ILogger GetLogger(ILibrary library, IntPtr corePointer);
}
}