GUANoticeResult
Data Structures
- Unity
- Unreal Engine
GUANoticeRet: Notice callback information, inherits from GUABaseResult, which includes basic information.
| Parameter | Type | Description |
|---|---|---|
| ReqID | string | Request notice serial no. |
| NoticeInfoList | List<GUANoticeInfo> | Notice list, see the GUANoticeInfo body |
GUANoticeInfo: Notice body which includes various notice information.
| Parameter | Type | Description |
|---|---|---|
| NoticeId | int | Notice ID |
| BeginTime | int | Start time |
| EndTime | int | End time |
| UpdateTime | int | Update time |
| PictureList | List<GUANoticePictureInfo> | Image list |
| AppId [Player Network SDK Only] | string | ID of the notice push system. If the content is pushed from Tencent Cloud, the app ID is Tencent Cloud. |
| AppNoticeId [Player Network SDK Only] | string | ID of the notice in the push system |
| Status [Player Network SDK Only] | int | Notice status 1: Released |
| AreaList [Player Network SDK Only] | string | Information for the notice's game server. The game independently determines the player's game server and decides whether to display this. |
| ContentList [Player Network SDK Only] | List<GUANoticeTextInfo> | Content list of the current notice |
| ExtraData [Player Network SDK Only] | string | Notice's extended information, configured by the game in Player Network Console and independently parsed |
| NoticeType [MSDK Only] | int | Notice type 1000 2000 |
| NoticeGroup [MSDK Only] | string | Notice group: game customization |
| Order [MSDK Only] | int | order |
| ContentType [MSDK Only] | int | Notice content type 1: text 2: image 3: web |
| Language [MSDK Only] | string | Notice content language |
| TextInfo [MSDK Only] | GUANoticeTextInfo | Notice content, see GUANoticeTextInfo. |
| WebUrl [MSDK Only] | string | Webpage announcement link |
GUANoticeTextInfo: Notice content
| Parameter | Type | Description |
|---|---|---|
| NoticeTitle | string | Notice title |
| NoticeContent | string | Notice text content |
| ContentId [Player Network SDK Only] | int | ID of this content in the Player Network SDK system |
| AppContentId [Player Network SDK Only] | string | ID of this content in the push 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 | Notice's extended information, configured by the game in Player Network Console and independently parsed |
| PictureList [Player Network SDK Only] | List<GUANoticePictureInfo> | Image list |
| NoticeRedirectUrl [MSDK Only] | string | Redirected url |
GUANoticePictureInfo: Notice image
| Parameter | Type | Description |
|---|---|---|
| NoticePicUrl | string | Image address |
| NoticePicHashcode | string | Image hash code |
| NoticePicRedirectUrl [Player Network SDK Only] | string | Image redirect URL |
| ExtraData [Player Network SDK Only] | string | Additional information for the image |
| NoticePicTitle [MSDK Only] | string | Image title |
| NoticePicSize [MSDK Only] | string | Image size |
| ScreenDir [MSDK Only] | string | Screen orientation 0: unknown 1: partrial 2: landscape |
GUANoticeResult: Notice callback information, inherits from GUABaseResult, which includes basic information.
| Parameter | Type | Description |
|---|---|---|
| req_id | std::string | Request notice serial no. |
| notice_info_list | std::vector<GUANoticeInfo> | Notice list, see the GUANoticeInfo body |
GUANoticeInfo: Notice body which includes various notice information
| Parameter | 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> | Image list |
| app_id [Player Network SDK Only] | std::string | ID of the notice push system. If the content is pushed from Tencent Cloud, the app ID is Tencent Cloud. |
| app_notice_id [Player Network SDK Only] | std::string | ID of the notice in the push system |
| status [Player Network SDK Only] | int | Notice status 1: Released |
| area_list [Player Network SDK Only] | std::string | Information for the notice's game server. The game independently determines the player's game server and decides whether to display this. |
| ExtraData [Player Network SDK Only] | std::string | Notice's extended information, configured by the game in Player Network Console and independently parsed |
| content_list [Player Network SDK Only] | std::vector<GUANoticeTextInfo> | Content list of the current notice |
| notice_type [MSDK Only] | int | Notice type 1000 2000 |
| notice_group [MSDK Only] | std::string | Notice group: game customization |
| order [MSDK Only] | int | order |
| content_type [MSDK Only] | int | Notice content type 1: text 2: image 3: web |
| language [MSDK Only] | std::string | Notice content language |
| text_info [MSDK Only] | GUANoticeTextInfo | Notice content, see GUANoticeTextInfo. |
| web_url [MSDK Only] | std::string | Webpage announcement link |
GUANoticeTextInfo: Notice content
| Parameter | Type | Description |
|---|---|---|
| title | std::string | Notice title |
| content | std::string | Notice text content |
| content_id [Player Network SDK Only] | int | ID of this content in the Player Network SDK system |
| app_content_id [Player Network SDK Only] | std::string | ID of this content in the push 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 | Notice's extended information, configured by the game in Player Network Console and independently parsed |
| picture_list [Player Network SDK Only] | std::vector<GUANoticePictureInfo> | Image list |
| redirect_url [MSDK Only] | std::string | Redirected url |
GUANoticePictureInfo: Notice image
| Parameter | Type | Description |
|---|---|---|
| pic_url | std::string | Image address |
| pic_hash | std::string | Image hash code |
| pic_redirect_url [Player Network SDK Only] | std::string | Image redirect URL |
| extra_data [Player Network SDK Only] | std::string | Additional information for the image |
| pic_title [MSDK Only] | std::string | Image title |
| pic_size [MSDK Only] | std::string | Image size |
| screen_dir [MSDK Only] | int | Screen orientation 0: unknown 1: partrial 2: landscape |