private static void GameEvents_OnGameJoined(object sender, EventArgs e) { LastJoinedGame = DateTime.UtcNow; Logger.Debug("LastJoinedGame is {0}", LastJoinedGame); GameCount++; Death.DeathCount = 0; Death.LastDeathTime = DateTime.MinValue; LoadOnceTag.UsedProfiles.Clear(); ActorHistory.Clear(); }
private static void GameEvents_OnGameChanged(object sender, EventArgs e) { UseOnceTag.UseOnceIDs.Clear(); UseOnceTag.UseOnceCounter.Clear(); ActorHistory.Clear(); }
private static void GameEvents_OnWorldChanged(object sender, EventArgs e) { PositionCache.Cache = new HashSet <Vector3>(); ActorHistory.Clear(); }