forked from FabianTerhorst/coreclr-module
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlt.Create.cs
More file actions
23 lines (22 loc) · 1.71 KB
/
Alt.Create.cs
File metadata and controls
23 lines (22 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System.Numerics;
using AltV.Net.Client.Elements.Interfaces;
using AltV.Net.Data;
using AltV.Net.Elements.Entities;
namespace AltV.Net.Client
{
public partial class Alt
{
public static IBlip CreatePointBlip(Position position) => Core.CreatePointBlip(position);
public static IBlip CreateRadiusBlip(Position position, float radius) => Core.CreateRadiusBlip(position, radius);
public static IBlip CreateAreaBlip(Position position, int width, int height) => Core.CreateAreaBlip(position, width, height);
public static IWebView CreateWebView(string url, bool isOverlay = false, Vector2? pos = null, Vector2? size = null) => Core.CreateWebView(url, isOverlay, pos, size);
public static IWebView CreateWebView(string url, uint propHash, string targetTexture) => Core.CreateWebView(url, propHash, targetTexture);
public static IRmlDocument CreateRmlDocument(string url) => Core.CreateRmlDocument(url);
public static IAudio CreateAudio(string source, float volume, uint category, bool frontend) => Core.CreateAudio(source, volume, category, frontend);
public static IObject CreateObject(uint modelHash, Position position, Rotation rotation, bool noOffset = false, bool dynamic = false) => Core.CreateObject(modelHash, position, rotation, noOffset, dynamic);
public static IHttpClient CreateHttpClient() => Core.CreateHttpClient();
public static IWebSocketClient CreateWebSocketClient(string url) => Core.CreateWebSocketClient(url);
public static ICheckpoint CreateCheckpoint(CheckpointType type, Vector3 pos, Vector3 nextPos, float radius,
float height, Rgba color) => Core.CreateCheckpoint(type, pos, nextPos, radius, height, color);
}
}