Snapshot for release 2026.10.12.1 (internal ef4d41d)
This commit is contained in:
parent
08b80eed86
commit
b0f9d74b21
54 changed files with 5062 additions and 935 deletions
|
|
@ -928,6 +928,9 @@ internal static class ClientHelperHooks
|
|||
// refreshed every EndScene by EngineFrameController, 0 = no player / not ready.
|
||||
private static int _cachedPlayerId;
|
||||
|
||||
/// <summary>The player id last read on the main thread (0 = none yet); no native call.</summary>
|
||||
public static uint CachedPlayerId => unchecked((uint)Volatile.Read(ref _cachedPlayerId));
|
||||
|
||||
public static uint GetPlayerId()
|
||||
{
|
||||
if (_getPlayerId == null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue