private static bool GetIsRaid() { IntPtr pEngine = N3Engine_t.GetInstance(); if (pEngine == IntPtr.Zero) { return(false); } return(N3EngineClientAnarchy_t.IsInRaidTeam(pEngine)); }