Example #1
0
 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();
 }
Example #2
0
 private static void GameEvents_OnGameChanged(object sender, EventArgs e)
 {
     UseOnceTag.UseOnceIDs.Clear();
     UseOnceTag.UseOnceCounter.Clear();
     ActorHistory.Clear();
 }
Example #3
0
 private static void GameEvents_OnWorldChanged(object sender, EventArgs e)
 {
     PositionCache.Cache = new HashSet <Vector3>();
     ActorHistory.Clear();
 }