public void Handle(PlayerLoginEventRecord record) { PlayerStats person; if (record.character.Id != null && Players.TryGetValue(record.character.Id, out person)) { lock (person) person.SetOnline(record); } }
public void SetOnline(PlayerLoginEventRecord record) { loggingRecords.Add(record); Events.Add(record); }