9
3

LuaFunctions.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. /*
  2. EQ2Emulator: Everquest II Server Emulator
  3. Copyright (C) 2007 EQ2EMulator Development Team (http://www.eq2emulator.net)
  4. This file is part of EQ2Emulator.
  5. EQ2Emulator is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. EQ2Emulator is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with EQ2Emulator. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #ifndef LUA_FUNCTIONS_H
  17. #define LUA_FUNCTIONS_H
  18. #include "../LUA/lua.hpp"
  19. //Sets
  20. int EQ2Emu_lua_SetCurrentHP(lua_State* state);
  21. int EQ2Emu_lua_SetMaxHP(lua_State* state);
  22. int EQ2Emu_lua_SetMaxHPBase(lua_State* state);
  23. int EQ2Emu_lua_SetCurrentPower(lua_State* state);
  24. int EQ2Emu_lua_SetMaxPower(lua_State* state);
  25. int EQ2Emu_lua_SetMaxPowerBase(lua_State* state);
  26. int EQ2Emu_lua_SetHeading(lua_State* state);
  27. int EQ2Emu_lua_SetModelType(lua_State* state);
  28. int EQ2Emu_lua_SetAdventureClass(lua_State* state);
  29. int EQ2Emu_lua_SetTradeskillClass(lua_State* state);
  30. int EQ2Emu_lua_SetMount(lua_State* state);
  31. int EQ2Emu_lua_SetMountColor(lua_State* state);
  32. int EQ2Emu_lua_SetSpeed(lua_State* state);
  33. int EQ2Emu_lua_SetPosition(lua_State* state);
  34. int EQ2Emu_lua_AddSpellBonus(lua_State* state);
  35. int EQ2Emu_lua_RemoveSpellBonus(lua_State* state);
  36. int EQ2Emu_lua_AddSkillBonus(lua_State* state);
  37. int EQ2Emu_lua_RemoveSkillBonus(lua_State* state);
  38. int EQ2Emu_lua_AddControlEffect(lua_State* state);
  39. int EQ2Emu_lua_RemoveControlEffect(lua_State* state);
  40. int EQ2Emu_lua_SetInt(lua_State* state);
  41. int EQ2Emu_lua_SetWis(lua_State* state);
  42. int EQ2Emu_lua_SetSta(lua_State* state);
  43. int EQ2Emu_lua_SetStr(lua_State* state);
  44. int EQ2Emu_lua_SetAgi(lua_State* state);
  45. int EQ2Emu_lua_SetIntBase(lua_State* state);
  46. int EQ2Emu_lua_SetWisBase(lua_State* state);
  47. int EQ2Emu_lua_SetStaBase(lua_State* state);
  48. int EQ2Emu_lua_SetStrBase(lua_State* state);
  49. int EQ2Emu_lua_SetAgiBase(lua_State* state);
  50. int EQ2Emu_lua_SetLootCoin(lua_State* state);
  51. int EQ2Emu_lua_SetQuestYellow(lua_State* state);
  52. //Gets
  53. int EQ2Emu_lua_GetLevel(lua_State* state);
  54. int EQ2Emu_lua_GetCurrentHP(lua_State* state);
  55. int EQ2Emu_lua_GetMaxHP(lua_State* state);
  56. int EQ2Emu_lua_GetMaxHPBase(lua_State* state);
  57. int EQ2Emu_lua_GetCurrentPower(lua_State* state);
  58. int EQ2Emu_lua_GetName(lua_State* state);
  59. int EQ2Emu_lua_GetMaxPower(lua_State* state);
  60. int EQ2Emu_lua_GetMaxPowerBase(lua_State* state);
  61. int EQ2Emu_lua_GetDistance(lua_State* state);
  62. int EQ2Emu_lua_GetX(lua_State* state);
  63. int EQ2Emu_lua_GetY(lua_State* state);
  64. int EQ2Emu_lua_GetZ(lua_State* state);
  65. int EQ2Emu_lua_GetHeading(lua_State* state);
  66. int EQ2Emu_lua_GetModelType(lua_State* state);
  67. int EQ2Emu_lua_GetRace(lua_State* state);
  68. int EQ2Emu_lua_GetRaceName(lua_State* state);
  69. int EQ2Emu_lua_GetMount(lua_State* state);
  70. int EQ2Emu_lua_GetClass(lua_State* state);
  71. int EQ2Emu_lua_GetClassName(lua_State* state);
  72. int EQ2Emu_lua_GetArchetypeName(lua_State* state);
  73. int EQ2Emu_lua_GetSpeed(lua_State* state);
  74. int EQ2Emu_lua_HasMoved(lua_State* state);
  75. int EQ2Emu_lua_GetInt(lua_State* state);
  76. int EQ2Emu_lua_GetWis(lua_State* state);
  77. int EQ2Emu_lua_GetSta(lua_State* state);
  78. int EQ2Emu_lua_GetStr(lua_State* state);
  79. int EQ2Emu_lua_GetAgi(lua_State* state);
  80. int EQ2Emu_lua_GetIntBase(lua_State* state);
  81. int EQ2Emu_lua_GetWisBase(lua_State* state);
  82. int EQ2Emu_lua_GetStaBase(lua_State* state);
  83. int EQ2Emu_lua_GetStrBase(lua_State* state);
  84. int EQ2Emu_lua_GetAgiBase(lua_State* state);
  85. int EQ2Emu_lua_GetLootCoin(lua_State* state);
  86. int EQ2Emu_lua_GetSpawn(lua_State* state);
  87. int EQ2Emu_lua_GetVariableValue(lua_State* state);
  88. int EQ2Emu_lua_GetCoinMessage(lua_State* state);
  89. int EQ2Emu_lua_GetSpawnByGroupID(lua_State* state);
  90. int EQ2Emu_lua_GetSpawnByLocationID(lua_State* state);
  91. int EQ2Emu_lua_GetSpawnID(lua_State* state);
  92. int EQ2Emu_lua_GetSpawnGroupID(lua_State* state);
  93. int EQ2Emu_lua_GetSpawnLocationID(lua_State* state);
  94. int EQ2Emu_lua_GetSpawnLocationPlacementID(lua_State* state);
  95. int EQ2Emu_lua_GetFactionAmount(lua_State* state);
  96. int EQ2Emu_lua_GetGender(lua_State* state);
  97. int EQ2Emu_lua_GetTarget(lua_State* state);
  98. int EQ2Emu_lua_HasFreeSlot(lua_State* state);
  99. int EQ2Emu_lua_HasItemEquipped(lua_State* state);
  100. int EQ2Emu_lua_GetEquippedItemBySlot(lua_State* state);
  101. int EQ2Emu_lua_GetEquippedItemByID(lua_State* state);
  102. int EQ2Emu_lua_GetItemByID(lua_State* state);
  103. int EQ2Emu_lua_GetItemType(lua_State* state);
  104. int EQ2Emu_lua_GetSpellName(lua_State* state);
  105. //Misc
  106. int EQ2Emu_lua_SpawnSet(lua_State* state);
  107. int EQ2Emu_lua_KillSpawn(lua_State* state);
  108. int EQ2Emu_lua_KillSpawnByDistance(lua_State* state);
  109. int EQ2Emu_lua_SpawnSetByDistance(lua_State* state);
  110. int EQ2Emu_lua_SetRequiredQuest(lua_State* state);
  111. int EQ2Emu_lua_SetRequiredHistory(lua_State* state);
  112. int EQ2Emu_lua_Despawn(lua_State* state);
  113. int EQ2Emu_lua_AddHate(lua_State* state);
  114. int EQ2Emu_lua_GetZone(lua_State* state);
  115. int EQ2Emu_lua_GetZoneName(lua_State* state);
  116. int EQ2Emu_lua_GetZoneID(lua_State* state);
  117. int EQ2Emu_lua_Zone(lua_State* state);
  118. int EQ2Emu_lua_ModifyPower(lua_State* state);
  119. int EQ2Emu_lua_ModifyHP(lua_State* state);
  120. int EQ2Emu_lua_ModifyTotalPower(lua_State* state);
  121. int EQ2Emu_lua_ModifyTotalHP(lua_State* state);
  122. int EQ2Emu_lua_SpellHeal(lua_State* state);
  123. int EQ2Emu_lua_SummonItem(lua_State* state);
  124. int EQ2Emu_lua_RemoveItem(lua_State* state);
  125. int EQ2Emu_lua_HasItem(lua_State* state);
  126. int EQ2Emu_lua_Spawn(lua_State* state);
  127. int EQ2Emu_lua_AddSpawnAccess(lua_State* state);
  128. int EQ2Emu_lua_CastSpell(lua_State* state);
  129. int EQ2Emu_lua_SpellDamage(lua_State* state);
  130. int EQ2Emu_lua_FaceTarget(lua_State* state);
  131. int EQ2Emu_lua_MoveToLocation(lua_State* state);
  132. int EQ2Emu_lua_Say(lua_State* state);
  133. int EQ2Emu_lua_Shout(lua_State* state);
  134. int EQ2Emu_lua_SayOOC(lua_State* state);
  135. int EQ2Emu_lua_Emote(lua_State* state);
  136. int EQ2Emu_lua_IsPlayer(lua_State* state);
  137. int EQ2Emu_lua_MovementLoopAdd(lua_State* state);
  138. int EQ2Emu_lua_GetCurrentZoneSafeLocation(lua_State* state);
  139. int EQ2Emu_lua_PlayFlavor(lua_State* state);
  140. int EQ2Emu_lua_PlaySound(lua_State* state);
  141. int EQ2Emu_lua_PlayVoice(lua_State* state);
  142. int EQ2Emu_lua_PlayAnimation(lua_State* state);
  143. int EQ2Emu_lua_AddLootItem(lua_State* state);
  144. int EQ2Emu_lua_RemoveLootItem(lua_State* state);
  145. int EQ2Emu_lua_AddLootCoin(lua_State* state);
  146. int EQ2Emu_lua_GiveLoot(lua_State* state);
  147. int EQ2Emu_lua_HasPendingLoot(lua_State* state);
  148. int EQ2Emu_lua_HasPendingLootItem(lua_State* state);
  149. int EQ2Emu_lua_CreateConversation(lua_State* state);
  150. int EQ2Emu_lua_AddConversationOption(lua_State* state);
  151. int EQ2Emu_lua_StartConversation(lua_State* state);
  152. int EQ2Emu_lua_StartDialogConversation(lua_State* state);
  153. //int EQ2Emu_lua_StartItemConversation(lua_State* state);
  154. int EQ2Emu_lua_CloseConversation(lua_State* state);
  155. int EQ2Emu_lua_CloseItemConversation(lua_State* state);
  156. int EQ2Emu_lua_SetPlayerProximityFunction(lua_State* state);
  157. int EQ2Emu_lua_SetLocationProximityFunction(lua_State* state);
  158. int EQ2Emu_lua_IsBindAllowed(lua_State* state);
  159. int EQ2Emu_lua_IsGateAllowed(lua_State* state);
  160. int EQ2Emu_lua_Bind(lua_State* state);
  161. int EQ2Emu_lua_Gate(lua_State* state);
  162. int EQ2Emu_lua_IsAlive(lua_State* state);
  163. int EQ2Emu_lua_IsInCombat(lua_State* state);
  164. int EQ2Emu_lua_SendMessage(lua_State* state);
  165. int EQ2Emu_lua_SendPopUpMessage(lua_State* state);
  166. int EQ2Emu_lua_SetServerControlFlag(lua_State* state);
  167. int EQ2Emu_lua_ToggleTracking(lua_State* state);
  168. int EQ2Emu_lua_AddPrimaryEntityCommand(lua_State* state);
  169. int EQ2Emu_lua_AddSpellBookEntry(lua_State* state);
  170. int EQ2Emu_lua_Attack(lua_State* state);
  171. int EQ2Emu_lua_ApplySpellVisual(lua_State* state);
  172. int EQ2Emu_lua_Interrupt(lua_State* state);
  173. int EQ2Emu_lua_Stealth(lua_State* state);
  174. int EQ2Emu_lua_IsStealthed(lua_State* state);
  175. int EQ2Emu_lua_IsInvis(lua_State* state);
  176. int EQ2Emu_lua_AddSpawnIDAccess(lua_State* state);
  177. int EQ2Emu_lua_RemoveSpawnIDAccess(lua_State* state);
  178. int EQ2Emu_lua_HasRecipeBook(lua_State* state);
  179. int EQ2Emu_lua_SpawnMove(lua_State* state);
  180. int EQ2Emu_lua_AddTransportSpawn(lua_State* state);
  181. int EQ2Emu_lua_PerformCameraShake(lua_State* state);
  182. //Quest Stuff
  183. int EQ2Emu_lua_SetStepComplete(lua_State* state);
  184. int EQ2Emu_lua_AddStepProgress(lua_State* state);
  185. int EQ2Emu_lua_GetTaskGroupStep(lua_State* state);
  186. int EQ2Emu_lua_QuestStepIsComplete(lua_State* state);
  187. int EQ2Emu_lua_GetQuestStep(lua_State* state);
  188. int EQ2Emu_lua_RegisterQuest(lua_State* state);
  189. int EQ2Emu_lua_OfferQuest(lua_State* state);
  190. int EQ2Emu_lua_SetQuestPrereqLevel(lua_State* state);
  191. int EQ2Emu_lua_AddQuestPrereqQuest(lua_State* state);
  192. int EQ2Emu_lua_AddQuestPrereqItem(lua_State* state);
  193. int EQ2Emu_lua_AddQuestPrereqFaction(lua_State* state);
  194. int EQ2Emu_lua_AddQuestPrereqClass(lua_State* state);
  195. int EQ2Emu_lua_AddQuestPrereqRace(lua_State* state);
  196. int EQ2Emu_lua_AddQuestPrereqModelType(lua_State* state);
  197. int EQ2Emu_lua_AddQuestPrereqTradeskillLevel(lua_State* state);
  198. int EQ2Emu_lua_AddQuestPrereqTradeskillClass(lua_State* state);
  199. int EQ2Emu_lua_AddQuestRewardItem(lua_State* state);
  200. int EQ2Emu_lua_AddQuestSelectableRewardItem(lua_State* state);
  201. int EQ2Emu_lua_AddQuestRewardCoin(lua_State* state);
  202. int EQ2Emu_lua_AddQuestRewardFaction(lua_State* state);
  203. int EQ2Emu_lua_SetQuestRewardStatus(lua_State* state);
  204. int EQ2Emu_lua_SetQuestRewardComment(lua_State* state);
  205. int EQ2Emu_lua_SetQuestRewardExp(lua_State* state);
  206. int EQ2Emu_lua_AddQuestStep(lua_State* state);
  207. int EQ2Emu_lua_AddQuestStepKill(lua_State* state);
  208. int EQ2Emu_lua_AddQuestStepChat(lua_State* state);
  209. int EQ2Emu_lua_AddQuestStepObtainItem(lua_State* state);
  210. int EQ2Emu_lua_AddQuestStepLocation(lua_State* state);
  211. int EQ2Emu_lua_AddQuestStepSpell(lua_State* state);
  212. int EQ2Emu_lua_AddQuestStepCraft(lua_State* state);
  213. int EQ2Emu_lua_AddQuestStepHarvest(lua_State* state);
  214. int EQ2Emu_lua_AddQuestStepCompleteAction(lua_State* state);
  215. int EQ2Emu_lua_AddQuestStepProgressAction(lua_State* state);
  216. int EQ2Emu_lua_SetQuestCompleteAction(lua_State* state);
  217. int EQ2Emu_lua_GiveQuestReward(lua_State* state);
  218. int EQ2Emu_lua_UpdateQuestTaskGroupDescription(lua_State* state);
  219. int EQ2Emu_lua_UpdateQuestStepDescription(lua_State* state);
  220. int EQ2Emu_lua_UpdateQuestDescription(lua_State* state);
  221. int EQ2Emu_lua_UpdateQuestZone(lua_State* state);
  222. int EQ2Emu_lua_SetCompletedDescription(lua_State* state);
  223. int EQ2Emu_lua_ProvidesQuest(lua_State* state);
  224. int EQ2Emu_lua_HasQuest(lua_State* state);
  225. int EQ2Emu_lua_HasCompletedQuest(lua_State* state);
  226. int EQ2Emu_lua_QuestIsComplete(lua_State* state);
  227. int EQ2Emu_lua_QuestReturnNPC(lua_State* state);
  228. int EQ2Emu_lua_GetQuest(lua_State* state);
  229. int EQ2Emu_lua_AddTimer(lua_State* state);
  230. int EQ2Emu_lua_Harvest(lua_State* state);
  231. int EQ2Emu_lua_SetCompleteFlag(lua_State* state);
  232. int EQ2Emu_lua_CanReceiveQuest(lua_State* state);
  233. int EQ2Emu_lua_HasCollectionsToHandIn(lua_State *state);
  234. int EQ2Emu_lua_HandInCollections(lua_State *state);
  235. int EQ2Emu_lua_UseWidget(lua_State* state);
  236. int EQ2Emu_lua_SummonPet(lua_State* state);
  237. int EQ2Emu_lua_Charm(lua_State* state);
  238. int EQ2Emu_lua_SetSpellList(lua_State* state);
  239. int EQ2Emu_lua_GetPet(lua_State* state);
  240. int EQ2Emu_lua_GetGroup(lua_State* state);
  241. int EQ2Emu_lua_CreateOptionWindow(lua_State* state);
  242. int EQ2Emu_lua_AddOptionWindowOption(lua_State* state);
  243. int EQ2Emu_lua_SendOptionWindow(lua_State* state);
  244. int EQ2Emu_lua_GetTradeskillClass(lua_State* state);
  245. int EQ2Emu_lua_GetTradeskillLevel(lua_State* state);
  246. int EQ2Emu_lua_GetTradeskillClassName(lua_State* state);
  247. int EQ2Emu_lua_SetTradeskillLevel(lua_State* state);
  248. int EQ2Emu_lua_SummonDeityPet(lua_State* state);
  249. int EQ2Emu_lua_SummonCosmeticPet(lua_State* state);
  250. int EQ2Emu_lua_DismissPet(lua_State* state);
  251. int EQ2Emu_lua_GetCharmedPet(lua_State* state);
  252. int EQ2Emu_lua_GetDeityPet(lua_State* state);
  253. int EQ2Emu_lua_GetCosmeticPet(lua_State* state);
  254. int EQ2Emu_lua_SetQuestFeatherColor(lua_State* state);
  255. int EQ2Emu_lua_RemoveSpawnAccess(lua_State* state);
  256. int EQ2Emu_lua_SpawnByLocationID(lua_State* state);
  257. int EQ2Emu_lua_SpawnGroupByID(lua_State* state);
  258. int EQ2Emu_lua_CastEntityCommand(lua_State* state);
  259. int EQ2Emu_lua_SetLuaBrain(lua_State* state);
  260. int EQ2Emu_lua_SetBrainTick(lua_State* state);
  261. int EQ2Emu_lua_SetFollowTarget(lua_State* state);
  262. int EQ2Emu_lua_GetFollowTarget(lua_State* state);
  263. int EQ2Emu_lua_ToggleFollow(lua_State* state);
  264. int EQ2Emu_lua_IsFollowing(lua_State* state);
  265. int EQ2Emu_lua_SetTempVariable(lua_State* state);
  266. int EQ2Emu_lua_GetTempVariable(lua_State* state);
  267. int EQ2Emu_lua_GiveQuestItem(lua_State*state);
  268. int EQ2Emu_lua_SetQuestRepeatable(lua_State* state);
  269. int EQ2Emu_lua_AddWard(lua_State* state);
  270. int EQ2Emu_lua_AddToWard(lua_State* state);
  271. int EQ2Emu_lua_RemoveWard(lua_State* state);
  272. int EQ2Emu_lua_GetWardAmountLeft(lua_State* state);
  273. //Combat AI related
  274. int EQ2Emu_lua_SetTarget(lua_State* state);
  275. int EQ2Emu_lua_IsPet(lua_State* state);
  276. int EQ2Emu_lua_GetOwner(lua_State* state);
  277. int EQ2Emu_lua_SetInCombat(lua_State* state);
  278. int EQ2Emu_lua_CompareSpawns(lua_State* state);
  279. int EQ2Emu_lua_Runback(lua_State* state);
  280. int EQ2Emu_lua_GetRunbackDistance(lua_State* state);
  281. int EQ2Emu_lua_IsCasting(lua_State* state);
  282. int EQ2Emu_lua_IsMezzed(lua_State* state);
  283. int EQ2Emu_lua_IsStunned(lua_State* state);
  284. int EQ2Emu_lua_IsMezzedOrStunned(lua_State* state);
  285. int EQ2Emu_lua_ClearEncounter(lua_State* state);
  286. int EQ2Emu_lua_ClearHate(lua_State* state);
  287. int EQ2Emu_lua_GetMostHated(lua_State* state);
  288. int EQ2Emu_lua_GetEncounterSize(lua_State* state);
  289. int EQ2Emu_lua_HasRecovered(lua_State* state);
  290. int EQ2Emu_lua_ProcessMelee(lua_State* state);
  291. int EQ2Emu_lua_ProcessSpell(lua_State* state);
  292. int EQ2Emu_lua_GetEncounter(lua_State* state);
  293. int EQ2Emu_lua_GetHateList(lua_State* state);
  294. int EQ2Emu_lua_HasGroup(lua_State* state);
  295. int EQ2Emu_lua_HasSpellEffect(lua_State* state);
  296. int EQ2Emu_lua_SetSuccessTimer(lua_State* state);
  297. int EQ2Emu_lua_SetFailureTimer(lua_State* state);
  298. int EQ2Emu_lua_IsGroundSpawn(lua_State* state);
  299. int EQ2Emu_lua_CanHarvest(lua_State* state);
  300. int EQ2Emu_lua_SummonDumbFirePet(lua_State* state);
  301. int EQ2Emu_lua_GetSkillValue(lua_State* state);
  302. int EQ2Emu_lua_GetSkillMaxValue(lua_State* state);
  303. int EQ2Emu_lua_GetSkillName(lua_State* state);
  304. int EQ2Emu_lua_SetSkillMaxValue(lua_State* state);
  305. int EQ2Emu_lua_SetSkillValue(lua_State* state);
  306. int EQ2Emu_lua_GetSkill(lua_State* state);
  307. int EQ2Emu_lua_GetSkillIDByName(lua_State* state);
  308. int EQ2Emu_lua_AddProc(lua_State* state);
  309. int EQ2Emu_lua_RemoveProc(lua_State* state);
  310. int EQ2Emu_lua_Knockback(lua_State* state);
  311. int EQ2Emu_lua_IsEpic(lua_State* state);
  312. int EQ2Emu_lua_IsHeroic(lua_State* state);
  313. int EQ2Emu_lua_ProcDamage(lua_State* state);
  314. int EQ2Emu_lua_LastSpellAttackHit(lua_State* state);
  315. int EQ2Emu_lua_IsBehind(lua_State* state);
  316. int EQ2Emu_lua_IsFlanking(lua_State* state);
  317. int EQ2Emu_lua_AddSpellTimer(lua_State* state);
  318. int EQ2Emu_lua_SetItemCount(lua_State* state);
  319. int EQ2Emu_lua_GetItemCount(lua_State* state);
  320. int EQ2Emu_lua_Resurrect(lua_State* state);
  321. int EQ2Emu_lua_BreatheUnderwater(lua_State* state);
  322. int EQ2Emu_lua_BlurVision(lua_State* state);
  323. int EQ2Emu_lua_SetVision(lua_State* state);
  324. int EQ2Emu_lua_GetItemSkillReq(lua_State* state);
  325. int EQ2Emu_lua_SetSpeeedMultiplier(lua_State* state);
  326. int EQ2Emu_lua_SetIllusion(lua_State* state);
  327. int EQ2Emu_lua_ResetIllusion(lua_State* state);
  328. int EQ2Emu_lua_AddThreatTransfer(lua_State* state);
  329. int EQ2Emu_lua_RemoveThreatTransfer(lua_State* state);
  330. int EQ2Emu_lua_CureByType(lua_State* state);
  331. int EQ2Emu_lua_CureByControlEffect(lua_State* state);
  332. int EQ2Emu_lua_AddSpawnSpellBonus(lua_State* state);
  333. int EQ2Emu_lua_CancelSpell(lua_State* state);
  334. int EQ2Emu_lua_RemoveStealth(lua_State* state);
  335. int EQ2Emu_lua_RemoveInvis(lua_State* state);
  336. int EQ2Emu_lua_StartHeroicOpportunity(lua_State* state);
  337. int EQ2Emu_lua_CopySpawnAppearance(lua_State* state);
  338. int EQ2Emu_lua_RemoveTriggerFromSpell(lua_State* state);
  339. int EQ2Emu_lua_GetSpellTriggerCount(lua_State* state);
  340. int EQ2Emu_lua_SetSpellTriggerCount(lua_State* state);
  341. int EQ2Emu_lua_AddImmunitySpell(lua_State* state);
  342. int EQ2Emu_lua_RemoveImmunitySpell(lua_State* state);
  343. int EQ2Emu_lua_SetSpellSnareValue(lua_State* state);
  344. int EQ2Emu_lua_CheckRaceType(lua_State* state);
  345. int EQ2Emu_lua_GetRaceType(lua_State* state);
  346. int EQ2Emu_lua_GetRaceBaseType(lua_State* state);
  347. int EQ2Emu_lua_GetQuestFlags(lua_State* state);
  348. int EQ2Emu_lua_SetQuestFlags(lua_State* state);
  349. int EQ2Emu_lua_SetQuestTimer(lua_State* state);
  350. int EQ2Emu_lua_RemoveQuestStep(lua_State* state);
  351. int EQ2Emu_lua_ResetQuestStep(lua_State* state);
  352. int EQ2Emu_lua_SetQuestTimerComplete(lua_State* state);
  353. int EQ2Emu_lua_AddQuestStepFailureAction(lua_State* state);
  354. int EQ2Emu_lua_SetStepFailed(lua_State* state);
  355. int EQ2Emu_lua_GetQuestCompleteCount(lua_State* state);
  356. int EQ2Emu_lua_SetServerVariable(lua_State* state);
  357. int EQ2Emu_lua_GetServerVariable(lua_State* state);
  358. int EQ2Emu_lua_HasLanguage(lua_State* state);
  359. int EQ2Emu_lua_AddLanguage(lua_State* state);
  360. int EQ2Emu_lua_IsNight(lua_State* state);
  361. int EQ2Emu_lua_AddMultiFloorLift(lua_State* state);
  362. int EQ2Emu_lua_StartAutoMount(lua_State* state);
  363. int EQ2Emu_lua_EndAutoMount(lua_State* state);
  364. int EQ2Emu_lua_IsOnAutoMount(lua_State* state);
  365. int EQ2Emu_lua_SetPlayerHistory(lua_State* state);
  366. int EQ2Emu_lua_GetPlayerHistory(lua_State* state);
  367. int EQ2Emu_lua_SetGridID(lua_State* state);
  368. int EQ2Emu_lua_GetQuestStepProgress(lua_State* state);
  369. int EQ2Emu_lua_SetPlayerLevel(lua_State* state);
  370. int EQ2Emu_lua_AddCoin(lua_State* state);
  371. int EQ2Emu_lua_RemoveCoin(lua_State* state);
  372. int EQ2Emu_lua_GetPlayersInZone(lua_State* state);
  373. int EQ2Emu_lua_SetSpawnAnimation(lua_State* state);
  374. int EQ2Emu_lua_GetClientVersion(lua_State* state);
  375. int EQ2Emu_lua_GetItemID(lua_State* state);
  376. int EQ2Emu_lua_IsEntity(lua_State* state);
  377. int EQ2Emu_lua_GetOrigX(lua_State* state);
  378. int EQ2Emu_lua_GetOrigY(lua_State* state);
  379. int EQ2Emu_lua_GetOrigZ(lua_State* state);
  380. int EQ2Emu_lua_GetPCTOfHP(lua_State* state);
  381. int EQ2Emu_lua_GetPCTOfPower(lua_State* state);
  382. int EQ2Emu_lua_GetBoundZoneID(lua_State* state);
  383. int EQ2Emu_lua_Evac(lua_State* state);
  384. int EQ2Emu_lua_GetSpellTier(lua_State* state);
  385. int EQ2Emu_lua_GetSpellID(lua_State* state);
  386. int EQ2Emu_lua_StartTransmute(lua_State* state);
  387. int EQ2Emu_lua_CompleteTransmute(lua_State* state);
  388. int EQ2Emu_lua_ProcHate(lua_State* state);
  389. #endif