#include <Party.h>
|
| int | height |
| |
| int | eyeLevel |
| |
| int | radius |
| |
| int | _yawGranularity |
| |
| int | walkSpeed |
| |
| int | _yawRotationSpeed |
| |
| int | jump_strength |
| |
| Time | playing_time |
| |
| Time | last_regenerated |
| |
| PartyTimeStruct | PartyTimes |
| |
| Vec3f | pos |
| |
| Vec3f | velocity |
| |
| int | _viewYaw |
| |
| int | _viewPitch |
| |
| Vec3f | lastPos |
| |
| int | _viewPrevYaw |
| |
| int | _viewPrevPitch |
| |
| int | lastEyeLevel |
| |
| int | sPartySavedFlightZ |
| |
| int | floor_face_id |
| |
| SoundId | currentWalkingSound |
| |
| Time | _6FC_water_lava_timer |
| |
| int | uFallStartZ |
| |
| unsigned int | bFlying |
| |
| int | hirelingScrollPosition |
| |
| char | cNonHireFollowers |
| |
| int | uCurrentYear |
| |
| int | uCurrentMonth |
| |
| int | uCurrentMonthWeek |
| |
| int | uCurrentDayOfMonth |
| |
| int | uCurrentHour |
| |
| int | uCurrentMinute |
| |
| int | uCurrentTimeSecond |
| |
| int | uNumFoodRations |
| |
| int | uNumGold |
| |
| int | uNumGoldInBank |
| |
| int | uNumDeaths |
| |
| int | uNumPrisonTerms |
| |
| int | uNumBountiesCollected |
| |
| IndexedArray< MonsterId, HOUSE_FIRST_TOWN_HALL, HOUSE_LAST_TOWN_HALL > | monster_id_for_hunting |
| |
| IndexedArray< bool, HOUSE_FIRST_TOWN_HALL, HOUSE_LAST_TOWN_HALL > | monster_for_hunting_killed |
| |
| unsigned char | days_played_without_rest |
| |
| IndexedBitset< QBIT_FIRST, QBIT_LAST > | _questBits |
| |
| IndexedArray< bool, HOUSE_FIRST_ARCOMAGE_TAVERN, HOUSE_LAST_ARCOMAGE_TAVERN > | pArcomageWins |
| |
| ArenaState | arenaState = ARENA_STATE_INITIAL |
| |
| ArenaLevel | arenaLevel = ARENA_LEVEL_INVALID |
| |
| IndexedArray< uint8_t, ARENA_LEVEL_FIRST_VALID, ARENA_LEVEL_LAST_VALID > | uNumArenaWins |
| |
| IndexedArray< bool, ITEM_FIRST_SPAWNABLE_ARTIFACT, ITEM_LAST_SPAWNABLE_ARTIFACT > | pIsArtifactFound |
| |
| IndexedBitset< 1, 208 > | _autonoteBits |
| |
| int | uNumArcomageWins |
| |
| int | uNumArcomageLoses |
| |
| bool | bTurnBasedModeOn |
| |
| PARTY_FLAGS_2 | uFlags2 |
| |
| PartyAlignment | alignment |
| |
| IndexedArray< SpellBuff, PARTY_BUFF_FIRST, PARTY_BUFF_LAST > | pPartyBuffs |
| |
| std::array< Character, 4 > | pCharacters |
| |
| std::array< NPCData, 2 > | pHirelings |
| |
| std::array< NPCSacrificeStatus, 2 > | pHirelingsSacrifice |
| |
| Item | pPickedItem |
| |
| PartyFlags | uFlags |
| |
| IndexedArray< std::array< Item, 12 >, HOUSE_FIRST_SHOP, HOUSE_LAST_SHOP > | standartItemsInShops |
| |
| IndexedArray< std::array< Item, 12 >, HOUSE_FIRST_SHOP, HOUSE_LAST_SHOP > | specialItemsInShops |
| |
| IndexedArray< std::array< Item, 12 >, HOUSE_FIRST_MAGIC_GUILD, HOUSE_LAST_MAGIC_GUILD > | spellBooksInGuilds |
| |
| std::string | pHireling1Name |
| |
| std::string | pHireling2Name |
| |
| Duration | armageddon_timer |
| |
| int | armageddonDamage |
| |
| int | armageddonForceCount { 0 } |
| |
| std::array< Duration, 4 > | pTurnBasedCharacterRecoveryTimes |
| |
| IndexedArray< int, HOUSE_FIRST_SHOP, HOUSE_LAST_SHOP > | InTheShopFlags |
| |
| int | uFine = 0 |
| |
| float | TorchLightLastIntensity = 0.0f |
| |
| Duration | _roundingDt |
| |
| Duration | _delayedReactionTimer |
| |
| SpeechId | _delayedReactionSpeech = SPEECH_NONE |
| |
| int | _delayedReactionCharacterId = -1 |
| |
| std::array< bool, 4 > | playerAlreadyPicked = {{}} |
| |
◆ Party()
◆ activeCharacter()
◆ activeCharacterIndex()
| int Party::activeCharacterIndex |
( |
| ) |
const |
|
inline |
- Returns
- 1-based index of currently active character. Zero means that there is no active character.
◆ AddBankGold()
| void Party::AddBankGold |
( |
int |
amount | ) |
|
◆ AddFine()
| void Party::AddFine |
( |
int |
amount | ) |
|
◆ AddGold()
| void Party::AddGold |
( |
int |
amount | ) |
|
◆ addItemToParty()
| bool Party::addItemToParty |
( |
Item * |
pItem, |
|
|
bool |
isSilent = false |
|
) |
| |
- Original binary offset:
- 0x48C6F6
◆ canActCount()
| int Party::canActCount |
( |
| ) |
const |
- Returns
- Total number of characters who can act.
◆ checkPartyPerceptionAgainstCurrentMap()
| bool Party::checkPartyPerceptionAgainstCurrentMap |
( |
| ) |
|
- Original binary offset:
- 0x497FC5
◆ CountHirelings()
| int Party::CountHirelings |
( |
| ) |
|
◆ createDefaultParty()
| void Party::createDefaultParty |
( |
| ) |
|
- Original binary offset:
- 0x49137D
◆ dropHeldItem()
| void Party::dropHeldItem |
( |
| ) |
|
◆ FeatherFallActive()
| bool Party::FeatherFallActive |
( |
| ) |
const |
|
inline |
◆ FlyActive()
| bool Party::FlyActive |
( |
| ) |
const |
|
inline |
◆ GetBankGold()
| int Party::GetBankGold |
( |
| ) |
const |
◆ getCharacterIdInParty()
| int Party::getCharacterIdInParty |
( |
Character * |
character | ) |
|
|
inline |
Return id of character that is represented by given pointer.
- Parameters
-
- Returns
- 0-based index of the given character in party.
◆ GetFine()
| int Party::GetFine |
( |
| ) |
const |
◆ GetFood()
| int Party::GetFood |
( |
| ) |
const |
◆ GetGold()
| int Party::GetGold |
( |
| ) |
const |
◆ getPartyFame()
| unsigned int Party::getPartyFame |
( |
| ) |
|
- Original binary offset:
- 0x49135E
◆ GetPartyReputation()
| int Party::GetPartyReputation |
( |
| ) |
|
◆ GetPlayingTime()
| Time & Party::GetPlayingTime |
( |
| ) |
|
|
inline |
◆ getRandomActiveCharacterId()
| int Party::getRandomActiveCharacterId |
( |
RandomEngine * |
rng | ) |
const |
Return id of random character that can still act.
- Parameters
-
| rng | Random generator used. |
- Returns
- ID of character or -1 if none of the character cat act.
◆ GetRedAlert()
| bool Party::GetRedAlert |
( |
| ) |
const |
|
inline |
◆ GetRedOrYellowAlert()
| bool Party::GetRedOrYellowAlert |
( |
| ) |
const |
|
inline |
◆ GetYellowAlert()
| bool Party::GetYellowAlert |
( |
| ) |
const |
|
inline |
◆ giveFallDamage()
| void Party::giveFallDamage |
( |
int |
distance | ) |
|
New function - applies fall damage with modifiers to all party members
- Parameters
-
◆ GiveFood()
| void Party::GiveFood |
( |
int |
amount | ) |
|
◆ GivePartyExp()
| void Party::GivePartyExp |
( |
unsigned int |
pEXPNum | ) |
|
◆ hasActiveCharacter()
| bool Party::hasActiveCharacter |
( |
| ) |
const |
|
inline |
◆ hasItem()
| bool Party::hasItem |
( |
ItemId |
uItemID | ) |
|
- Original binary offset:
- 0x493244
◆ ImmolationActive()
| bool Party::ImmolationActive |
( |
| ) |
const |
|
inline |
◆ immolationAffectedActors()
| size_t Party::immolationAffectedActors |
( |
int * |
affected, |
|
|
size_t |
affectedArrSize, |
|
|
size_t |
effectRange |
|
) |
| |
- Original binary offset:
- 0x46A89E
◆ ImmolationSkillLevel()
| Mastery Party::ImmolationSkillLevel |
( |
| ) |
const |
|
inline |
◆ Invisible()
| bool Party::Invisible |
( |
| ) |
const |
|
inline |
◆ isAirborne()
| bool Party::isAirborne |
( |
| ) |
const |
|
inline |
◆ isPartyEvil()
| bool Party::isPartyEvil |
( |
| ) |
|
◆ isPartyGood()
| bool Party::isPartyGood |
( |
| ) |
|
◆ partyFindsGold()
- Original binary offset:
- 0x420C05
◆ placeHeldItemInInventoryOrDrop()
| void Party::placeHeldItemInInventoryOrDrop |
( |
| ) |
|
◆ Reset()
◆ resetCharacterEmotions()
| void Party::resetCharacterEmotions |
( |
| ) |
|
◆ ResetPosMiscAndSpellBuffs()
| void Party::ResetPosMiscAndSpellBuffs |
( |
| ) |
|
◆ restAndHeal()
| void Party::restAndHeal |
( |
| ) |
|
- Original binary offset:
- 0x490D02
◆ restOneFrame()
| void Party::restOneFrame |
( |
| ) |
|
|
static |
Perform resting activity within current frame. Used to simulate party resting through time.
- Original binary offset:
- 0x41F5BE
◆ setActiveCharacterIndex()
| void Party::setActiveCharacterIndex |
( |
int |
id | ) |
|
|
inline |
- Parameters
-
| id | 1-based index of currently active character. Pass zero to make no one active. |
◆ setActiveToFirstCanAct()
| void Party::setActiveToFirstCanAct |
( |
| ) |
|
Sets _activeCharacter to the first character that can act Added to fix some nzi access problems
◆ setAirborne()
| void Party::setAirborne |
( |
bool |
new_state | ) |
|
|
inline |
◆ SetBankGold()
| void Party::SetBankGold |
( |
int |
amount | ) |
|
◆ setDelayedReaction()
| void Party::setDelayedReaction |
( |
SpeechId |
speech, |
|
|
int |
id |
|
) |
| |
|
inline |
◆ SetFine()
| void Party::SetFine |
( |
int |
amount | ) |
|
◆ SetFood()
| void Party::SetFood |
( |
int |
amount | ) |
|
◆ SetGold()
| void Party::SetGold |
( |
int |
amount, |
|
|
bool |
silent = false |
|
) |
| |
◆ setHoldingItem()
| void Party::setHoldingItem |
( |
const Item & |
item, |
|
|
Pointi |
offset = {} |
|
) |
| |
- Parameters
-
| item | Item to hold in mouse. |
| offset | Item's bitmap offset relative to cursor position. Always non-positive. |
- Original binary offset:
- 0x4936E1
◆ SetRedAlert()
| void Party::SetRedAlert |
( |
| ) |
|
|
inline |
◆ SetYellowAlert()
| void Party::SetYellowAlert |
( |
| ) |
|
|
inline |
◆ switchToNextActiveCharacter()
| void Party::switchToNextActiveCharacter |
( |
| ) |
|
Sets _activeCharacter to the first active (recoverd) character
◆ TakeBankGold()
| void Party::TakeBankGold |
( |
int |
amount | ) |
|
◆ TakeFine()
| void Party::TakeFine |
( |
int |
amount | ) |
|
◆ TakeFood()
| void Party::TakeFood |
( |
int |
amount | ) |
|
◆ TakeGold()
| void Party::TakeGold |
( |
int |
amount, |
|
|
bool |
silent = false |
|
) |
| |
◆ takeHoldingItem()
| Item Party::takeHoldingItem |
( |
| ) |
|
◆ TorchlightActive()
| bool Party::TorchlightActive |
( |
| ) |
const |
|
inline |
◆ updateCharactersAndHirelingsEmotions()
| void Party::updateCharactersAndHirelingsEmotions |
( |
| ) |
|
- Original binary offset:
- 0x4909F4
◆ updateDelayedReaction()
| void Party::updateDelayedReaction |
( |
| ) |
|
|
inline |
◆ WaterWalkActive()
| bool Party::WaterWalkActive |
( |
| ) |
const |
|
inline |
◆ wearsItem()
| bool Party::wearsItem |
( |
ItemId |
itemId | ) |
const |
|
inline |
- Parameters
-
| itemId | Item type to check, e.g. ITEM_ARTIFACT_LADYS_ESCORT. |
- Returns
- Whether the provided item is worn by at least one member of the party.
◆ wizardEyeActive()
| bool Party::wizardEyeActive |
( |
| ) |
const |
|
inline |
◆ wizardEyeSkillLevel()
| Mastery Party::wizardEyeSkillLevel |
( |
| ) |
const |
|
inline |
◆ yell()
- Original binary offset:
- 0x43AD34
◆ Zero()
◆ _6FC_water_lava_timer
| Time Party::_6FC_water_lava_timer |
◆ _activeCharacter
| int Party::_activeCharacter = 0 |
|
private |
◆ _autonoteBits
◆ _delayedReactionCharacterId
| int Party::_delayedReactionCharacterId = -1 |
◆ _delayedReactionSpeech
◆ _delayedReactionTimer
◆ _questBits
◆ _roundingDt
◆ _viewPitch
◆ _viewPrevPitch
| int Party::_viewPrevPitch |
◆ _viewPrevYaw
◆ _viewYaw
◆ _yawGranularity
| int Party::_yawGranularity |
◆ _yawRotationSpeed
| int Party::_yawRotationSpeed |
◆ alignment
◆ arenaLevel
◆ arenaState
◆ armageddon_timer
◆ armageddonDamage
| int Party::armageddonDamage |
◆ armageddonForceCount
| int Party::armageddonForceCount { 0 } |
◆ bFlying
| unsigned int Party::bFlying |
◆ bTurnBasedModeOn
| bool Party::bTurnBasedModeOn |
◆ cNonHireFollowers
| char Party::cNonHireFollowers |
◆ currentWalkingSound
◆ days_played_without_rest
| unsigned char Party::days_played_without_rest |
◆ eyeLevel
◆ floor_face_id
◆ height
◆ hirelingScrollPosition
| int Party::hirelingScrollPosition |
◆ InTheShopFlags
◆ jump_strength
◆ last_regenerated
| Time Party::last_regenerated |
◆ lastEyeLevel
◆ lastPos
◆ monster_for_hunting_killed
◆ monster_id_for_hunting
◆ pArcomageWins
◆ PartyTimes
◆ pCharacters
◆ pHireling1Name
| std::string Party::pHireling1Name |
◆ pHireling2Name
| std::string Party::pHireling2Name |
◆ pHirelings
| std::array<NPCData, 2> Party::pHirelings |
◆ pHirelingsSacrifice
◆ pIsArtifactFound
◆ playerAlreadyPicked
| std::array<bool, 4> Party::playerAlreadyPicked = {{}} |
◆ playing_time
◆ pos
◆ pPartyBuffs
◆ pPickedItem
◆ pTurnBasedCharacterRecoveryTimes
| std::array<Duration, 4> Party::pTurnBasedCharacterRecoveryTimes |
◆ radius
◆ sPartySavedFlightZ
| int Party::sPartySavedFlightZ |
◆ specialItemsInShops
◆ spellBooksInGuilds
◆ standartItemsInShops
◆ TorchLightLastIntensity
| float Party::TorchLightLastIntensity = 0.0f |
◆ uCurrentDayOfMonth
| int Party::uCurrentDayOfMonth |
◆ uCurrentHour
◆ uCurrentMinute
| int Party::uCurrentMinute |
◆ uCurrentMonth
◆ uCurrentMonthWeek
| int Party::uCurrentMonthWeek |
◆ uCurrentTimeSecond
| int Party::uCurrentTimeSecond |
◆ uCurrentYear
◆ uFallStartZ
◆ uFine
◆ uFlags
◆ uFlags2
| PARTY_FLAGS_2 Party::uFlags2 |
◆ uNumArcomageLoses
| int Party::uNumArcomageLoses |
◆ uNumArcomageWins
| int Party::uNumArcomageWins |
◆ uNumArenaWins
◆ uNumBountiesCollected
| int Party::uNumBountiesCollected |
◆ uNumDeaths
◆ uNumFoodRations
| int Party::uNumFoodRations |
◆ uNumGold
◆ uNumGoldInBank
| int Party::uNumGoldInBank |
◆ uNumPrisonTerms
| int Party::uNumPrisonTerms |
◆ velocity
◆ walkSpeed
The documentation for this struct was generated from the following files: