/// <summary> /// Initializes this instance. /// </summary> public static void Initialize() { if (Base.Initialized) { return; } // Sentry.Initialize(); XorShift.Initialize(); ScFiles.Initialize(); CsvFiles.Initialize(); SoundFiles.Initialize(); Fingerprint.Initialize(); Home.Initialize(); Globals.Initialize(); ClientGlobals.Initialize(); MessageFactory.Initialize(); IpRequester.Initialize(); Tests.Initialize(); Base.Initialized = true;; }
public void UpdateRadar() { RadarPositions = new List <Vector3>(); RadarTime = GetGameTimer() + RadarScanTime; foreach (var ply in ClientGlobals.GetInGamePlayers()) { RadarPositions.Add(ply.Character.Position); } }