Skip to main content

Announcement callback information (GUANoticeResult)

Data Structure

GUANoticeRet: Announcement callback information, inherited from GUABaseResult, contains basic information.

ParametersTypeDescription
ReqIDstringSequence number for the notice request
NoticeInfoListList<GUANoticeInfo>Announcement list, refer to the GUANoticeInfo struct

GUANoticeInfo: Structure of the announcement, contains all kinds of announcement information.

ParametersTypeDescription
NoticeIdintNotice ID
BeginTimeintStart Time
EndTimeintEnd Time
UpdateTimeintUpdate Time
PictureListList<GUANoticePictureInfo>List of Pictures
AppId
[Player Network SDK only]
stringIdentifier for the notification in the sender's system, such as when received from Tencent Cloud, app_id corresponds to Tencent Cloud
AppNoticeId
[Player Network SDK only]
stringIdentifier for the notification in the sender's system
Status
[Player Network SDK only]
intNotice Status
1: Published
AreaList
[Player Network SDK only]
stringInformation about the notice belonging to the server zone, businesses decide whether to display it based on the player's current server zone
ContentList
[Player Network SDK only]
List<GUANoticeTextInfo>Content list belonging to the current notice
ExtraData
[Player Network SDK only]
stringExtended information belonging to the notice, configured in the console by the business, parsed independently for use
NoticeType
[MSD only]
intAnnouncement type
10001999 pre-login announcement
2000
2999 post-login announcement
NoticeGroup
[MSD only]
stringNotice group: Custom game
Order
[MSD only]
intorder
ContentType
[MSD only]
intAnnouncement content type
1: Text
2: Image
3: web
Language
[MSD only]
stringAnnouncement content language
TextInfo
[MSD only]
GUANoticeTextInfoAnnouncement content information, refer to GUANoticeTextInfo
WebUrl
[MSD only]
stringWebpage announcement link

GUANoticeTextInfo: Announcement content information.

ParametersTypeDescription
NoticeTitlestringNotice Title
NoticeContentstringNotice Content
ContentId
[Player Network SDK only]
intIdentifier for the content in Player Network SDK system
AppContentId
[Player Network SDK only]
stringIdentifier for the content in the sender's system
Language
[Player Network SDK only]
stringNotice Language Type
UpdateTime
[Player Network SDK only]
intNotice Update Time
ExtraData
[Player Network SDK only]
stringExtended information belonging to the notice, configured in the console by the business, parsed independently for use
PictureList
[Player Network SDK only]
List<GUANoticePictureInfo>List of Pictures
NoticeRedirectUrl
[MSD only]
stringRedirected url

GUANoticePictureInfo: Announcement image.

ParametersTypeDescription
NoticePicUrlstringImage address
NoticePicHashcodestringPicture hash code
NoticePicRedirectUrl
[Player Network SDK only]
stringPicture redirect URL
ExtraData
[Player Network SDK only]
stringPicture additional information
NoticePicTitle
[MSD only]
stringImage title
NoticePicSize
[MSD only]
stringImage size
ScreenDir
[MSD only]
stringScreen orientation
0: Unknown
1: Vertical
2: Landscape mode