50 : base(
owner, container, _currency)
68 if (button.
card !=
null)
70 if (button.
index == 0)
102 return "invInteraction2".lang(num.ToString() ??
"",
langTransfer.lang()) + ((num2 == 0) ?
"" :
"invInteraction3".lang(num2.ToString() ??
"",
EClass.
sources.
things.map[base.IDCurrency].GetName()));
123 EInput.haltInput =
true;
126 b.
icon.rectTransform.DOScale(0f, 0.3f).SetEase(Ease.InBack).OnComplete(delegate
128 if (b.transform !=
null)
130 b.icon.rectTransform.localScale = Vector3.one;
131 b.SetCardGrid(null, b.invOwner);
173 base.BuildUICurrency(uiCurrency);
174 uiCurrency.SetActive(
price != 0);
Status Success(Action action=null)
void PlaySoundDrop(bool spatial=true)
static SourceManager sources
virtual bool CanTargetAlly
override bool AllowContext
virtual bool AllowStockIngredients
override bool AllowTransfer
override int GetPrice(Thing t, CurrencyType currency, int num, bool sell)
override void OnClick(ButtonGrid button)
virtual void _OnProcess(Thing t)
override bool CopyOnTransfer
override void BuildUICurrency(UICurrency uiCurrency, bool canReroll=false)
override string GetTextDetail(Thing t, CurrencyType currency, int num, bool sell)
override bool DenyImportant
virtual void OnWriteNote(Thing t, UINote n)
virtual void OnAfterRefuel()
override void OnRightClick(ButtonGrid button)
override bool AllowHold(Thing t)
sealed override void OnProcess(Thing t)
virtual ProcessType processType
InvOwnerDraglet(Card owner=null, Card container=null, CurrencyType _currency=CurrencyType.Money)
override bool AllowAutouse
virtual string langTransfer
override void ClearButtons()
UIDragGridIngredients uiIngredients
List< ButtonGrid > buttons
static LayerDragGrid Instance
override void RefreshCurrentGrid()
static void SetDirty(Thing t)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)