void _OnUnspawnUser(Regulus.Project.Crystal.IUser user) { _Application.Command.Unregister("Lookup" + user.GetHashCode()); _Users.Remove(user); }
private void _OnSpawnUser(Regulus.Project.Crystal.IUser user) { _Users.Add(user); _Application.Command.Register("Lookup" + user.GetHashCode() , () => { _LookupUser(user); }); }