Private Methods | |
void | SetShip (GALOBJ gship) |
void | EnterSector (GALOBJ gsec) |
void | WarpEnterSector (GALOBJ gsec, GALOBJ gate) |
void | LeaveSector (GALOBJ gsec) |
void | AddMoney (int val) |
void | TradeMoney (int val) |
void | SetNotoriety (GALOBJ race, int relation) |
int | GetNotoriety (GALOBJ race) |
int | GetClass () |
int | IsClass (int cl) |
int | GetSectorX () |
int | GetSectorY () |
GALOBJ | GetSector () |
GALOBJ | GetShip () |
int | GetDamage () |
int | GetAge () |
int | GetMoney () |
string | GetName () |
BOOL | GetVisited (GALOBJ raceobj) |
int | CheckEquipment (int equipment) |
void | OwnShip (GALOBJ gship) |
void | DisownShip (GALOBJ gship) |
table | GetOwnedShips () |
void | OwnStation (GALOBJ gstation) |
void | DisownStation (GALOBJ gstation) |
table | GetOwnedStations () |
void | AddHiredShip (GALOBJ gship) |
void | RemoveHiredShip (GALOBJ gship) |
table | GetHiredShips () |
void | UpdateAge () |
BOOL | AddTradeNotoriety (GALOBJ grace) |
void | LoseLicense (GALOBJ grace1) |
int | GetID () |
int | GetTradeRanking () |
int | GetFightRanking () |
int | AddTradeRanking (int score) |
int | AddTradeRankingFromTrade (int credits) |
int | AddFightRanking (int score) |
void | AddSector (GALOBJ sec) |
Private Attributes | |
string | pl_Name |
int | pl_Money |
GALOBJ | pl_Ship |
GALOBJ | pl_Sector |
int | pl_SectorX |
int | pl_SectorY |
int | pl_GameTime |
int | pl_Damage |
int | pl_TradeRanking |
int | pl_FightRanking |
table | pl_OwnedShips |
table | pl_Sectors |
table | pl_OwnedStations |
table | pl_HiredShips |
table | pl_KilledObjects |
|
increases and returns pl_FightRanking . See Notoriety and Ranking System .
|
|
adds a ship to pl_HiredShips
|
|
increases pl_Money
|
|
adds sector to pl_Sectors
|
|
Increases notoriety of player amongst the given race by "1" when certain time has passed (>30s+random). See also Global Variables ga_Races[]. |
|
increases and returns pl_FightRanking .
|
|
Increases pl_TradeRanking according to the credits given as parameter and returns the new trade-rank. See Notoriety and Ranking System . |
|
returns number of given tech-wares on the player ship. equipment must be a subtype of SGTYPE_W_TECH (*_W_TECH subtype constants-definitions ). |
|
removes given OBJ_SHIP from pl_OwnedShips
|
|
removes given OBJ_STATION from pl_OwnedStations
|
|
playership warps in a given sector. Sector already exists in sector engine.
|
|
returns pl_GameTime (Mission Critical Variable Access).
|
|
See Functions common in every object.
|
|
returns pl_Damage
|
|
returns pl_FightRanking .
|
|
returns pl_HiredShips
|
|
returns the race ID of this object. (RACE_PLAYER)
|
|
returns pl_Money
|
|
returns the web user name (via OBJ_CLIENT)
|
|
returns the notoriety of the player amongst the given race. See also Global Variables ga_Races[]. |
|
returns pl_OwnedShips
|
|
returns pl_OwnedStations
|
|
returns pl_Sector
|
|
returns pl_SectorX
|
|
returns pl_SectorY
|
|
returns pl_Ship
|
|
returns pl_TradeRanking
|
|
Returns wether the player has already visited a sector of the given race. See also Global Variables ga_Races[]. |
|
See Functions common in every object.
|
|
removes playership from given sector
|
|
player looses licence from given race. See also Global Variables ga_Races[]. |
|
adds given OBJ_SHIP to pl_OwnedShips
|
|
adds given OBJ_STATION to pl_OwnedStations
|
|
removes a ship from pl_HiredShips
|
|
Direct setting of relation between a given race and player (for manual global notoriety settings over main menu). Notoriety and Ranking System |
|
sets pl_Ship to given OBJ_SHIP
|
|
same as AddMoney()
|
|
sets pl_GameTime to actual game time
|
|
Playership enters the sector through the given gate. (sector already exists in sector engine).
|
|
damage on playership
|
|
The fight rank of the player. See Notoriety and Ranking System .
|
|
total time passed for this player in sec
|
|
Ships that are hired by the player, (a TL class ship).
|
|
table of "ware types" the player has destroyed [ waretype, amount ]
|
|
available money
|
|
name of player
|
|
player owned ships
|
|
Player "owned" stations.
|
|
actual sector
|
|
Player "owned" sectors.
|
|
x coordinate of actual sector
|
|
y coordinate of actual sector
|
|
ship that player flies (OBJ_SHIP)
|
|
The trade rank of the player. See Notoriety and Ranking System .
|