Public Member Functions | Public Attributes

CMerc Class Reference

Inherits IMerc.

List of all members.

Public Member Functions

 CMerc ()
bool Spawn (Critter& master)
IMerc@ Dialog (int dialogid)
IMerc@ Script (string& script)
IMerc@ AI (int aipack)
IMerc@ Bag (int bagid)
IMerc@ Team (int teamid)
IMerc@ Level (int level)
IMerc@ PID (int npcpid)
IMerc@ PID (array< int > npcpids)
IMerc@ Type (int type)
IMerc@ ID (int id)
IMerc@ DynamicPrice ()
bool IsDynamicPrice ()
IMerc@ StartCost (int cost)
IMerc@ Cost (int cost)
IMerc@ SellPrice (int sellprice)
int GetDialog ()
string@ GetScript ()
int8 GetBaseType ()
int GetAIPack ()
int GetBagID ()
int GetTeamID ()
int GetLevel ()
int GetLastPID ()
array< int > GetPIDs ()
int GetCost ()
int GetBagValue ()
int GetSellPrice ()
uint GetID ()
uint GetType ()
string@ GetName ()

Public Attributes

bool dynamicprice
int dir
int dialogid
string script
int aipack
int8 basetype
int bagid
int teamid
int level
int respawnTime
array< int > npcpids
int npcpid
int cost
int bagvalue
int startcost
uint type
int sellprice
uint id
string name
Serializator serializer

Constructor & Destructor Documentation

CMerc (  ) 

Member Function Documentation

bool Spawn ( Critter&  master  ) 

Implements IMerc.

IMerc@ Dialog ( int  dialogid  ) 

Implements IMerc.

IMerc@ Script ( string&  script  ) 

Implements IMerc.

IMerc@ AI ( int  aipack  ) 

Implements IMerc.

IMerc@ Bag ( int  bagid  ) 

Implements IMerc.

IMerc@ Team ( int  teamid  ) 

Implements IMerc.

IMerc@ Level ( int  level  ) 

Implements IMerc.

IMerc@ PID ( int  npcpid  ) 

Implements IMerc.

IMerc@ PID ( array< int >  npcpids  ) 

Implements IMerc.

IMerc@ Type ( int  type  ) 

Implements IMerc.

IMerc@ ID ( int  id  ) 

Implements IMerc.

IMerc@ DynamicPrice (  ) 

Implements IMerc.

bool IsDynamicPrice (  ) 

Implements IMerc.

IMerc@ StartCost ( int  cost  ) 

Implements IMerc.

IMerc@ Cost ( int  cost  ) 

Implements IMerc.

IMerc@ SellPrice ( int  sellprice  ) 

Implements IMerc.

int GetDialog (  ) 

Implements IMerc.

string@ GetScript (  ) 

Implements IMerc.

int8 GetBaseType (  ) 

Implements IMerc.

int GetAIPack (  ) 

Implements IMerc.

int GetBagID (  ) 

Implements IMerc.

int GetTeamID (  ) 

Implements IMerc.

int GetLevel (  ) 

Implements IMerc.

int GetLastPID (  ) 

Implements IMerc.

array<int> GetPIDs (  ) 

Implements IMerc.

int GetCost (  ) 

Implements IMerc.

int GetBagValue (  ) 

Implements IMerc.

int GetSellPrice (  ) 

Implements IMerc.

uint GetID (  ) 

Implements IMerc.

uint GetType (  ) 

Implements IMerc.

string@ GetName (  ) 

Implements IMerc.


Member Data Documentation

int dir
int dialogid
int aipack
int8 basetype
int bagid
int teamid
int level
array<int> npcpids
int npcpid
int cost
int bagvalue
int startcost
uint type
int sellprice
uint id