示例#1
0
 public bool InitClothing()
 {
     this._clothing = new ClothingComponent();
     if (this._clothing.Init(this))
     {
         return(true);
     }
     return(false);
 }
示例#2
0
        private void OnUseInHand(EntityUid uid, ClothingComponent component, UseInHandEvent args)
        {
            if (args.Handled || !component.QuickEquip)
            {
                return;
            }

            QuickEquip(uid, component, args);
        }
示例#3
0
        public bool InitClothing()
        {
            _clothing = new ClothingComponent();

            return(_clothing.Init(this));
        }