Skip to content

Commit 5065c26

Browse files
committed
Exposed RegisterFont function
1 parent ddefa4c commit 5065c26

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

api/AltV.Net.Client/Alt.Globals.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public static partial class Alt
7474
public static string GetHeadshotBase64(byte id) => Core.GetHeadshotBase64(id);
7575
public static Task<string> TakeScreenshot() => Core.TakeScreenshot();
7676
public static Task<string> TakeScreenshotGameOnly() => Core.TakeScreenshotGameOnly();
77+
public static void RegisterFont(string path) => Core.RegisterFont(path);
7778

7879
public static MapZoomData GetMapZoomData(uint id) => Core.GetMapZoomData(id);
7980
public static MapZoomData GetMapZoomData(string alias) => Core.GetMapZoomData(alias);

api/AltV.Net.Client/ICore.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,5 +210,6 @@ ILocalObject CreateLocalObject(uint modelHash, Position position, Rotation rotat
210210
IColShape CreateColShapeRectangle(float x1, float y1, float x2, float y2, float z);
211211
IntPtr CreateColShapeSpherePtr(out uint id, Vector3 position, float radius);
212212
IColShape CreateColShapeSphere(Vector3 position, float radius);
213+
IFont RegisterFont(string path);
213214
}
214215
}

0 commit comments

Comments
 (0)