Refactor API functions to improve parameter aliasing and enhance documentation clarity
This commit is contained in:
@@ -1,23 +1,25 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
---@meta
|
||||
|
||||
---@param index 17
|
||||
---@param 1
|
||||
---@param 2
|
||||
---@param 3
|
||||
---@param 4
|
||||
---@param 5
|
||||
---@param 6
|
||||
---@param 7
|
||||
---@param 8
|
||||
---@param 9
|
||||
---@param 10
|
||||
---@param 11
|
||||
---@param 12
|
||||
---@param 13
|
||||
---@param 15
|
||||
---@param 16
|
||||
---@param 17
|
||||
---@param enabled boolean
|
||||
---@alias guildControlRankFlag
|
||||
---| 1 - Guildchat listen
|
||||
---| 2 - Guildchat speak
|
||||
---| 3 - Officerchat listen
|
||||
---| 4 - Officerchat speak
|
||||
---| 5 - Promote
|
||||
---| 6 - Demote
|
||||
---| 7 - Invite Member
|
||||
---| 8 - Remove Member
|
||||
---| 9 - Set MOTD
|
||||
---| 10 - Edit Public Notes
|
||||
---| 11 - View Officer Note
|
||||
---| 12 - Edit Officer Note
|
||||
---| 13 - Modify Guild Info
|
||||
---| 15 - Use guild funds for repairs
|
||||
---| 16 - Withdraw gold from the guild bank
|
||||
---| 17 - Create Guild Event
|
||||
|
||||
---@param index guildControlRankFlag
|
||||
---@param enabled boolean
|
||||
---Enables or disables a privilege for the guild rank being edited. Changes are not saved until a call is made to GuildControlSaveRank().
|
||||
function GuildControlSetRankFlag(index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, enabled) end
|
||||
function GuildControlSetRankFlag(index, enabled) end
|
||||
|
||||
Reference in New Issue
Block a user