Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | Item |
Public Member Functions | |
void | Log () |
bool | HasBought (Thing t) |
bool | CanSellBack (Thing t, int num=-1) |
void | Process (Thing t, int n, bool sell) |
int | GetPrice (Thing t, int n, bool sell) |
void | OnEndTransaction () |
Public Attributes | |
InvOwner | trader |
List< Item > | bought = new List<Item>() |
List< Item > | sold = new List<Item>() |
Static Public Attributes | |
static ShopTransaction | current |
![]() | |
static Core | core |
Additional Inherited Members | |
![]() | |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
static int | rndHalf (int a) |
static float | rndf (float a) |
static int | rndSqrt (int a) |
static void | Wait (float a, Card c) |
static void | Wait (float a, Point p) |
static int | Bigger (int a, int b) |
static int | Smaller (int a, int b) |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Faction | Wilds [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
Definition at line 4 of file ShopTransaction.cs.
|
inline |
Definition at line 47 of file ShopTransaction.cs.
References bought, item, and Card.Num.
Referenced by InvOwner.Transaction.IsValid(), InvOwner.ListInteractions(), and InvOwner.OnWriteNote().
|
inline |
Definition at line 115 of file ShopTransaction.cs.
References bought, InvOwner.currency, Card.GetPrice(), item, InvOwner.priceType, sold, and trader.
Referenced by InvOwner.GetPrice().
|
inline |
Definition at line 35 of file ShopTransaction.cs.
Referenced by InvOwner.Transaction.IsValid().
|
inline |
Definition at line 23 of file ShopTransaction.cs.
References bought, Debug, Card.Name, ShopTransaction.Item.num, ShopTransaction.Item.price, sold, and ShopTransaction.Item.thing.
Referenced by Process().
|
inline |
Definition at line 143 of file ShopTransaction.cs.
References Faction.AddContribution(), bought, InvOwner.currency, current, Debug, ThingContainer.Find(), Card.isStolen, Card.ModExp(), ShopTransaction.Item.num, InvOwner.owner, EClass.pc, ShopTransaction.Item.price, BaseCard.SetInt(), sold, Guild.Thief, ShopTransaction.Item.thing, Card.things, trader, and Card.trait.
Referenced by LayerInventory.CreateBuy().
|
inline |
Definition at line 63 of file ShopTransaction.cs.
References bought, InvOwner.currency, Debug, Card.GetPrice(), item, Log(), Card.Name, ShopTransaction.Item.num, InvOwner.priceType, sold, and trader.
Referenced by InvOwner.Transaction.Process().
Definition at line 19 of file ShopTransaction.cs.
Referenced by CanSellBack(), GetPrice(), HasBought(), Log(), OnEndTransaction(), and Process().
|
static |
Definition at line 15 of file ShopTransaction.cs.
Referenced by LayerInventory.CreateBuy(), InvOwner.GetPrice(), InvOwner.Transaction.IsValid(), InvOwner.ListInteractions(), OnEndTransaction(), InvOwner.OnWriteNote(), and InvOwner.Transaction.Process().
Definition at line 21 of file ShopTransaction.cs.
Referenced by GetPrice(), Log(), OnEndTransaction(), and Process().
InvOwner ShopTransaction.trader |
Definition at line 17 of file ShopTransaction.cs.
Referenced by GetPrice(), OnEndTransaction(), and Process().