You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Removes the given amount of the specified [Item] from the player.
3143
3143
*
@@ -3395,9 +3395,9 @@ namespace LuaPlayer
3395
3395
/**
3396
3396
* Adds a new item to the gossip menu shown to the [Player] on next call to [Player:GossipSendMenu].
3397
3397
*
3398
-
* sender and intid are numbers which are passed directly to the gossip selection handler. Internally they are partly used for the database gossip handling.
3399
-
* code specifies whether to show a box to insert text to. The player inserted text is passed to the gossip selection handler.
3400
-
* money specifies an amount of money the player needs to have to click the option. An error message is shown if the player doesn't have enough money.
3398
+
* sender and intid are numbers which are passed directly to the gossip selection handler. Internally they are partly used for the database gossip handling.
3399
+
* code specifies whether to show a box to insert text to. The player inserted text is passed to the gossip selection handler.
3400
+
* money specifies an amount of money the player needs to have to click the option. An error message is shown if the player doesn't have enough money.
3401
3401
* Note that the money amount is only checked client side and is not removed from the player either. You will need to check again in your code before taking action.
3402
3402
*
3403
3403
* See also: [Player:GossipSendMenu], [Player:GossipAddQuests], [Player:GossipComplete], [Player:GossipClearMenu]
@@ -3483,7 +3483,7 @@ namespace LuaPlayer
3483
3483
* Clears the [Player]s current gossip item list.
3484
3484
*
3485
3485
* See also: [Player:GossipMenuAddItem], [Player:GossipSendMenu], [Player:GossipAddQuests], [Player:GossipComplete]
3486
-
*
3486
+
*
3487
3487
* Note: This is needed when you show a gossip menu without using gossip hello or select hooks which do this automatically.
3488
3488
* Usually this is needed when using [Player] is the sender of a Gossip Menu.
* Removes the given amount of the specified [Item] from the player.
3063
3063
*
@@ -3319,9 +3319,9 @@ namespace LuaPlayer
3319
3319
/**
3320
3320
* Adds a new item to the gossip menu shown to the [Player] on next call to [Player:GossipSendMenu].
3321
3321
*
3322
-
* sender and intid are numbers which are passed directly to the gossip selection handler. Internally they are partly used for the database gossip handling.
3323
-
* code specifies whether to show a box to insert text to. The player inserted text is passed to the gossip selection handler.
3324
-
* money specifies an amount of money the player needs to have to click the option. An error message is shown if the player doesn't have enough money.
3322
+
* sender and intid are numbers which are passed directly to the gossip selection handler. Internally they are partly used for the database gossip handling.
3323
+
* code specifies whether to show a box to insert text to. The player inserted text is passed to the gossip selection handler.
3324
+
* money specifies an amount of money the player needs to have to click the option. An error message is shown if the player doesn't have enough money.
3325
3325
* Note that the money amount is only checked client side and is not removed from the player either. You will need to check again in your code before taking action.
3326
3326
*
3327
3327
* See also: [Player:GossipSendMenu], [Player:GossipAddQuests], [Player:GossipComplete], [Player:GossipClearMenu]
@@ -3351,6 +3351,24 @@ namespace LuaPlayer
3351
3351
return0;
3352
3352
}
3353
3353
3354
+
/**
3355
+
* Adds a new item that acts as a response to which are chosen from a gossip menu shown to the [Player].
3356
+
*
3357
+
* See also: [Player:GossipMenuAddItem], [Player:GossipSendMenu], [Player:GossipAddQuests], [Player:GossipComplete], [Player:GossipClearMenu]
3358
+
*
3359
+
* @param int32 action_menu : number that specifies which gossip menu to show next, or negative to close the current one
3360
+
* @param uint32 action_poi : number that specifies which point of interest to send players to
3361
+
* @param uint32 action_script : number that specifies a script to start
3362
+
*/
3363
+
intGossipMenuAddItemData(Eluna* E, Player* player)
0 commit comments