Ensage.Common.Prediction.Events_OnLoad C# (CSharp) Method

Events_OnLoad() private static method

The events_ on load.
private static Events_OnLoad ( object sender, EventArgs e ) : void
sender object /// The sender. ///
e System.EventArgs /// The e. ///
return void
        private static void Events_OnLoad(object sender, EventArgs e)
        {
            if (loaded)
            {
                return;
            }

            loaded = true;
            playerList = new List<Hero>();
            RotSpeedDictionary = new Dictionary<float, double>();
            RotTimeDictionary = new Dictionary<float, float>();
            SpeedDictionary = new Dictionary<float, Vector3>();
            TrackTable = new List<Prediction>();
            predictionDrawings = new Dictionary<float, ParticleEffect>();
            lastRotRDictionary = new Dictionary<float, float>();
            Events.OnUpdate += SpeedTrack;
        }