v0.13.8

C_GuildInfo

namespaceavailable in: camelot

Status in wowlua

39 functions: 24 implemented, 0 recorded, 15 guessed. 33 events, 4 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AreGuildEventsEnabledWhether guild events are available. · by wowlua
(): boolean
guessed
CanEditOfficerNoteReturns true if the player can edit guild officer notes.
(): boolean
implemented
CanSpeakInGuildChatReturns true if the player can use guild chat.
(): boolean
implemented
CanViewOfficerNoteReturns true if the player can view guild officer notes.
(): boolean
implemented
DemoteDemotes the specified player in the guild.
(name: string)
implemented
DisbandDisbands the guild; no warning is given.
()
implemented
GetGuildNewsInfoReturns a guild news entry, or nothing. · by wowlua
(index: number): GuildNewsInfo?
guessed
GetGuildRankOrderReturns the current rank of a guild member.
(guid: string): number
implemented
GetGuildTabardInfoReturns the colors and emblem of a guild's tabard, or nothing. · by wowlua
(unit: string?): GuildTabardInfo?
guessed
GetInfoTextReturns the guild's info text. · by wowlua
(): string
implemented
GetMOTDReturns the guild's message of the day. · by wowlua
(): string
implemented
GetPreferredPlaySettingsReturns the guild's preferred play settings. · by wowlua
(): (boolean, number, number, number, number, number)
guessed
GetPreferredPlaySettingsFeaturesReturns which preferred play settings the guild can set. · by wowlua
(): (boolean, boolean)
implemented
GuildControlGetRankFlagsReturns the permission flags for a rank index.
(rankOrder: number): boolean[]
implemented
GuildRosterRequests updated guild roster information from the server.
()
implemented
InviteInvites a player to the guild.
(name: string)
implemented
IsDiscordStreamSeparateWhether the guild's Discord stream is kept separate from guild chat. · by wowlua
(): boolean
guessed
IsEncounterGuildNewsEnabledWhether boss kills are posted to the guild news. · by wowlua
(): boolean
guessed
IsGuildOfficerWhether the player is a guild officer. · by wowlua
(): boolean
implemented
IsGuildRankAssignmentAllowedWhether the player can assign the guild rank to the member. · by wowlua
(guid: string, rankOrder: number): boolean
implemented
IsGuildReputationEnabledWhether guild reputation is available. · by wowlua
(): boolean
guessed
LeaveRemoves you from your current guild.
()
implemented
MemberExistsByNameWhether the guild has a member with the name, as the guild roster names it. · by wowlua
(name: string): boolean
implemented
PromotePromotes the specified player in the guild.
(name: string)
implemented
QueryGuildMemberRecipesShows the guild member recipes for a profession.
(guildMemberGUID: string, skillLineID: number)
guessed
QueryGuildMembersForRecipeAsks the server which guild members know a recipe. · by wowlua
(skillLineID: number, recipeSpellID: number, recipeLevel: number?): number?
guessed
RemoveFromGuildRemoves a member from the guild.
(guid: string)
implemented
RequestGuildRenameRequests to rename the guild. · by wowlua
(desiredName: string)
guessed
RequestGuildRenameRefundRequests a refund for a guild rename. · by wowlua
()
guessed
RequestPreferredPlaySettingsRequests the guild's preferred play settings from the server. · by wowlua
(): boolean
implemented
RequestRenameNameCheckAsks the server whether the name can be used for the guild. · by wowlua
(desiredName: string)
guessed
RequestRenameStatusRequests the status of the guild's rename from the server. · by wowlua
(): boolean
guessed
SetGuildRankOrderSets the guild rank for a member.
(guid: string, rankOrder: number)
guessed
SetInfoTextSets the guild's info text, for a rank that may change it. · by wowlua
(infoText: string)
implemented
SetLeaderTransfers guild leadership to another player.
(name: string)
implemented
SetMOTDSets the guild message of the day.
(motd: string)
implemented
SetNoteSets the guild note for a member.
(guid: string, note: string, isPublic: boolean)
implemented
SetPreferredPlaySettingsSets the guild's preferred play settings. · by wowlua
(preferredLocaleID: number, preferredDatacenterLocalityID: number): boolean
guessed
UninviteRemoves a player from the guild.
(name: string)
implemented

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
CLOSE_TABARD_FRAMEno payloadnot implemented
DISABLE_DECLINE_GUILD_INVITEno payloadnot implemented
ENABLE_DECLINE_GUILD_INVITEno payloadnot implemented
GUILDTABARD_UPDATEno payloadnot implemented
GUILD_CHALLENGE_COMPLETEDchallengeType: number, currentCount: number, maxCount: number, goldAwarded: numbernot implemented
GUILD_CHALLENGE_UPDATEDno payloadnot implemented
GUILD_EVENT_LOG_UPDATEno payloadnot implemented
GUILD_INVITE_CANCELno payloadnot implemented
GUILD_INVITE_REQUESTinviter: string, guildName: string, guildAchievementPoints: number, oldGuildName: string, isNewGuild: boolean?, tabardInfo: GuildTabardInfo?not implemented
GUILD_MOTDmotdText: stringimplemented
GUILD_NEWS_UPDATEno payloadnot implemented
GUILD_PARTY_STATE_UPDATEDinGuildParty: booleannot implemented
GUILD_PREFERRED_PLAY_SETTINGS_UPDATEDstatus: PreferredPlaySettingsStatus, preferredLocaleID: number, preferredDatacenterLocalityID: number, lastPreferredLocaleChangeDate: number, lastPreferredDatacenterLocalityChangeDate: numbernot implemented
GUILD_RANKS_UPDATEno payloadnot implemented
GUILD_RANKS_UPDATE_ACTIVE_PLAYERno payloadnot implemented
GUILD_RECIPE_KNOWN_BY_MEMBERSno payloadnot implemented
GUILD_REGISTRAR_CLOSEDno payloadnot implemented
GUILD_REGISTRAR_SHOWno payloadnot implemented
GUILD_RENAME_NAME_CHECKdesiredName: string, status: GuildErrorType, nameErrorToken: string?not implemented
GUILD_RENAME_REFUND_RESULTguildName: string, status: GuildErrorTypenot implemented
GUILD_RENAME_REQUIREDflagSet: booleannot implemented
GUILD_RENAME_STATUS_UPDATEstatus: GuildRenameStatusnot implemented
GUILD_REWARDS_LISTno payloadnot implemented
GUILD_REWARDS_LIST_UPDATEno payloadnot implemented
GUILD_ROSTER_UPDATEcanRequestRosterUpdate: booleanimplemented
GUILD_TRADESKILL_UPDATEno payloadnot implemented
OPEN_TABARD_FRAMEno payloadnot implemented
PLAYER_GUILD_UPDATEunitTarget: stringimplemented
REQUESTED_GUILD_RENAME_RESULTnewName: string, status: GuildErrorTypenot implemented
REQUIRED_GUILD_RENAME_RESULTsuccess: booleannot implemented
TABARD_CANSAVE_CHANGEDno payloadimplemented
TABARD_SAVE_PENDINGno payloadnot implemented
UNIT_GUILD_LEVELnewLevel: numbernot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("CLOSE_TABARD_FRAME").

Structures

  • GuildNewsInfo · isSticky, isHeader, newsType, whoText?, whatText?, newsDataID, data, weekday, day, month, year, guildMembersPresent
  • GuildRenameStatus · isNameChangeEnabled, isPlayerGuildMaster, refundEligibleEndTime, nextRenameTime, renamePrice, refundAmount, currentGuildMoney, result, oldGuildName, reservedName, reservedNameExpirationTime

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (GuildInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.