|
OpenEnroth 39d87c6
|
#include "NPCTopics.h"#include <utility>#include <string>#include <vector>#include "Engine/ArenaEnumFunctions.h"#include "Engine/AssetsManager.h"#include "Engine/Engine.h"#include "Engine/Graphics/Sprites.h"#include "Engine/Graphics/Outdoor.h"#include "Engine/Graphics/Indoor.h"#include "Engine/Graphics/Viewport.h"#include "Engine/Graphics/Renderer/Renderer.h"#include "Engine/Objects/Decoration.h"#include "Engine/Localization.h"#include "Engine/Objects/Actor.h"#include "Engine/Objects/NPC.h"#include "Engine/Objects/CharacterEnumFunctions.h"#include "Engine/Objects/MonsterEnumFunctions.h"#include "Engine/Party.h"#include "Engine/Data/HouseEnumFunctions.h"#include "Engine/Tables/ItemTable.h"#include "Engine/Evt/Processor.h"#include "Engine/Random/Random.h"#include "GUI/GUIWindow.h"#include "GUI/GUIMessageQueue.h"#include "GUI/UI/UIHouses.h"#include "GUI/UI/UIStatusBar.h"#include "Media/Audio/AudioPlayer.h"#include "Utility/String/Ascii.h"Macros | |
| #define | ADD_NPC_SCRIPTED_DIALOGUE(EVENT_ID, MSG_PARAM) |
Functions | |
| DialogueId | arenaMainDialogue () |
| void | prepareArenaFight (ArenaLevel level) |
| void | oracleDialogue () |
| Oracle's 'I lost it!' dialog option. More... | |
| const std::string & | joinGuildOptionString () |
| std::string | masteryTeacherOptionString () |
| std::string | npcDialogueOptionString (DialogueId topic, NPCData *npcData) |
| std::vector< DialogueId > | prepareScriptedNPCDialogueTopics (NPCData *npcData) |
| DialogueId | handleScriptedNPCTopicSelection (DialogueId topic, NPCData *npcData) |
| std::vector< DialogueId > | listNPCDialogueOptions (DialogueId topic) |
| void | selectSpecialNPCTopicSelection (DialogueId topic, NPCData *npcData) |
Variables | |
| int | membershipOrTrainingApproved |
| int | topicEventId |
| DialogueId | guildMembershipNPCTopicId |
| int | gold_transaction_amount |
| static constexpr std::array< Vec2f, 20 > | pMonsterArenaPlacements |
| static constexpr IndexedArray< int, GUILD_FIRST, GUILD_LAST > | priceForMembership |
| static constexpr IndexedArray< int, SKILL_FIRST, SKILL_LAST > | expertSkillMasteryCost |
| static constexpr IndexedArray< int, SKILL_FIRST, SKILL_LAST > | masterSkillMasteryCost |
| static constexpr IndexedArray< int, SKILL_FIRST, SKILL_LAST > | grandmasterSkillMasteryCost |
| static constexpr std::array< std::pair< QuestBit, ItemId >, 27 > | _4F0882_evt_VAR_PlayerItemInHands_vals |
| #define ADD_NPC_SCRIPTED_DIALOGUE | ( | EVENT_ID, | |
| MSG_PARAM | |||
| ) |
| DialogueId arenaMainDialogue | ( | ) |
| DialogueId handleScriptedNPCTopicSelection | ( | DialogueId | topic, |
| NPCData * | npcData | ||
| ) |
| const std::string & joinGuildOptionString | ( | ) |
| std::vector< DialogueId > listNPCDialogueOptions | ( | DialogueId | topic | ) |
| std::string masteryTeacherOptionString | ( | ) |
| std::string npcDialogueOptionString | ( | DialogueId | topic, |
| NPCData * | npcData | ||
| ) |
| void oracleDialogue | ( | ) |
Oracle's 'I lost it!' dialog option.
| void prepareArenaFight | ( | ArenaLevel | level | ) |
| std::vector< DialogueId > prepareScriptedNPCDialogueTopics | ( | NPCData * | npcData | ) |
| void selectSpecialNPCTopicSelection | ( | DialogueId | topic, |
| NPCData * | npcData | ||
| ) |
|
staticconstexpr |
|
staticconstexpr |
| int gold_transaction_amount |
|
staticconstexpr |
| DialogueId guildMembershipNPCTopicId |
|
staticconstexpr |
| int membershipOrTrainingApproved |
|
staticconstexpr |
|
staticconstexpr |
| int topicEventId |