|
| InvOwnerRecycle (Card owner=null, Card container=null, CurrencyType _currency=CurrencyType.Ecopo) |
|
override void | BuildUICurrency (UICurrency uiCurrency, bool canReroll=false) |
|
override bool | ShouldShowGuide (Thing t) |
|
override void | _OnProcess (Thing t) |
|
override bool | AllowHold (Thing t) |
|
| InvOwnerDraglet (Card owner=null, Card container=null, CurrencyType _currency=CurrencyType.Money) |
|
override void | OnInit () |
|
override void | OnClick (ButtonGrid button) |
|
override void | OnRightClick (ButtonGrid button) |
|
override int | GetPrice (Thing t, CurrencyType currency, int num, bool sell) |
|
override string | GetTextDetail (Thing t, CurrencyType currency, int num, bool sell) |
|
virtual void | OnWriteNote (Thing t, UINote n) |
|
sealed override void | OnProcess (Thing t) |
|
virtual void | _OnProcess (Thing t) |
|
virtual void | OnAfterRefuel () |
|
void | RedrawButton () |
|
override void | BuildUICurrency (UICurrency uiCurrency, bool canReroll=false) |
|
virtual bool | AllowHold (Thing t) |
|
virtual bool | AllowMoved (Thing t) |
|
virtual bool | ShouldShowGuide (Thing t) |
|
virtual bool | AllowDrop (Thing t) |
|
virtual Thing | CreateDefaultContainer () |
|
virtual void | BuildUICurrency (UICurrency uiCurrency, bool canReroll=false) |
|
bool | IsWeightOver (Thing t) |
|
| InvOwner (Card owner, Card container=null, CurrencyType _currency=CurrencyType.None, PriceType _price=PriceType.Default) |
|
void | Init () |
|
virtual void | OnInit () |
|
virtual void | OnClick (ButtonGrid button) |
|
virtual void | OnRightClick (ButtonGrid button) |
|
virtual void | OnRightPressed (ButtonGrid button) |
|
InvOwner | GetShitDestOwner (ButtonGrid b, bool rightMouse=false) |
|
virtual void | OnShiftClick (ButtonGrid b, bool rightMouse=false) |
|
virtual bool | CanShiftClick (ButtonGrid b, bool rightMouse=false) |
|
virtual string | GetTextShiftClick (ButtonGrid b) |
|
virtual void | OnCtrlClick (ButtonGrid button) |
|
virtual bool | CanCtrlClick (ButtonGrid b) |
|
virtual string | GetTextCtrlClick (ButtonGrid b) |
|
virtual void | OnAltClick (ButtonGrid button) |
|
virtual bool | CanAltClick (ButtonGrid b) |
|
virtual string | GetTextAltClick (ButtonGrid b) |
|
void | Grab (DragItemCard.DragInfo from) |
|
Thing | PutBack (DragItemCard.DragInfo from) |
|
void | OnStartDrag (DragItemCard.DragInfo from) |
|
virtual bool | OnCancelDrag (DragItemCard.DragInfo from) |
|
virtual bool | OnDrag (DragItemCard.DragInfo from, DragItemCard.DragInfo to, bool execute, bool cancel=false) |
|
virtual void | OnProcess (Thing t) |
|
bool | CanOpenContainer (Thing t) |
|
ListInteraction | ListInteractions (ButtonGrid b, bool context) |
|
bool | TryHold (Thing t) |
|
virtual void | ListInteractions (ListInteraction list, Thing t, Trait trait, ButtonGrid b, bool context) |
|
virtual string | GetAutoUseLang (ButtonGrid button) |
|
void | AutoUse (ButtonGrid button, bool repeat=false) |
|
void | ShowContextMenu (ButtonGrid button) |
|
virtual int | GetPrice (Thing t, CurrencyType currency, int num, bool sell) |
|
virtual string | GetTextDetail (Thing t, CurrencyType currency, int num, bool sell) |
|
virtual void | OnWriteNote (ButtonGrid button, UINote n) |
|
virtual string | IDCostIcon (Thing t) |
|
virtual bool | IsFailByCurse (Thing t) |
|
Definition at line 3 of file InvOwnerRecycle.cs.
override void InvOwnerRecycle._OnProcess |
( |
Thing |
t | ) |
|
|
inlinevirtual |
Reimplemented from InvOwnerDraglet.
Definition at line 51 of file InvOwnerRecycle.cs.
52 {
53 SE.Play("trash");
55 int a = t.Num * Mathf.Clamp(t.
GetPrice() / 100, 1, 100);
58 {
59 a *= 10;
60 }
61 if (a != 0)
62 {
64 }
66 {
67 case "gene":
68 case "gene_brain":
69 case "1084":
71 {
73 }
74 break;
75 }
77 }
virtual int GetPrice(CurrencyType currency=CurrencyType.Money, bool sell=false, PriceType priceType=PriceType.Default, Chara c=null)
Thing MakeEgg(bool effect=true, int num=1, bool addToZone=true, int fertChance=20, BlessedState? state=null)
Thing Pick(Thing t, bool msg=true, bool tryStack=true)
static int rndHalf(int a)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
static Thing Create(string id, int idMat=-1, int lv=-1)
References InvOwner.Container, ThingGen.Create(), EClass.debug, Card.Destroy(), CoreDebug.enable, Card.GetPrice(), Card.id, Card.MakeEgg(), Card.Name, Trait.owner, EClass.pc, Chara.Pick(), recycle, EClass.rnd(), EClass.rndHalf(), Msg.Say(), and Card.SetNum().