private void Touched(UUID source, TouchEventArgs args) { if (!_permissions.Authorize(_factory[source], args.AvatarID)) { return; } _logger.Debug(Name + " touched."); foreach (var listener in _listeners) { listener(source, args); } }
public virtual bool Authorize(string name, UUID id) { return(_permissions.Authorize(this, id)); }