mirror of
https://github.com/EQEmu/Server.git
synced 2026-07-02 13:17:16 +00:00
Created Perl General Functions (markdown)
@@ -0,0 +1,219 @@
|
||||
|
||||
```
|
||||
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::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)
|
||||
```
|
||||
Reference in New Issue
Block a user