コード例 #1
0
 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);
     }
 }
コード例 #2
0
 public virtual bool Authorize(string name, UUID id)
 {
     return(_permissions.Authorize(this, id));
 }