private unsafe bool GetIsLeader() { IntPtr pEngine = N3Engine_t.GetInstance(); if (pEngine == IntPtr.Zero) { return(false); } Identity identity = Identity; return(N3EngineClientAnarchy_t.IsTeamLeader(pEngine, &identity)); }