forked from FabianTerhorst/coreclr-module
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIResource.cs
More file actions
27 lines (26 loc) · 1.14 KB
/
IResource.cs
File metadata and controls
27 lines (26 loc) · 1.14 KB
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
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 IBaseObjectFactory<IBlip> GetBlipFactory();
public IBaseObjectFactory<ICheckpoint> GetCheckpointFactory();
public IBaseObjectFactory<IAudio> GetAudioFactory();
public IBaseObjectFactory<IHttpClient> GetHttpClientFactory();
public IBaseObjectFactory<IWebSocketClient> GetWebSocketClientFactory();
public IBaseObjectFactory<IWebView> GetWebViewFactory();
public IEntityFactory<IObject> GetObjectFactory();
public INativeResourceFactory GetResourceFactory();
public ILogger GetLogger(ILibrary library, IntPtr corePointer);
}
}