Skip to content

Commit

Permalink
chore:LuaEngine/GuildMethods): Fix doc generation (#246)
Browse files Browse the repository at this point in the history
Co-authored-by: 55Honey <[email protected]>
  • Loading branch information
iThorgrim and 55Honey authored Feb 5, 2025
1 parent a261c1c commit f3e6246
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/LuaEngine/methods/GuildMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ namespace LuaGuild
* GUILD_MEMBER_DATA_LEVEL = 1
* };
*
* @param [Player] player = plkayer you need to update data
* @param [GuildMemberData] dataid = data you need to update
* @param [Player] player : plkayer you need to update data
* @param [GuildMemberData] dataid : data you need to update
* @param uint32 value
*/
int UpdateMemberData(lua_State* L, Guild* guild)
Expand All @@ -274,10 +274,10 @@ namespace LuaGuild
/**
* Send message to [Guild] from specific [Player].
*
* @param [Player] player = the [Player] is the author of the message
* @param bool officierOnly = send message only on officier channel
* @param string msg = the message you need to send
* @param uint32 lang = language the [Player] will speak
* @param [Player] player : the [Player] is the author of the message
* @param bool officierOnly : send message only on officier channel
* @param string msg : the message you need to send
* @param uint32 lang : language the [Player] will speak
*/
int SendMessage(lua_State* L, Guild* guild)
{
Expand All @@ -293,10 +293,10 @@ namespace LuaGuild
/**
* Invites [Guild] members to events based on level and rank filters.
*
* @param Player player = who sends the invitation
* @param minLevel = the required min level
* @param maxLevel = the required max level
* @param minRank = the required min rank
* @param Player player : who sends the invitation
* @param minLevel : the required min level
* @param maxLevel : the required max level
* @param minRank : the required min rank
*/
int MassInviteToEvent(lua_State* L, Guild* guild)
{
Expand All @@ -312,12 +312,12 @@ namespace LuaGuild
/**
* Swap item from a specific tab and slot [Guild] bank to another one.
*
* @param [Player] player = who Swap the item
* @param uint8 tabId = source tab id
* @param uint8 slotId = source slot id
* @param uint8 destTabId = destination tab id
* @param uint8 destSlotId = destination slot id
* @param uint8 splitedAmount = if the item is stackable, how much should be swaped
* @param [Player] player : who Swap the item
* @param uint8 tabId : source tab id
* @param uint8 slotId : source slot id
* @param uint8 destTabId : destination tab id
* @param uint8 destSlotId : destination slot id
* @param uint8 splitedAmount : if the item is stackable, how much should be swaped
*/
int SwapItems(lua_State* L, Guild* guild)
{
Expand All @@ -335,13 +335,13 @@ namespace LuaGuild
/**
* Swap an item from a specific tab and location in the [guild] bank to the bags and locations in the inventory of a specific [player] and vice versa.
*
* @param [Player] player = who Swap the item
* @param bool toChar = the item goes to the [Player]'s inventory or comes from the [Player]'s inventory
* @param uint8 tabId = tab id
* @param uint8 slotId = slot id
* @param uint8 playerBag = bag id
* @param uint8 playerSlotId = slot id
* @param uint32 splitedAmount = if the item is stackable, how much should be swaped
* @param [Player] player : who Swap the item
* @param bool toChar : the item goes to the [Player]'s inventory or comes from the [Player]'s inventory
* @param uint8 tabId : tab id
* @param uint8 slotId : slot id
* @param uint8 playerBag : bag id
* @param uint8 playerSlotId : slot id
* @param uint32 splitedAmount : if the item is stackable, how much should be swaped
*/
int SwapItemsWithInventory(lua_State* L, Guild* guild)
{
Expand Down Expand Up @@ -391,8 +391,8 @@ namespace LuaGuild
/**
* Modify the [Guild] bank money. You can deposit or withdraw.
*
* @param uint64 amount = amount to add or remove
* @param bool add = true (add money) | false (withdraw money)
* @param uint64 amount : amount to add or remove
* @param bool add : true (add money) | false (withdraw money)
* @return bool is_applied
*/
int ModifyBankMoney(lua_State* L, Guild* guild)
Expand Down

0 comments on commit f3e6246

Please sign in to comment.