Skip to content

Commit

Permalink
fix(server): Add missing Alt methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Sep 9, 2024
1 parent e275d6b commit f724a7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/AltV.Net/Alt.Log.Colored.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace AltV.Net
{
public static partial class Alt
{
public static void LogColored(string message) => CoreImpl.LogColored(message);
public static void LogColored(ColoredMessage message) => CoreImpl.LogColored(message.ToString());
}
}
4 changes: 4 additions & 0 deletions api/AltV.Net/Alt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,9 @@ public static byte SyncSendThreadCount
public static void SetPassword(string password) => CoreImpl.SetPassword(password);
public static void SetVoiceExternal(string host, ushort port) => CoreImpl.SetVoiceExternal(host, port);
public static void SetVoiceExternalPublic(string host, ushort port) => CoreImpl.SetVoiceExternalPublic(host, port);

public static string Branch => CoreImpl.Branch;
public static string Version => CoreImpl.Version;
public static bool IsMainThread => CoreImpl.IsMainThread();
}
}

0 comments on commit f724a7e

Please sign in to comment.