diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-19 19:14:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-19 19:14:11 +0300 |
commit | 06c100e280e7174095ce40745231f14326862010 (patch) | |
tree | 8606bca729e00648f2517f88623e05ff81c1e90f /src/enums | |
parent | acc4afeab30c559fa111f102e2db006039e249e2 (diff) | |
download | plus-06c100e280e7174095ce40745231f14326862010.tar.gz plus-06c100e280e7174095ce40745231f14326862010.tar.bz2 plus-06c100e280e7174095ce40745231f14326862010.tar.xz plus-06c100e280e7174095ce40745231f14326862010.zip |
Load commands for each group from groups.xml
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/resources/servercommandtype.h | 278 |
1 files changed, 9 insertions, 269 deletions
diff --git a/src/enums/resources/servercommandtype.h b/src/enums/resources/servercommandtype.h index 81ea79bf8..a22408709 100644 --- a/src/enums/resources/servercommandtype.h +++ b/src/enums/resources/servercommandtype.h @@ -23,279 +23,19 @@ #include "enums/simpletypes/enumdefines.h" +#define servercommandFirst(name) name = 0, +#define servercommand(name) name, +#define servercommand2(name1, name2) name1, + enumStart(ServerCommandType) { -// Hercules commands - warp = 0, - where, - jumpto, - jump, - who, - who2, - who3, - whomap, - whomap2, - whomap3, - whogm, - save, - load, - speed, - storage, - guildstorage, - option, - hide, - jobchange, - kill, - alive, - kami, - kamib, - kamic, - lkami, - heal, - item, - item2, - itembound, - itembound2, - itemreset, - clearstorage, - cleargstorage, - clearcart, - blvl, - jlvl, - help, - pvpoff, - pvpon, - gvgoff, - gvgon, - model, - go, - monster, - monstersmall, - monsterbig, - killmonster, - killmonster2, - refine, - produce, - memo, - gat, - displaystatus, - stpoint, - skpoint, - zeny, - str, - agi, - vit, - int_, - dex, - luk, - glvl, - makeegg, - hatch, - petfriendly, - pethungry, - petrename, - recall, - night, - day, - doom, - doommap, - raise, - raisemap, - kick, - kickall, - allskill, - questskill, - lostskill, - spiritball, - party, - guild, - breakguild, - agitstart, - agitend, - mapexit, - idsearch, - broadcast, - localbroadcast, - recallall, - reloaditemdb, - reloadmobdb, - reloadskilldb, - reloadscript, - reloadatcommand, - reloadbattleconf, - reloadstatusdb, - reloadpcdb, - mapinfo, - dye, - hairstyle, - haircolor, - allstats, - block, - ban, - charban, - unblock, - charunban, - unban, - mount, - guildspy, - partyspy, - repairall, - guildrecall, - partyrecall, - nuke, - shownpc, - hidenpc, - loadnpc, - unloadnpc, - time, - jail, - unjail, - jailfor, - jailtime, - disguise, - undisguise, - email, - effect, - follow, - addwarp, - skillon, - skilloff, - killer, - npcmove, - killable, - dropall, - storeall, - skillid, - useskill, - displayskill, - snow, - sakura, - clouds, - clouds2, - fog, - fireworks, - leaves, - summon, - adjgroup, - trade, - send, - setbattleflag, - unmute, - clearweather, - uptime, - changesex, - mute, - refresh, - refreshall, - identify, - misceffect, - mobsearch, - cleanmap, - cleanarea, - npctalk, - pettalk, - users, - reset, - skilltree, - marry, - divorce, - sound, - undisguiseall, - disguiseall, - changelook, - autoloot, - alootid, - autoloottype, - mobinfo, - exp, - version, - mutearea, - rates, - iteminfo, - whodrops, - whereis, - mapflag, - me, - monsterignore, - fakename, - size, - showexp, - showzeny, - showdelay, - autotrade, - changegm, - changeleader, - partyoption, - invite, - duel, - leave, - accept, - reject, - clone, - slaveclone, - evilclone, - tonpc, - commands, - noask, - request, - homlevel, - homevolution, - hommutate, - makehomun, - homfriendly, - homhungry, - homtalk, - hominfo, - homstats, - homshuffle, - showmobs, - feelreset, - auction, - mail, - noks, - allowks, - cash, - points, - agitstart2, - agitend2, - skreset, - streset, - storagelist, - cartlist, - itemlist, - stats, - delitem, - charcommands, - font, - accinfo, - set, - reloadquestdb, - undisguiseguild, - disguiseguild, - sizeall, - sizeguild, - addperm, - rmvperm, - unloadnpcfile, - cart, - cashmount, - join, - channel, - fontcolor, - searchstore, - costume, - skdebug, - cddebug, - lang, - bodystyle, - setskill, - -// Evol commands - slide, - serverexit, - +#include "resources/servercommands.inc" Max } enumEnd(ServerCommandType); +#undef servercommandFirst +#undef servercommand +#undef servercommand2 + #endif // ENUMS_RESOURCES_SERVERCOMMANDTYPE_H |