Announcement callback information (GUANoticeResult)
Data Structure
- Unity
- Unreal Engine
GUANoticeRet: Announcement callback information, inherited from GUABaseResult, contains basic information.
| Parameters | Type | Description |
|---|---|---|
| ReqID | string | Sequence number for the notice request |
| NoticeInfoList | List<GUANoticeInfo> | Announcement list, refer to the GUANoticeInfo struct |
GUANoticeInfo: Structure of the announcement, contains all kinds of announcement information.
| Parameters | Type | Description |
|---|---|---|
| NoticeId | int | Notice ID |
| BeginTime | int | Start Time |
| EndTime | int | End Time |
| UpdateTime | int | Update Time |
| PictureList | List<GUANoticePictureInfo> | List of Pictures |
| AppId [Player Network SDK only] | string | Identifier 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] | string | Identifier for the notification in the sender's system |
| Status [Player Network SDK only] | int | Notice Status 1: Published |
| AreaList [Player Network SDK only] | string | Information 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] | string | Extended information belonging to the notice, configured in the console by the business, parsed independently for use |
| NoticeType [MSD only] | int | Announcement type 1000 2000 |
| NoticeGroup [MSD only] | string | Notice group: Custom game |
| Order [MSD only] | int | order |
| ContentType [MSD only] | int | Announcement content type 1: Text 2: Image 3: web |
| Language [MSD only] | string | Announcement content language |
| TextInfo [MSD only] | GUANoticeTextInfo | Announcement content information, refer to GUANoticeTextInfo |
| WebUrl [MSD only] | string | Webpage announcement link |
GUANoticeTextInfo: Announcement content information.
| Parameters | Type | Description |
|---|---|---|
| NoticeTitle | string | Notice Title |
| NoticeContent | string | Notice Content |
| ContentId [Player Network SDK only] | int | Identifier for the content in Player Network SDK system |
| AppContentId [Player Network SDK only] | string | Identifier for the content in the sender's system |
| Language [Player Network SDK only] | string | Notice Language Type |
| UpdateTime [Player Network SDK only] | int | Notice Update Time |
| ExtraData [Player Network SDK only] | string | Extended 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] | string | Redirected url |
GUANoticePictureInfo: Announcement image.
| Parameters | Type | Description |
|---|---|---|
| NoticePicUrl | string | Image address |
| NoticePicHashcode | string | Picture hash code |
| NoticePicRedirectUrl [Player Network SDK only] | string | Picture redirect URL |
| ExtraData [Player Network SDK only] | string | Picture additional information |
| NoticePicTitle [MSD only] | string | Image title |
| NoticePicSize [MSD only] | string | Image size |
| ScreenDir [MSD only] | string | Screen orientation 0: Unknown 1: Vertical 2: Landscape mode |
GUANoticeResult: Announcement callback information, inherited from GUABaseResult, contains basic information.
| Parameters | Type | Description |
|---|---|---|
| req_id | std::string | Sequence number for the notice request |
| notice_info_list | std::vector<GUANoticeInfo> | Announcement list, refer to the GUANoticeInfo struct |
GUANoticeInfo: Structure of the announcement, contains all kinds of announcement information.
| Parameters | Type | Description |
|---|---|---|
| notice_id | int | Notice ID |
| begin_time | int | Start Time |
| end_time | int | End Time |
| update_time | int | Update Time |
| pic_url_list | std::vector<GUANoticePictureInfo> | List of Pictures |
| app_id [Player Network SDK only] | std::string | Identifier for the notification in the sender's system, such as when received from Tencent Cloud, app_id corresponds to Tencent Cloud |
| app_notice_id [Player Network SDK only] | std::string | Identifier for the notification in the sender's system |
| status [Player Network SDK only] | int | Notice Status 1: Published |
| area_list [Player Network SDK only] | std::string | Information about the notice belonging to the server zone, businesses decide whether to display it based on the player's current server zone |
| ExtraData [Player Network SDK only] | std::string | Extended information belonging to the notice, configured in the console by the business, parsed independently for use |
| content_list [Player Network SDK only] | std::vector<GUANoticeTextInfo> | Content list belonging to the current notice |
| notice_type [MSD only] | int | Announcement type 1000 2000 |
| notice_group [MSD only] | std::string | Notice group: Custom game |
| order [MSD only] | int | order |
| content_type [MSD only] | int | Announcement content type 1: Text 2: Image 3: web |
| language [MSD only] | std::string | Announcement content language |
| text_info [MSD only] | GUANoticeTextInfo | Announcement content information, refer to GUANoticeTextInfo |
| web_url [MSD only] | std::string | Webpage announcement link |
GUANoticeTextInfo: Announcement content information.
| Parameters | Type | Description |
|---|---|---|
| title | std::string | Notice Title |
| content | std::string | Notice Content |
| content_id [Player Network SDK only] | int | Identifier for the content in Player Network SDK system |
| app_content_id [Player Network SDK only] | std::string | Identifier for the content in the sender's system |
| lang_type [Player Network SDK only] | std::string | Notice Language Type |
| update_time [Player Network SDK only] | int | Notice Update Time |
| extra_data [Player Network SDK only] | std::string | Extended information belonging to the notice, configured in the console by the business, parsed independently for use |
| picture_list [Player Network SDK only] | std::vector<GUANoticePictureInfo> | List of Pictures |
| redirect_url [MSD only] | std::string | Redirected url |
GUANoticePictureInfo: Announcement image.
| Parameters | Type | Description |
|---|---|---|
| pic_url | std::string | Image address |
| pic_hash | std::string | Picture hash code |
| pic_redirect_url [Player Network SDK only] | std::string | Picture redirect URL |
| extra_data [Player Network SDK only] | std::string | Picture additional information |
| pic_title [MSD only] | std::string | Image title |
| pic_size [MSD only] | std::string | Image size |
| screen_dir [MSD only] | int | Screen orientation 0: Unknown 1: Vertical 2: Landscape mode |