Horizon Official Technical Documentation
npc_db_data Struct Reference

#include <NPCDefinitions.hpp>

+ Collaboration diagram for npc_db_data:

Public Attributes

std::string npc_name {""}
 
std::string map_name {""}
 
MapCoords coords
 
directions direction {DIR_SOUTH}
 
uint16_t sprite_id {0}
 
std::string script {""}
 
bool script_is_file {true}
 
uint16_t trigger_range {1}
 
std::shared_ptr< Horizon::Zone::Units::NPC_npc
 

Member Data Documentation

◆ _npc

std::shared_ptr<Horizon::Zone::Units::NPC> npc_db_data::_npc

◆ coords

MapCoords npc_db_data::coords

◆ direction

directions npc_db_data::direction {DIR_SOUTH}

◆ map_name

std::string npc_db_data::map_name {""}

◆ npc_name

std::string npc_db_data::npc_name {""}

◆ script

std::string npc_db_data::script {""}

◆ script_is_file

bool npc_db_data::script_is_file {true}

◆ sprite_id

uint16_t npc_db_data::sprite_id {0}

◆ trigger_range

uint16_t npc_db_data::trigger_range {1}

The documentation for this struct was generated from the following file: