Inheritance diagram for OBJ_RACEBASE:
Private Methods | |
void | AddSector (GALOBJ sec) |
void | SetMainSector (GALOBJ sec) |
void | TradeMoney (int val) |
int | GetNotoriety (GALOBJ race) |
int | AddNotoriety (GALOBJ race, int amount) |
int | GetID () |
int | GetClass () |
int | IsClass (int cl) |
GALOBJ | GetMainSector () |
table | GetSectors () |
string | GetName () |
GALOBJ | GetShipyard () |
void | AddShipyard (GALOBJ gfac) |
GALOBJ | GetNearestShipyard (GALOBJ gsector, int shipclass) |
void | OwnShip (GALOBJ gship) |
void | DisownShip (GALOBJ gship) |
table | GetOwnedShips () |
void | OwnStation (GALOBJ gstation) |
void | DisownStation (GALOBJ gstation) |
table | GetOwnedStations () |
Private Attributes | |
string | ra_Name |
int | ra_ID |
GALOBJ | ra_MainSector |
table | ra_Sectors |
table | ra_OwnedShips |
table | ra_Shipyards |
table | ra_OwnedStations |
|
Increases or decreases notoriety towards given race in the race, for which this fct. is called depending of "amount" being positive or negative.
|
|
adds sector to ra_Sectors
|
|
adds a factory to ra_Shipyards
|
|
removes given OBJ_SHIP from ra_OwnedShips
|
|
removes given OBJ_STATION from ra_OwnedStations
|
|
See Functions common in every object.
Reimplemented in OBJ_RACE. |
|
returns ra_ID
|
|
returns ra_MainSector
|
|
returns ra_Name
|
|
Finds a shipyard nearest to a given sector. If shipclass <> 0, find one that sells the given shipclass (OBJ_SHIP_TS, e.g.) |
|
Returns notoriety amongst given race-object for this race.
|
|
returns ra_OwnedShips
|
|
returns ra_OwnedStations
|
|
returns ra_Sectors
|
|
Find a shipyard of this race in its mainsector.
|
|
See Functions common in every object.
Reimplemented in OBJ_RACE. |
|
adds given OBJ_SHIP to ra_OwnedShips
|
|
adds given OBJ_STATION to ra_OwnedStations
|
|
sets ra_MainSector
|
|
same as AddMOney()
Reimplemented in OBJ_RACE. |
|
ID of the race. See Race IDs .
|
|
homesector of race
|
|
name of Race
|
|
ships owned by this race
|
|
stations owned by this race
|
|
sectors controlled/owned by this race
|
|
Table of all owned shipyards.
|