![]() |
DynRPG
v0.20
RM2k3 Plugin SDK
|
Used for the data of actors which can be changed in-game. More...
Inherits RPG::Battler.
Public Member Functions | |
std::string | getDegree () |
Returns the current degree. | |
std::string | getCharsetFilename () |
Returns the current charset filename. | |
int | getCharsetId () |
Returns the current charset ID. | |
int | getCharsetTransparency () |
Returns the current charset transparency. | |
std::string | getFacesetFilename () |
Returns the current faceset filename. | |
int | getFacesetId () |
Returns the current faceset ID. | |
int | getBattleGraphicId () |
Returns the current battle graphic ID. | |
int | getBattleCommand (int index) |
Returns the current battle command on a certain position. | |
Static Public Member Functions | |
static RPG::Actor * | partyMember (int index) |
Returns a certain party member. | |
Public Attributes | |
DStringPtr | name |
Name ("\x01" means database default) | |
DStringPtr | degree |
Degree ("\x01" means database default) | |
DStringPtr | charsetFilename |
Filename of the charset (empty means database default) | |
int | charsetId |
ID of the sprite in the charset file (only valid if charsetFilename isn't empty) | |
int | charsetTransparency |
Transparency of the charset (0 to 8 , only valid if charsetFilename isn't empty) | |
DStringPtr | facesetFilename |
Filename of the faceset (empty means database default) | |
int | facesetId |
ID of the sprite in the faceset file (only valid if facesetFilename isn't empty) | |
int | level |
Current level. | |
int | exp |
Current experience points. | |
int | maxHpDiff |
Difference from the default maximal HP. | |
int | maxMpDiff |
Difference from the default maximal MP. | |
int | attackDiff |
Difference from the default attack value. | |
int | defenseDiff |
Difference from the default defense value. | |
int | intelligenceDiff |
Difference from the default intelligence value. | |
int | agilityDiff |
Difference from the default agility value. | |
short | weaponId |
Database ID of the current weapon (zero for none) | |
short | shieldId |
Database ID of the current shield (or second-hand weapon, zero for none) | |
short | armorId |
Database ID of the current armor (zero for none) | |
short | helmetId |
Database ID of the current helmet (zero for none) | |
short | accessoryId |
Database ID of the current accessory (zero for none) | |
bool | twoWeapons |
Can the actor hold two weapons? | |
bool | lockEquipemnt |
Is the actor's equipment unchangable by the player? | |
bool | autoBattle |
Is the battle AI activated for this actor? | |
bool | mightyGuard |
Is the "mighty guard" mode activated for this actor? | |
int | battleGraphicId |
Database ID of the battle graphic (zero for database default) | |
bool | customBattleCommands |
true if the battleCommands member is valid, otherwise the database default should be used | |
int | battleCommands [7] |
The current battle commands for this actor (0 and -1 both mean "no command at this position") |
Used for the data of actors which can be changed in-game.
Diff
are "offsets" which are added to the default value (which is calculated from the current level, class and equipment). int RPG::Actor::getBattleCommand | ( | int | index | ) |
Returns the current battle command on a certain position.
index | Zero-based index of the available commands for this actor (0 to 6 ) |
0
or -1
if there is none int RPG::Actor::getBattleGraphicId | ( | ) |
Returns the current battle graphic ID.
std::string RPG::Actor::getCharsetFilename | ( | ) |
Returns the current charset filename.
int RPG::Actor::getCharsetId | ( | ) |
Returns the current charset ID.
Returns the current charset transparency.
std::string RPG::Actor::getDegree | ( | ) |
Returns the current degree.
std::string RPG::Actor::getFacesetFilename | ( | ) |
int RPG::Actor::getFacesetId | ( | ) |
static RPG::Actor* RPG::Actor::partyMember | ( | int | index | ) | [static] |
Returns a certain party member.
index | Zero-based party member index (0 to 3 ) |
short RPG::Actor::accessoryId |
Database ID of the current accessory (zero for none)
Difference from the default agility value.
short RPG::Actor::armorId |
Database ID of the current armor (zero for none)
Difference from the default attack value.
Is the battle AI activated for this actor?
int RPG::Actor::battleCommands[7] |
The current battle commands for this actor (0
and -1
both mean "no command at this position")
Database ID of the battle graphic (zero for database default)
Filename of the charset (empty means database default)
ID of the sprite in the charset file (only valid if charsetFilename
isn't empty)
Transparency of the charset (0
to 8
, only valid if charsetFilename
isn't empty)
true
if the battleCommands
member is valid, otherwise the database default should be used
Difference from the default defense value.
Degree ("\x01" means database default)
int RPG::Actor::exp |
Current experience points.
Filename of the faceset (empty means database default)
ID of the sprite in the faceset file (only valid if facesetFilename
isn't empty)
short RPG::Actor::helmetId |
Database ID of the current helmet (zero for none)
Difference from the default intelligence value.
Current level.
Is the actor's equipment unchangable by the player?
Difference from the default maximal HP.
Difference from the default maximal MP.
Is the "mighty guard" mode activated for this actor?
Name ("\x01" means database default)
short RPG::Actor::shieldId |
Database ID of the current shield (or second-hand weapon, zero for none)
Can the actor hold two weapons?
short RPG::Actor::weaponId |
Database ID of the current weapon (zero for none)