mirror of
https://github.com/EQEmu/Server.git
synced 2026-07-01 16:27:16 +00:00
Updated Perl General Functions (markdown)
+215
-214
@@ -1,219 +1,220 @@
|
||||
Perl general functions are wrapped within the quest type.
|
||||
|
||||
```
|
||||
void Client::new()
|
||||
void NPC::new()
|
||||
void EntityList::new()
|
||||
void QuestItem::new()
|
||||
void MobList::new()
|
||||
void echo(int color_id, string message)
|
||||
void say(string message, int language_id)
|
||||
void summonitem(int item_id, int charges)
|
||||
void write(string file, string message)
|
||||
void spawn(int npc_type_id, int grid_id, int int_unused, float x, float y, float z)
|
||||
void spawn2(int npc_type_id, int grid_id, int int_unused, float x, float y, float z, float heading)
|
||||
void unique_spawn(int npc_type_id, int grid_id, int int_unused, float x, float y, float z, float heading)
|
||||
void spawn_from_spawn2()
|
||||
void enable_spawn2()
|
||||
void disable_spawn2()
|
||||
void setstat(int stat_id, int int_value)
|
||||
void incstat(int stat_id, int int_value)
|
||||
void castspell(int spell_id, int target_id)
|
||||
void selfcast()
|
||||
void addloot(int item_id, int charges)
|
||||
void zone()
|
||||
void settimer(string timer_name, int seconds)
|
||||
void settimerMS(string timer_name, int milliseconds)
|
||||
void stoptimer()
|
||||
void stopalltimers()
|
||||
void emote()
|
||||
void shout()
|
||||
void shout2()
|
||||
void gmsay(string message, int color_id, bool send_to_world)
|
||||
void depop()
|
||||
void depop_withtimer()
|
||||
void depopall()
|
||||
void settarget(string target_enum, int target_id)
|
||||
void follow(int entity_id, int distance)
|
||||
void sfollow()
|
||||
void changedeity()
|
||||
void exp()
|
||||
void level()
|
||||
void traindisc()
|
||||
void isdisctome()
|
||||
void safemove()
|
||||
void rain()
|
||||
void snow()
|
||||
void surname()
|
||||
void permaclass()
|
||||
void permarace()
|
||||
void permagender()
|
||||
void scribespells(int max_level, int min_level)
|
||||
void traindiscs(int max_level, int min_level)
|
||||
void unscribespells()
|
||||
void untraindiscs()
|
||||
void givecash(int copper, int silver, int gold, int platinum)
|
||||
void pvp()
|
||||
void movepc(int zone_id, float x, float y, float z, float heading)
|
||||
void gmmove(float x, float y, float z)
|
||||
void movegrp(int zone_id, float x, float y, float z)
|
||||
void doanim()
|
||||
void addskill(int skill_id, int int_value)
|
||||
void setlanguage(int skill_id, int int_value)
|
||||
void setskill(int skill_id, int int_value)
|
||||
void setallskill()
|
||||
void attack()
|
||||
void attacknpc()
|
||||
void attacknpctype()
|
||||
void save()
|
||||
void faction(int faction_id, int int_value, int temp)
|
||||
void setsky()
|
||||
void setguild(unsigned long new_guild_id, int guild_rank_id)
|
||||
void createguild(string guild_name, string leader_name)
|
||||
void settime(int new_hour, int new_min, int update_world)
|
||||
void itemlink()
|
||||
void signalwith(int npc_id, int signal_id, int wait_ms)
|
||||
void signal(int npc_id, int wait_ms)
|
||||
void setglobal(string key, string str_value, int options, int duration)
|
||||
void targlobal(string key, string str_value, int duration, int npc_id, int char_id, int zone_id)
|
||||
void delglobal()
|
||||
void ding()
|
||||
void rebind(int zone_id, float x, float y, float z)
|
||||
void start()
|
||||
void stop()
|
||||
void pause()
|
||||
void moveto(float x, float y, float z, float heading, bool saveguard)
|
||||
void resume()
|
||||
void addldonpoints(long points, int theme_id)
|
||||
void addldonwin(long wins, int theme_id)
|
||||
void addldonloss(long losses, int theme_id)
|
||||
void setnexthpevent()
|
||||
void setnextinchpevent()
|
||||
void sethp()
|
||||
void respawn(int npc_type_id, int grid_id)
|
||||
void ChooseRandom()
|
||||
void set_proximity(float min_x, float max_x, float min_y, float max_y, float min_z, float max_z)
|
||||
void clear_proximity()
|
||||
void enable_proximity_say()
|
||||
void disable_proximity_say()
|
||||
void quest::Client::new()
|
||||
void quest::NPC::new()
|
||||
void quest::EntityList::new()
|
||||
void quest::QuestItem::new()
|
||||
void quest::MobList::new()
|
||||
void quest::echo(int color_id, string message)
|
||||
void quest::say(string message, int language_id)
|
||||
void quest::summonitem(int item_id, int charges)
|
||||
void quest::write(string file, string message)
|
||||
uint quest::spawn(int npc_type_id, int grid_id, int int_unused, float x, float y, float z)
|
||||
uint quest::spawn2(int npc_type_id, int grid_id, int int_unused, float x, float y, float z, float heading)
|
||||
uint quest::unique_spawn(int npc_type_id, int grid_id, int int_unused, float x, float y, float z, float heading)
|
||||
uint quest::spawn_from_spawn2()
|
||||
void quest::enable_spawn2()
|
||||
void quest::disable_spawn2()
|
||||
void quest::setstat(int stat_id, int int_value)
|
||||
void quest::incstat(int stat_id, int int_value)
|
||||
void quest::castspell(int spell_id, int target_id)
|
||||
void quest::selfcast()
|
||||
void quest::addloot(int item_id, int charges)
|
||||
void quest::zone()
|
||||
void quest::settimer(string timer_name, int seconds)
|
||||
void quest::settimerMS(string timer_name, int milliseconds)
|
||||
void quest::stoptimer()
|
||||
void quest::stopalltimers()
|
||||
void quest::emote()
|
||||
void quest::shout()
|
||||
void quest::shout2()
|
||||
void quest::gmsay(string message, int color_id, bool send_to_world)
|
||||
void quest::depop()
|
||||
void quest::depop_withtimer()
|
||||
void quest::depopall()
|
||||
void quest::settarget(string target_enum, int target_id)
|
||||
void quest::follow(int entity_id, int distance)
|
||||
void quest::sfollow()
|
||||
void quest::changedeity()
|
||||
void quest::exp()
|
||||
void quest::level()
|
||||
void quest::traindisc()
|
||||
bool quest::isdisctome()
|
||||
void quest::safemove()
|
||||
void quest::rain()
|
||||
void quest::snow()
|
||||
void quest::surname()
|
||||
void quest::permaclass()
|
||||
void quest::permarace()
|
||||
void quest::permagender()
|
||||
uint quest::scribespells(int max_level, int min_level)
|
||||
uint quest::traindiscs(int max_level, int min_level)
|
||||
void quest::unscribespells()
|
||||
void quest::untraindiscs()
|
||||
void quest::givecash(int copper, int silver, int gold, int platinum)
|
||||
void quest::pvp()
|
||||
void quest::movepc(int zone_id, float x, float y, float z, float heading)
|
||||
void quest::gmmove(float x, float y, float z)
|
||||
void quest::movegrp(int zone_id, float x, float y, float z)
|
||||
void quest::doanim()
|
||||
void quest::addskill(int skill_id, int int_value)
|
||||
void quest::setlanguage(int skill_id, int int_value)
|
||||
void quest::setskill(int skill_id, int int_value)
|
||||
void quest::setallskill()
|
||||
void quest::attack()
|
||||
void quest::attacknpc()
|
||||
void quest::attacknpctype()
|
||||
void quest::save()
|
||||
void quest::faction(int faction_id, int int_value, int temp)
|
||||
void quest::setsky()
|
||||
void quest::setguild(unsigned long new_guild_id, int guild_rank_id)
|
||||
void quest::createguild(string guild_name, string leader_name)
|
||||
void quest::settime(int new_hour, int new_min, int update_world)
|
||||
void quest::itemlink()
|
||||
void quest::signalwith(int npc_id, int signal_id, int wait_ms)
|
||||
void quest::signal(int npc_id, int wait_ms)
|
||||
void quest::setglobal(string key, string str_value, int options, int duration)
|
||||
void quest::targlobal(string key, string str_value, int duration, int npc_id, int char_id, int zone_id)
|
||||
void quest::delglobal()
|
||||
void quest::ding()
|
||||
void quest::rebind(int zone_id, float x, float y, float z)
|
||||
void quest::start()
|
||||
void quest::stop()
|
||||
void quest::pause()
|
||||
void quest::moveto(float x, float y, float z, float heading, bool saveguard)
|
||||
void quest::resume()
|
||||
void quest::addldonpoints(long points, int theme_id)
|
||||
void quest::addldonwin(long wins, int theme_id)
|
||||
void quest::addldonloss(long losses, int theme_id)
|
||||
void quest::setnexthpevent()
|
||||
void quest::setnextinchpevent()
|
||||
void quest::sethp()
|
||||
void quest::respawn(int npc_type_id, int grid_id)
|
||||
void quest::ChooseRandom()
|
||||
void quest::set_proximity(float min_x, float max_x, float min_y, float max_y, float min_z, float max_z)
|
||||
void quest::clear_proximity()
|
||||
void quest::enable_proximity_say()
|
||||
void quest::disable_proximity_say()
|
||||
void quest::setanim(int npc_type_id, int anim_num)
|
||||
void quest::showgrid()
|
||||
void spawn_condition(string zone_short, int instance_id, int condition_id, int int_value)
|
||||
void get_spawn_condition(string zone_short, int instance_id, int condition_id)
|
||||
void toggle_spawn_event(uint event_id, bool is_enabled, bool is_strict, bool reset_base)
|
||||
void has_zone_flag()
|
||||
void set_zone_flag()
|
||||
void clear_zone_flag()
|
||||
void summonburiedplayercorpse(int char_id, float dest_x, float dest_y, float dest_z, float dest_heading)
|
||||
void summonallplayercorpses(int char_id, float dest_x, float dest_y, float dest_z, float dest_heading)
|
||||
void getplayerburiedcorpsecount()
|
||||
void buryplayercorpse()
|
||||
void forcedooropen(int door_id, bool alt_mode)
|
||||
void forcedoorclose(int door_id, bool alt_mode)
|
||||
void toggledoorstate()
|
||||
void isdooropen()
|
||||
void depopzone()
|
||||
void repopzone()
|
||||
void ConnectNodeToNode(int node1, int node2, int teleport, uint doorid)
|
||||
void AddNode(float x, float y, float z, float best_z, int requested_id)
|
||||
void npcrace()
|
||||
void npcgender()
|
||||
void npcsize()
|
||||
void npctexture()
|
||||
void playerrace()
|
||||
void playergender()
|
||||
void playersize()
|
||||
void playertexture()
|
||||
void playerfeature(string str_value, int int_value)
|
||||
void npcfeature(string str_value, int int_value)
|
||||
void createBot(string firstname, string lastname, int level, int race_id, int class_id, int gender_id)
|
||||
void taskselector(int task_id1, int task_id2, int task_id%i)
|
||||
void task_setselector()
|
||||
void enabletask(int task_id1, int task_id2, int task_id10)
|
||||
void disabletask(int task_id1, int task_id2, int task_id10)
|
||||
void istaskenabled()
|
||||
void istaskactive()
|
||||
void istaskactivityactive(uint task_id, uint activity_id)
|
||||
void gettaskactivitydonecount(uint task_id, uint activity_id)
|
||||
void updatetaskactivity(uint task_id, uint activity_id, int count, bool ignore_quest_update)
|
||||
void resettaskactivity(uint task_id, uint activity_id)
|
||||
void taskexplorearea()
|
||||
void assigntask(uint task_id, bool enforce_level_requirement)
|
||||
void failtask()
|
||||
void tasktimeleft()
|
||||
void istaskcompleted()
|
||||
void enabledtaskcount()
|
||||
void firsttaskinset()
|
||||
void lasttaskinset()
|
||||
void nexttaskinset(int task_set, uint task_id)
|
||||
void activespeaktask()
|
||||
void activespeakactivity()
|
||||
void activetasksinset()
|
||||
void completedtasksinset()
|
||||
void istaskaappropriate()
|
||||
void popup(string window_title, string message, int popup_id, int buttons, int duration)
|
||||
void clearspawntimers()
|
||||
void ze(int channel_id, string message)
|
||||
void we(int channel_id, string message)
|
||||
void getlevel()
|
||||
void creategroundobject(int item_id, float x, float y, float z, float heading, int decay_time)
|
||||
void creategroundobjectfrommodel(string modelname, float x, float y, float z, float heading, int object_type, int decay_time)
|
||||
void createdoor(string modelname, float x, float y, float z, float heading, int object_type, int size)
|
||||
void ModifyNPCStat(int stat_id, string str_value)
|
||||
void collectitems(int item_id, bool remove_item)
|
||||
void UpdateSpawnTimer(uint spawn2_id, uint updated_time_till_repop)
|
||||
void MerchantSetItem(int npc_id, int item_id, int quantity)
|
||||
void MerchantCountItem(int npc_id, int item_id)
|
||||
void varlink()
|
||||
void CreateInstance(string zone_name, int version, int duration)
|
||||
void DestroyInstance()
|
||||
void UpdateInstanceTimer(int instance_id, int duration)
|
||||
void GetInstanceTimer()
|
||||
void GetInstanceTimerByID()
|
||||
void GetInstanceID(string zone_name, int version)
|
||||
void GetCharactersInInstance()
|
||||
void AssignToInstance()
|
||||
void AssignGroupToInstance()
|
||||
void AssignRaidToInstance()
|
||||
void RemoveFromInstance()
|
||||
void RemoveAllFromInstance()
|
||||
void MovePCInstance(int zone_id, int instance_id, float x, float y, float z, float heading)
|
||||
void FlagInstanceByGroupLeader(uint zone, int version)
|
||||
void FlagInstanceByRaidLeader(uint zone, int version)
|
||||
void saylink(string message, bool silent, string link_name)
|
||||
void getguildnamebyid()
|
||||
void SetRunning()
|
||||
void IsRunning()
|
||||
void IsEffectInSpell(uint spell_id, int effect_id)
|
||||
void IsBeneficialSpell()
|
||||
void GetSpellResistType()
|
||||
void GetSpellTargetType()
|
||||
void FlyMode()
|
||||
void factionvalue()
|
||||
void enabletitle()
|
||||
void checktitle()
|
||||
void removetitle()
|
||||
void wearchange(uint slot, int texture_id, int hero_forge_model_id, int elite_material_id)
|
||||
void voicetell(string client_name, int macro_id, int race_id, int gender_id)
|
||||
void LearnRecipe()
|
||||
void SendMail(string to, string from, string subject, string message)
|
||||
void GetZoneID()
|
||||
void GetZoneLongName()
|
||||
void GetTimeSeconds()
|
||||
void crosszonesignalclientbychar_id(int char_id, int int_value)
|
||||
void crosszonesignalclientbychar_id(int char_id, int int_value)
|
||||
void crosszonesignalclientbychar_id(string name, int int_value)
|
||||
void crosszonesignalclientbychar_id(string name, int int_value)
|
||||
void crosszonemessageplayerbyname(int channel_id, string name, string message)
|
||||
void crosszonemessageplayerbyname(int channel_id, string name, string message)
|
||||
void enablerecipe()
|
||||
void disablerecipe()
|
||||
void clear_npctype_cache()
|
||||
void qs_send_query()
|
||||
void qs_player_event(int char_id, string message)
|
||||
void crosszonesetentityvariablebynpctypeid(int npc_type_id, string key, string str_value)
|
||||
void crosszonesetentityvariablebyclient_name(string client_name, string key, string str_value)
|
||||
void crosszonesignalnpcbynpctypeid(int npc_type_id, int int_value)
|
||||
void worldwidemarquee(int color_id, int priority, int fade_in, int fade_out, int duration, string message)
|
||||
void debug(string message, int debug_level)
|
||||
void UpdateZoneHeader(string key, string str_value)
|
||||
void quest::spawn_condition(string zone_short, int instance_id, int condition_id, int int_value)
|
||||
uint quest::get_spawn_condition(string zone_short, int instance_id, int condition_id)
|
||||
void quest::toggle_spawn_event(uint event_id, bool is_enabled, bool is_strict, bool reset_base)
|
||||
uint quest::has_zone_flag()
|
||||
void quest::set_zone_flag()
|
||||
void quest::clear_zone_flag()
|
||||
bool quest::summonburiedplayercorpse(int char_id, float dest_x, float dest_y, float dest_z, float dest_heading)
|
||||
bool quest::summonallplayercorpses(int char_id, float dest_x, float dest_y, float dest_z, float dest_heading)
|
||||
uint quest::getplayerburiedcorpsecount()
|
||||
uint quest::buryplayercorpse()
|
||||
void quest::forcedooropen(int door_id, bool alt_mode)
|
||||
void quest::forcedoorclose(int door_id, bool alt_mode)
|
||||
void quest::toggledoorstate()
|
||||
uint quest::isdooropen()
|
||||
void quest::depopzone()
|
||||
void quest::repopzone()
|
||||
void quest::ConnectNodeToNode(int node1, int node2, int teleport, uint doorid)
|
||||
void quest::AddNode(float x, float y, float z, float best_z, int requested_id)
|
||||
void quest::npcrace()
|
||||
void quest::npcgender()
|
||||
void quest::npcsize()
|
||||
void quest::npctexture()
|
||||
void quest::playerrace()
|
||||
void quest::playergender()
|
||||
void quest::playersize()
|
||||
void quest::playertexture()
|
||||
void quest::playerfeature(string str_value, int int_value)
|
||||
uint quest::npcfeature(string str_value, int int_value)
|
||||
uint quest::createBot(string firstname, string lastname, int level, int race_id, int class_id, int gender_id)
|
||||
void quest::taskselector(int task_id1, int task_id2, int task_id%i)
|
||||
void quest::task_setselector()
|
||||
void quest::enabletask(int task_id1, int task_id2, int task_id10)
|
||||
void quest::disabletask(int task_id1, int task_id2, int task_id10)
|
||||
uint quest::istaskenabled()
|
||||
uint quest::istaskactive()
|
||||
uint quest::istaskactivityactive(uint task_id, uint activity_id)
|
||||
void quest::gettaskactivitydonecount(uint task_id, uint activity_id)
|
||||
void quest::updatetaskactivity(uint task_id, uint activity_id, int count, bool ignore_quest_update)
|
||||
void quest::resettaskactivity(uint task_id, uint activity_id)
|
||||
void quest::taskexplorearea()
|
||||
void quest::assigntask(uint task_id, bool enforce_level_requirement)
|
||||
void quest::failtask()
|
||||
int quest::tasktimeleft()
|
||||
int quest::istaskcompleted()
|
||||
int quest::enabledtaskcount()
|
||||
int quest::firsttaskinset()
|
||||
int quest::lasttaskinset()
|
||||
int quest::nexttaskinset(int task_set, uint task_id)
|
||||
int quest::activespeaktask()
|
||||
int quest::activespeakactivity()
|
||||
int quest::activetasksinset()
|
||||
int quest::completedtasksinset()
|
||||
uint quest::istaskaappropriate()
|
||||
void quest::popup(string window_title, string message, int popup_id, int buttons, int duration)
|
||||
void quest::clearspawntimers()
|
||||
void quest::ze(int channel_id, string message)
|
||||
void quest::we(int channel_id, string message)
|
||||
uint quest::getlevel()
|
||||
void quest::creategroundobject(int item_id, float x, float y, float z, float heading, int decay_time)
|
||||
void quest::creategroundobjectfrommodel(string modelname, float x, float y, float z, float heading, int object_type, int decay_time)
|
||||
void quest::createdoor(string modelname, float x, float y, float z, float heading, int object_type, int size)
|
||||
void quest::ModifyNPCStat(int stat_id, string str_value)
|
||||
void quest::collectitems(int item_id, bool remove_item)
|
||||
void quest::UpdateSpawnTimer(uint spawn2_id, uint updated_time_till_repop)
|
||||
void quest::MerchantSetItem(int npc_id, int item_id, int quantity)
|
||||
void quest::MerchantCountItem(int npc_id, int item_id)
|
||||
string quest::varlink()
|
||||
void quest::CreateInstance(string zone_name, int version, int duration)
|
||||
void quest::DestroyInstance()
|
||||
void quest::UpdateInstanceTimer(int instance_id, int duration)
|
||||
void quest::GetInstanceTimer()
|
||||
void quest::GetInstanceTimerByID()
|
||||
void quest::GetInstanceID(string zone_name, int version)
|
||||
string quest::GetCharactersInInstance()
|
||||
void quest::AssignToInstance()
|
||||
void quest::AssignGroupToInstance()
|
||||
void quest::AssignRaidToInstance()
|
||||
void quest::RemoveFromInstance()
|
||||
void quest::RemoveAllFromInstance()
|
||||
void quest::MovePCInstance(int zone_id, int instance_id, float x, float y, float z, float heading)
|
||||
void quest::FlagInstanceByGroupLeader(uint zone, int version)
|
||||
void quest::FlagInstanceByRaidLeader(uint zone, int version)
|
||||
string quest::saylink(string message, bool silent, string link_name)
|
||||
string quest::getguildnamebyid()
|
||||
void quest::SetRunning()
|
||||
uint quest::IsRunning()
|
||||
uint quest::IsEffectInSpell(uint spell_id, int effect_id)
|
||||
uint quest::IsBeneficialSpell()
|
||||
void quest::GetSpellResistType()
|
||||
void quest::GetSpellTargetType()
|
||||
void quest::FlyMode()
|
||||
void quest::factionvalue()
|
||||
void quest::enabletitle()
|
||||
bool quest::checktitle()
|
||||
void quest::removetitle()
|
||||
void quest::wearchange(uint slot, int texture_id, int hero_forge_model_id, int elite_material_id)
|
||||
void quest::voicetell(string client_name, int macro_id, int race_id, int gender_id)
|
||||
void quest::LearnRecipe()
|
||||
void quest::SendMail(string to, string from, string subject, string message)
|
||||
void quest::GetZoneID()
|
||||
string quest::GetZoneLongName()
|
||||
void quest::GetTimeSeconds()
|
||||
void quest::crosszonesignalclientbychar_id(int char_id, int int_value)
|
||||
void quest::crosszonesignalclientbychar_id(int char_id, int int_value)
|
||||
void quest::crosszonesignalclientbychar_id(string name, int int_value)
|
||||
void quest::crosszonesignalclientbychar_id(string name, int int_value)
|
||||
void quest::crosszonemessageplayerbyname(int channel_id, string name, string message)
|
||||
void quest::crosszonemessageplayerbyname(int channel_id, string name, string message)
|
||||
void quest::enablerecipe()
|
||||
void quest::disablerecipe()
|
||||
void quest::clear_npctype_cache()
|
||||
void quest::qs_send_query()
|
||||
void quest::qs_player_event(int char_id, string message)
|
||||
void quest::crosszonesetentityvariablebynpctypeid(int npc_type_id, string key, string str_value)
|
||||
void quest::crosszonesetentityvariablebyclient_name(string client_name, string key, string str_value)
|
||||
void quest::crosszonesignalnpcbynpctypeid(int npc_type_id, int int_value)
|
||||
void quest::worldwidemarquee(int color_id, int priority, int fade_in, int fade_out, int duration, string message)
|
||||
void quest::debug(string message, int debug_level)
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user