Elin Modding Docs Doc
Loading...
Searching...
No Matches
ShopTransaction Class Reference
Inheritance diagram for ShopTransaction:
EClass

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< ShopTransaction.Itembought = new List<ShopTransaction.Item>()
 
List< ShopTransaction.Itemsold = new List<ShopTransaction.Item>()
 

Static Public Attributes

static ShopTransaction current
 
- Static Public Attributes inherited from EClass
static Core core
 

Additional Inherited Members

- Static Public Member Functions inherited from EClass
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)
 
- Properties inherited from EClass
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]
 

Detailed Description

Definition at line 6 of file ShopTransaction.cs.

Member Function Documentation

◆ CanSellBack()

bool ShopTransaction.CanSellBack ( Thing t,
int num = -1 )

Definition at line 58 of file ShopTransaction.cs.

◆ GetPrice()

int ShopTransaction.GetPrice ( Thing t,
int n,
bool sell )

Definition at line 138 of file ShopTransaction.cs.

◆ HasBought()

bool ShopTransaction.HasBought ( Thing t)

Definition at line 42 of file ShopTransaction.cs.

◆ Log()

void ShopTransaction.Log ( )

Definition at line 9 of file ShopTransaction.cs.

◆ OnEndTransaction()

void ShopTransaction.OnEndTransaction ( )

Definition at line 162 of file ShopTransaction.cs.

◆ Process()

void ShopTransaction.Process ( Thing t,
int n,
bool sell )

Definition at line 75 of file ShopTransaction.cs.

Member Data Documentation

◆ bought

List<ShopTransaction.Item> ShopTransaction.bought = new List<ShopTransaction.Item>()

Definition at line 219 of file ShopTransaction.cs.

◆ current

ShopTransaction ShopTransaction.current
static

Definition at line 213 of file ShopTransaction.cs.

◆ sold

List<ShopTransaction.Item> ShopTransaction.sold = new List<ShopTransaction.Item>()

Definition at line 222 of file ShopTransaction.cs.

◆ trader

InvOwner ShopTransaction.trader

Definition at line 216 of file ShopTransaction.cs.


The documentation for this class was generated from the following file: