Skip to content

Commit

Permalink
feat(shared): fix shared registeradapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Sep 24, 2024
1 parent 803b3f6 commit bfa93e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/AltV.Net.Shared/AltShared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ public static class AltShared
public static uint Hash(string key) => CoreImpl.Hash(key);
public static bool CacheEntities = true;
public static void EmitLocal(string eventName, params object[] args) => CoreImpl.TriggerLocalEvent(eventName, args);

public static void RegisterMValueAdapter<T>(IMValueAdapter<T> adapter) => CoreImpl.RegisterMValueAdapter(adapter);
}
}

0 comments on commit bfa93e3

Please sign in to comment.