Documentation ¶
Overview ¶
Package cloudgame 包含云游戏API相关结构体
Index ¶
- type AlibabaCgameAvatarUserbodyQueryAPIRequest
- func (r AlibabaCgameAvatarUserbodyQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaCgameAvatarUserbodyQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaCgameAvatarUserbodyQueryAPIRequest) GetMixUserId() string
- func (r *AlibabaCgameAvatarUserbodyQueryAPIRequest) SetMixUserId(_mixUserId string) error
- type AlibabaCgameAvatarUserbodyQueryAPIResponse
- type AlibabaCgameAvatarUserbodyQueryAPIResponseModel
- type AlibabaCgameAvatarUserbodyQueryData
- type AlibabaCgameAvatarUserbodyQueryResult
- type AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest
- func (r AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) GetApiMethodName() string
- func (r AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) GetApiParams() url.Values
- func (r AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) GetReqParam() *AppDeletionCallbackRequest
- func (r *AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) SetReqParam(_reqParam *AppDeletionCallbackRequest) error
- type AlibabaCgameContentDistributionAppDeletionUpdateAPIResponse
- type AlibabaCgameContentDistributionAppDeletionUpdateAPIResponseModel
- type AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest
- func (r AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) GetApiMethodName() string
- func (r AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) GetApiParams() url.Values
- func (r AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) GetReqParam() *FileDownloadCallbackRequest
- func (r *AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) SetReqParam(_reqParam *FileDownloadCallbackRequest) error
- type AlibabaCgameContentDistributionFileDownloadUpdateAPIResponse
- type AlibabaCgameContentDistributionFileDownloadUpdateAPIResponseModel
- type AlibabaCgameLiteplayAvatarBodyQueryAPIRequest
- func (r AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) GetRequestDto() *TopQueryUserBodyDressRequest
- func (r *AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) SetRequestDto(_requestDto *TopQueryUserBodyDressRequest) error
- type AlibabaCgameLiteplayAvatarBodyQueryAPIResponse
- type AlibabaCgameLiteplayAvatarBodyQueryAPIResponseModel
- type AlibabaCgameLiteplayAvatarBodyQueryResult
- type AlibabaCgameLiteplayAvatarRecordReportAPIRequest
- func (r AlibabaCgameLiteplayAvatarRecordReportAPIRequest) GetApiMethodName() string
- func (r AlibabaCgameLiteplayAvatarRecordReportAPIRequest) GetApiParams() url.Values
- func (r AlibabaCgameLiteplayAvatarRecordReportAPIRequest) GetRequestDto() *TopRecordCallbackRequest
- func (r *AlibabaCgameLiteplayAvatarRecordReportAPIRequest) SetRequestDto(_requestDto *TopRecordCallbackRequest) error
- type AlibabaCgameLiteplayAvatarRecordReportAPIResponse
- type AlibabaCgameLiteplayAvatarRecordReportAPIResponseModel
- type AlibabaCgameLiteplayAvatarRecordReportResult
- type AlibabaCgameMpMpprojectInitnewprojectAPIRequest
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetApiMethodName() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetApiParams() url.Values
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCheckUserToken() int64
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCustomerEnv() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCustomerProjectId() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCustomerUniqueId() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetDefaultMpBlockId() int64
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetDeviceId() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetGameId() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetGameProjectKey() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetInstanceId() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetMpProjectId() int64
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetOnlyOneBlock() int64
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetUserAccessToken() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetUserId() string
- func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetUserToken() string
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCheckUserToken(_checkUserToken int64) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCustomerEnv(_customerEnv string) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCustomerProjectId(_customerProjectId string) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCustomerUniqueId(_customerUniqueId string) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetDefaultMpBlockId(_defaultMpBlockId int64) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetDeviceId(_deviceId string) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetGameId(_gameId string) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetGameProjectKey(_gameProjectKey string) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetInstanceId(_instanceId string) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetMpProjectId(_mpProjectId int64) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetOnlyOneBlock(_onlyOneBlock int64) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetUserAccessToken(_userAccessToken string) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetUserId(_userId string) error
- func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetUserToken(_userToken string) error
- type AlibabaCgameMpMpprojectInitnewprojectAPIResponse
- type AlibabaCgameMpMpprojectInitnewprojectAPIResponseModel
- type AlibabaCgameMpMpprojectInitnewprojectResult
- type AlibabaCgameMpMpprojectLoginexistaccountAPIRequest
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetAccountType() int64
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetApiMethodName() string
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetApiParams() url.Values
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetCustomerAccountId() string
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetDeviceId() string
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetGameId() string
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetGameProjectKey() string
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetInstanceId() string
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetUserAccessToken() string
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetUserId() string
- func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetUserToken() string
- func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetAccountType(_accountType int64) error
- func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetCustomerAccountId(_customerAccountId string) error
- func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetDeviceId(_deviceId string) error
- func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetGameId(_gameId string) error
- func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetGameProjectKey(_gameProjectKey string) error
- func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetInstanceId(_instanceId string) error
- func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetUserAccessToken(_userAccessToken string) error
- func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetUserId(_userId string) error
- func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetUserToken(_userToken string) error
- type AlibabaCgameMpMpprojectLoginexistaccountAPIResponse
- type AlibabaCgameMpMpprojectLoginexistaccountAPIResponseModel
- type AlibabaCgameMpMpprojectLoginexistaccountResult
- type AlibabaCgameMpMpsessionSendmessagetogameAPIRequest
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetAccountType() int64
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetApiMethodName() string
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetApiParams() url.Values
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetCustomerAccountId() string
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetDeviceId() string
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetGameId() string
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetGameProjectKey() string
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetInstanceId() string
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetMessage() string
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetMpAccountId() int64
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetUserAccessToken() string
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetUserId() string
- func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetUserToken() string
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetAccountType(_accountType int64) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetCustomerAccountId(_customerAccountId string) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetDeviceId(_deviceId string) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetGameId(_gameId string) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetGameProjectKey(_gameProjectKey string) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetInstanceId(_instanceId string) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetMessage(_message string) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetMpAccountId(_mpAccountId int64) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetUserAccessToken(_userAccessToken string) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetUserId(_userId string) error
- func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetUserToken(_userToken string) error
- type AlibabaCgameMpMpsessionSendmessagetogameAPIResponse
- type AlibabaCgameMpMpsessionSendmessagetogameAPIResponseModel
- type AlibabaCgameMpMpsessionSendmessagetogameResult
- type AlibabaCgameScoreReportAPIRequest
- func (r AlibabaCgameScoreReportAPIRequest) GetApiMethodName() string
- func (r AlibabaCgameScoreReportAPIRequest) GetApiParams() url.Values
- func (r AlibabaCgameScoreReportAPIRequest) GetReportData() *CpCallbackReportDto
- func (r *AlibabaCgameScoreReportAPIRequest) SetReportData(_reportData *CpCallbackReportDto) error
- type AlibabaCgameScoreReportAPIResponse
- type AlibabaCgameScoreReportAPIResponseModel
- type AlibabaCgameScoreReportResult
- type AlibabaCloudgameInteractiveGameGamepadGetAPIRequest
- func (r AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) GetGamepadGetRequest() *GamepadGetRequest
- func (r *AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) SetGamepadGetRequest(_gamepadGetRequest *GamepadGetRequest) error
- type AlibabaCloudgameInteractiveGameGamepadGetAPIResponse
- type AlibabaCloudgameInteractiveGameGamepadGetAPIResponseModel
- type AlibabaCloudgameInteractiveGameGamepadGetResult
- type AlibabaCloudgameInteractiveGameHeartbeatAPIRequest
- func (r AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) GetStartGameRequest() *HeartBeatRequest
- func (r *AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) SetStartGameRequest(_startGameRequest *HeartBeatRequest) error
- type AlibabaCloudgameInteractiveGameHeartbeatAPIResponse
- type AlibabaCloudgameInteractiveGameHeartbeatAPIResponseModel
- type AlibabaCloudgameInteractiveGameHeartbeatResult
- type AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest
- func (r AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) GetJoinCodeAssignRequest() *JoinCodeAssignRequest
- func (r *AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) SetJoinCodeAssignRequest(_joinCodeAssignRequest *JoinCodeAssignRequest) error
- type AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponse
- type AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponseModel
- type AlibabaCloudgameInteractiveGameJoincodeAssignResult
- type AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest
- func (r AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) GetKickOutUserRequest() *KickOutUserRequest
- func (r *AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) SetKickOutUserRequest(_kickOutUserRequest *KickOutUserRequest) error
- type AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponse
- type AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponseModel
- type AlibabaCloudgameInteractiveGamePlayerKickoutResult
- type AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest
- func (r AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) GetUserGameStatusGetRequest() *UserGameStatusGetRequest
- func (r *AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) SetUserGameStatusGetRequest(_userGameStatusGetRequest *UserGameStatusGetRequest) error
- type AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponse
- type AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponseModel
- type AlibabaCloudgameInteractiveGamePlayerStatusGetResult
- type AlibabaCloudgameInteractiveGamePlayerStopAPIRequest
- func (r AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) GetStopUserGameRequest() *StopUserGameRequest
- func (r *AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) SetStopUserGameRequest(_stopUserGameRequest *StopUserGameRequest) error
- type AlibabaCloudgameInteractiveGamePlayerStopAPIResponse
- type AlibabaCloudgameInteractiveGamePlayerStopAPIResponseModel
- type AlibabaCloudgameInteractiveGamePlayerStopResult
- type AlibabaCloudgameInteractiveGameRoomCreateAPIRequest
- func (r AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) GetCreateRoomRequest() *CreateRoomRequest
- func (r *AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) SetCreateRoomRequest(_createRoomRequest *CreateRoomRequest) error
- type AlibabaCloudgameInteractiveGameRoomCreateAPIResponse
- type AlibabaCloudgameInteractiveGameRoomCreateAPIResponseModel
- type AlibabaCloudgameInteractiveGameRoomCreateResult
- type AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest
- func (r AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) GetShutdownRoomRequest() *ShutdownRoomRequest
- func (r *AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) SetShutdownRoomRequest(_shutdownRoomRequest *ShutdownRoomRequest) error
- type AlibabaCloudgameInteractiveGameRoomShutdownAPIResponse
- type AlibabaCloudgameInteractiveGameRoomShutdownAPIResponseModel
- type AlibabaCloudgameInteractiveGameRoomShutdownResult
- type AlibabaCloudgameInteractiveGameStartAPIRequest
- func (r AlibabaCloudgameInteractiveGameStartAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGameStartAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGameStartAPIRequest) GetStartGameRequest() *StartGameRequest
- func (r *AlibabaCloudgameInteractiveGameStartAPIRequest) SetStartGameRequest(_startGameRequest *StartGameRequest) error
- type AlibabaCloudgameInteractiveGameStartAPIResponse
- type AlibabaCloudgameInteractiveGameStartAPIResponseModel
- type AlibabaCloudgameInteractiveGameStartResult
- type AlibabaCloudgameInteractiveGameStatusGetAPIRequest
- func (r AlibabaCloudgameInteractiveGameStatusGetAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameInteractiveGameStatusGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameInteractiveGameStatusGetAPIRequest) GetGameStatusGetRequest() *GameStatusGetRequest
- func (r *AlibabaCloudgameInteractiveGameStatusGetAPIRequest) SetGameStatusGetRequest(_gameStatusGetRequest *GameStatusGetRequest) error
- type AlibabaCloudgameInteractiveGameStatusGetAPIResponse
- type AlibabaCloudgameInteractiveGameStatusGetAPIResponseModel
- type AlibabaCloudgameInteractiveGameStatusGetResult
- type AlibabaCloudgameUserMixuseridCheckAPIRequest
- func (r AlibabaCloudgameUserMixuseridCheckAPIRequest) GetApiMethodName() string
- func (r AlibabaCloudgameUserMixuseridCheckAPIRequest) GetApiParams() url.Values
- func (r AlibabaCloudgameUserMixuseridCheckAPIRequest) GetMixUserId() string
- func (r *AlibabaCloudgameUserMixuseridCheckAPIRequest) SetMixUserId(_mixUserId string) error
- type AlibabaCloudgameUserMixuseridCheckAPIResponse
- type AlibabaCloudgameUserMixuseridCheckAPIResponseModel
- type AppDeletionCallbackRequest
- type CpCallbackReportDto
- type CreateRoomRequest
- type CreateRoomResponse
- type DeleteAppCommandResult
- type DownloadFileCommandResult
- type EndpointServerDto
- type FileDownloadCallbackRequest
- type GameEndPoint
- type GameStatusGetRequest
- type GameStatusGetResponse
- type GamepadGetRequest
- type GamepadGetResponse
- type GetSlotResponse
- type HeartBeatRequest
- type HeartBeatResponse
- type JoinCodeAssignRequest
- type JoinCodeAssignResponse
- type KickOutUserRequest
- type LoginSessionDto
- type Long
- type MpProjectConfigDto
- type OpenGameDto
- type OpenGamePlayerDto
- type OssDto
- type ScoreReportDto
- type ShutdownRoomRequest
- type ShutdownRoomResponse
- type StartGameRequest
- type StartGameResponse
- type StopUserGameRequest
- type StopUserGameResponse
- type TopAvatarBodyDto
- type TopQueryUserBodyDressRequest
- type TopRecordCallbackRequest
- type TopRecordCallbackResp
- type UserGameStatusGetRequest
- type VirtualGamepadList
- type YoukuCgameScoreReportAPIRequest
- func (r YoukuCgameScoreReportAPIRequest) GetApiMethodName() string
- func (r YoukuCgameScoreReportAPIRequest) GetApiParams() url.Values
- func (r YoukuCgameScoreReportAPIRequest) GetScoreReportDto() *ScoreReportDto
- func (r *YoukuCgameScoreReportAPIRequest) SetScoreReportDto(_scoreReportDto *ScoreReportDto) error
- type YoukuCgameScoreReportAPIResponse
- type YoukuCgameScoreReportAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaCgameAvatarUserbodyQueryAPIRequest ¶ added in v1.2.0
type AlibabaCgameAvatarUserbodyQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCgameAvatarUserbodyQueryAPIRequest 用户Avatar body查询 API请求 alibaba.cgame.avatar.userbody.query
Avatar用户body数据查询
func NewAlibabaCgameAvatarUserbodyQueryRequest ¶
func NewAlibabaCgameAvatarUserbodyQueryRequest() *AlibabaCgameAvatarUserbodyQueryAPIRequest
NewAlibabaCgameAvatarUserbodyQueryRequest 初始化AlibabaCgameAvatarUserbodyQueryAPIRequest对象
func (AlibabaCgameAvatarUserbodyQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaCgameAvatarUserbodyQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCgameAvatarUserbodyQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaCgameAvatarUserbodyQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCgameAvatarUserbodyQueryAPIRequest) GetMixUserId ¶ added in v1.2.0
func (r AlibabaCgameAvatarUserbodyQueryAPIRequest) GetMixUserId() string
GetMixUserId MixUserId Getter
func (*AlibabaCgameAvatarUserbodyQueryAPIRequest) SetMixUserId ¶ added in v1.2.0
func (r *AlibabaCgameAvatarUserbodyQueryAPIRequest) SetMixUserId(_mixUserId string) error
SetMixUserId is MixUserId Setter 查询数据所属用户的mixUserId
type AlibabaCgameAvatarUserbodyQueryAPIResponse ¶
type AlibabaCgameAvatarUserbodyQueryAPIResponse struct { model.CommonResponse AlibabaCgameAvatarUserbodyQueryAPIResponseModel }
AlibabaCgameAvatarUserbodyQueryAPIResponse 用户Avatar body查询 API返回值 alibaba.cgame.avatar.userbody.query
Avatar用户body数据查询
type AlibabaCgameAvatarUserbodyQueryAPIResponseModel ¶ added in v1.2.0
type AlibabaCgameAvatarUserbodyQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cgame_avatar_userbody_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaCgameAvatarUserbodyQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCgameAvatarUserbodyQueryAPIResponseModel is 用户Avatar body查询 成功返回结果
type AlibabaCgameAvatarUserbodyQueryData ¶
type AlibabaCgameAvatarUserbodyQueryData struct { // body traceID TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"` // 脸部数据 FaceDataJson string `json:"face_data_json,omitempty" xml:"face_data_json,omitempty"` // 请求唯一标识ID RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 用户mixUserId MixUserId string `json:"mix_user_id,omitempty" xml:"mix_user_id,omitempty"` // 扩展数据 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 性别, 1-male, 2-female Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"` }
AlibabaCgameAvatarUserbodyQueryData 结构体
type AlibabaCgameAvatarUserbodyQueryResult ¶
type AlibabaCgameAvatarUserbodyQueryResult struct { // code Code string `json:"code,omitempty" xml:"code,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 响应数据 Data *AlibabaCgameAvatarUserbodyQueryData `json:"data,omitempty" xml:"data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaCgameAvatarUserbodyQueryResult 结构体
type AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest ¶ added in v1.2.5
type AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest 游戏删除回调 API请求 alibaba.cgame.content.distribution.app.deletion.update
游戏删除回调
func NewAlibabaCgameContentDistributionAppDeletionUpdateRequest ¶ added in v1.2.5
func NewAlibabaCgameContentDistributionAppDeletionUpdateRequest() *AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest
NewAlibabaCgameContentDistributionAppDeletionUpdateRequest 初始化AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest对象
func (AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) GetReqParam ¶ added in v1.2.5
func (r AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) GetReqParam() *AppDeletionCallbackRequest
GetReqParam ReqParam Getter
func (*AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) SetReqParam ¶ added in v1.2.5
func (r *AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest) SetReqParam(_reqParam *AppDeletionCallbackRequest) error
SetReqParam is ReqParam Setter 请求参数
type AlibabaCgameContentDistributionAppDeletionUpdateAPIResponse ¶ added in v1.2.5
type AlibabaCgameContentDistributionAppDeletionUpdateAPIResponse struct { model.CommonResponse AlibabaCgameContentDistributionAppDeletionUpdateAPIResponseModel }
AlibabaCgameContentDistributionAppDeletionUpdateAPIResponse 游戏删除回调 API返回值 alibaba.cgame.content.distribution.app.deletion.update
游戏删除回调
type AlibabaCgameContentDistributionAppDeletionUpdateAPIResponseModel ¶ added in v1.2.5
type AlibabaCgameContentDistributionAppDeletionUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cgame_content_distribution_app_deletion_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 游戏是否成功 Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"` }
AlibabaCgameContentDistributionAppDeletionUpdateAPIResponseModel is 游戏删除回调 成功返回结果
type AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest ¶ added in v1.2.5
type AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest 文件下载回调 API请求 alibaba.cgame.content.distribution.file.download.update
提供内容服务器更新文件下载状态的能力
func NewAlibabaCgameContentDistributionFileDownloadUpdateRequest ¶ added in v1.2.5
func NewAlibabaCgameContentDistributionFileDownloadUpdateRequest() *AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest
NewAlibabaCgameContentDistributionFileDownloadUpdateRequest 初始化AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest对象
func (AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) GetReqParam ¶ added in v1.2.5
func (r AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) GetReqParam() *FileDownloadCallbackRequest
GetReqParam ReqParam Getter
func (*AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) SetReqParam ¶ added in v1.2.5
func (r *AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest) SetReqParam(_reqParam *FileDownloadCallbackRequest) error
SetReqParam is ReqParam Setter 请求参数
type AlibabaCgameContentDistributionFileDownloadUpdateAPIResponse ¶ added in v1.2.5
type AlibabaCgameContentDistributionFileDownloadUpdateAPIResponse struct { model.CommonResponse AlibabaCgameContentDistributionFileDownloadUpdateAPIResponseModel }
AlibabaCgameContentDistributionFileDownloadUpdateAPIResponse 文件下载回调 API返回值 alibaba.cgame.content.distribution.file.download.update
提供内容服务器更新文件下载状态的能力
type AlibabaCgameContentDistributionFileDownloadUpdateAPIResponseModel ¶ added in v1.2.5
type AlibabaCgameContentDistributionFileDownloadUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cgame_content_distribution_file_download_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 文件下载是否成功 Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"` }
AlibabaCgameContentDistributionFileDownloadUpdateAPIResponseModel is 文件下载回调 成功返回结果
type AlibabaCgameLiteplayAvatarBodyQueryAPIRequest ¶ added in v1.2.5
type AlibabaCgameLiteplayAvatarBodyQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCgameLiteplayAvatarBodyQueryAPIRequest 新氢玩Avatar脸部装扮数据查询 API请求 alibaba.cgame.liteplay.avatar.body.query
云游戏, 新氢玩, 围观互动,自研游戏包, 需要查询Avatar虚拟形象捏脸和装扮数据, 用来初始化游戏包形象.
func NewAlibabaCgameLiteplayAvatarBodyQueryRequest ¶ added in v1.2.5
func NewAlibabaCgameLiteplayAvatarBodyQueryRequest() *AlibabaCgameLiteplayAvatarBodyQueryAPIRequest
NewAlibabaCgameLiteplayAvatarBodyQueryRequest 初始化AlibabaCgameLiteplayAvatarBodyQueryAPIRequest对象
func (AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) GetRequestDto ¶ added in v1.2.5
func (r AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) GetRequestDto() *TopQueryUserBodyDressRequest
GetRequestDto RequestDto Getter
func (*AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) SetRequestDto ¶ added in v1.2.5
func (r *AlibabaCgameLiteplayAvatarBodyQueryAPIRequest) SetRequestDto(_requestDto *TopQueryUserBodyDressRequest) error
SetRequestDto is RequestDto Setter 请求入参
type AlibabaCgameLiteplayAvatarBodyQueryAPIResponse ¶ added in v1.2.5
type AlibabaCgameLiteplayAvatarBodyQueryAPIResponse struct { model.CommonResponse AlibabaCgameLiteplayAvatarBodyQueryAPIResponseModel }
AlibabaCgameLiteplayAvatarBodyQueryAPIResponse 新氢玩Avatar脸部装扮数据查询 API返回值 alibaba.cgame.liteplay.avatar.body.query
云游戏, 新氢玩, 围观互动,自研游戏包, 需要查询Avatar虚拟形象捏脸和装扮数据, 用来初始化游戏包形象.
type AlibabaCgameLiteplayAvatarBodyQueryAPIResponseModel ¶ added in v1.2.5
type AlibabaCgameLiteplayAvatarBodyQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cgame_liteplay_avatar_body_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaCgameLiteplayAvatarBodyQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCgameLiteplayAvatarBodyQueryAPIResponseModel is 新氢玩Avatar脸部装扮数据查询 成功返回结果
type AlibabaCgameLiteplayAvatarBodyQueryResult ¶ added in v1.2.5
type AlibabaCgameLiteplayAvatarBodyQueryResult struct { // code Code string `json:"code,omitempty" xml:"code,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回数据体 Data *TopAvatarBodyDto `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCgameLiteplayAvatarBodyQueryResult 结构体
type AlibabaCgameLiteplayAvatarRecordReportAPIRequest ¶ added in v1.2.5
type AlibabaCgameLiteplayAvatarRecordReportAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCgameLiteplayAvatarRecordReportAPIRequest Avatar形象保存地址回调 API请求 alibaba.cgame.liteplay.avatar.record.report
新氢玩, 围观互动Avatar捏脸, 形象地址保存回调
func NewAlibabaCgameLiteplayAvatarRecordReportRequest ¶ added in v1.2.5
func NewAlibabaCgameLiteplayAvatarRecordReportRequest() *AlibabaCgameLiteplayAvatarRecordReportAPIRequest
NewAlibabaCgameLiteplayAvatarRecordReportRequest 初始化AlibabaCgameLiteplayAvatarRecordReportAPIRequest对象
func (AlibabaCgameLiteplayAvatarRecordReportAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCgameLiteplayAvatarRecordReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCgameLiteplayAvatarRecordReportAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCgameLiteplayAvatarRecordReportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCgameLiteplayAvatarRecordReportAPIRequest) GetRequestDto ¶ added in v1.2.5
func (r AlibabaCgameLiteplayAvatarRecordReportAPIRequest) GetRequestDto() *TopRecordCallbackRequest
GetRequestDto RequestDto Getter
func (*AlibabaCgameLiteplayAvatarRecordReportAPIRequest) SetRequestDto ¶ added in v1.2.5
func (r *AlibabaCgameLiteplayAvatarRecordReportAPIRequest) SetRequestDto(_requestDto *TopRecordCallbackRequest) error
SetRequestDto is RequestDto Setter 请求消息体
type AlibabaCgameLiteplayAvatarRecordReportAPIResponse ¶ added in v1.2.5
type AlibabaCgameLiteplayAvatarRecordReportAPIResponse struct { model.CommonResponse AlibabaCgameLiteplayAvatarRecordReportAPIResponseModel }
AlibabaCgameLiteplayAvatarRecordReportAPIResponse Avatar形象保存地址回调 API返回值 alibaba.cgame.liteplay.avatar.record.report
新氢玩, 围观互动Avatar捏脸, 形象地址保存回调
type AlibabaCgameLiteplayAvatarRecordReportAPIResponseModel ¶ added in v1.2.5
type AlibabaCgameLiteplayAvatarRecordReportAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cgame_liteplay_avatar_record_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaCgameLiteplayAvatarRecordReportResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCgameLiteplayAvatarRecordReportAPIResponseModel is Avatar形象保存地址回调 成功返回结果
type AlibabaCgameLiteplayAvatarRecordReportResult ¶ added in v1.2.5
type AlibabaCgameLiteplayAvatarRecordReportResult struct { // code Code string `json:"code,omitempty" xml:"code,omitempty"` // str消息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回消息体 Data *TopRecordCallbackResp `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCgameLiteplayAvatarRecordReportResult 结构体
type AlibabaCgameMpMpprojectInitnewprojectAPIRequest ¶ added in v1.2.5
type AlibabaCgameMpMpprojectInitnewprojectAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCgameMpMpprojectInitnewprojectAPIRequest 创建新的mpproject API请求 alibaba.cgame.mp.mpproject.initnewproject
发送消息给游戏
func NewAlibabaCgameMpMpprojectInitnewprojectRequest ¶ added in v1.2.5
func NewAlibabaCgameMpMpprojectInitnewprojectRequest() *AlibabaCgameMpMpprojectInitnewprojectAPIRequest
NewAlibabaCgameMpMpprojectInitnewprojectRequest 初始化AlibabaCgameMpMpprojectInitnewprojectAPIRequest对象
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCheckUserToken ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCheckUserToken() int64
GetCheckUserToken CheckUserToken Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCustomerEnv ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCustomerEnv() string
GetCustomerEnv CustomerEnv Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCustomerProjectId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCustomerProjectId() string
GetCustomerProjectId CustomerProjectId Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCustomerUniqueId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetCustomerUniqueId() string
GetCustomerUniqueId CustomerUniqueId Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetDefaultMpBlockId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetDefaultMpBlockId() int64
GetDefaultMpBlockId DefaultMpBlockId Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetDeviceId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetDeviceId() string
GetDeviceId DeviceId Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetGameId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetGameId() string
GetGameId GameId Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetGameProjectKey ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetGameProjectKey() string
GetGameProjectKey GameProjectKey Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetInstanceId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetInstanceId() string
GetInstanceId InstanceId Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetMpProjectId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetMpProjectId() int64
GetMpProjectId MpProjectId Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetOnlyOneBlock ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetOnlyOneBlock() int64
GetOnlyOneBlock OnlyOneBlock Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetUserAccessToken ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetUserAccessToken() string
GetUserAccessToken UserAccessToken Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetUserId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetUserId() string
GetUserId UserId Getter
func (AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetUserToken ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectInitnewprojectAPIRequest) GetUserToken() string
GetUserToken UserToken Getter
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCheckUserToken ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCheckUserToken(_checkUserToken int64) error
SetCheckUserToken is CheckUserToken Setter 是否检查userToken,目前都是0
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCustomerEnv ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCustomerEnv(_customerEnv string) error
SetCustomerEnv is CustomerEnv Setter customer platform env
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCustomerProjectId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCustomerProjectId(_customerProjectId string) error
SetCustomerProjectId is CustomerProjectId Setter customer project id
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCustomerUniqueId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetCustomerUniqueId(_customerUniqueId string) error
SetCustomerUniqueId is CustomerUniqueId Setter customer unique id
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetDefaultMpBlockId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetDefaultMpBlockId(_defaultMpBlockId int64) error
SetDefaultMpBlockId is DefaultMpBlockId Setter 缺省的blockid,默认是0
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetDeviceId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetDeviceId(_deviceId string) error
SetDeviceId is DeviceId Setter 设备Id, 可以传空值
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetGameId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetGameId(_gameId string) error
SetGameId is GameId Setter 项目所在平台上的gameid
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetGameProjectKey ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetGameProjectKey(_gameProjectKey string) error
SetGameProjectKey is GameProjectKey Setter projectKey
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetInstanceId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetInstanceId(_instanceId string) error
SetInstanceId is InstanceId Setter ecs上的实例id,可以传空值
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetMpProjectId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetMpProjectId(_mpProjectId int64) error
SetMpProjectId is MpProjectId Setter mpprojectid,默认是0
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetOnlyOneBlock ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetOnlyOneBlock(_onlyOneBlock int64) error
SetOnlyOneBlock is OnlyOneBlock Setter 是否只有一个block,目前都是1
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetUserAccessToken ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetUserAccessToken(_userAccessToken string) error
SetUserAccessToken is UserAccessToken Setter 登录后获取的accessToken
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetUserId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetUserId(_userId string) error
SetUserId is UserId Setter 调用者的userid,若有userAccessToken,可以传空值
func (*AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetUserToken ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectInitnewprojectAPIRequest) SetUserToken(_userToken string) error
SetUserToken is UserToken Setter 目前没有使用,可以传空值
type AlibabaCgameMpMpprojectInitnewprojectAPIResponse ¶ added in v1.2.5
type AlibabaCgameMpMpprojectInitnewprojectAPIResponse struct { model.CommonResponse AlibabaCgameMpMpprojectInitnewprojectAPIResponseModel }
AlibabaCgameMpMpprojectInitnewprojectAPIResponse 创建新的mpproject API返回值 alibaba.cgame.mp.mpproject.initnewproject
发送消息给游戏
type AlibabaCgameMpMpprojectInitnewprojectAPIResponseModel ¶ added in v1.2.5
type AlibabaCgameMpMpprojectInitnewprojectAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cgame_mp_mpproject_initnewproject_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *AlibabaCgameMpMpprojectInitnewprojectResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCgameMpMpprojectInitnewprojectAPIResponseModel is 创建新的mpproject 成功返回结果
type AlibabaCgameMpMpprojectInitnewprojectResult ¶ added in v1.2.5
type AlibabaCgameMpMpprojectInitnewprojectResult struct { // 0 Code string `json:"code,omitempty" xml:"code,omitempty"` // sucess Message string `json:"message,omitempty" xml:"message,omitempty"` // login session Data *MpProjectConfigDto `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCgameMpMpprojectInitnewprojectResult 结构体
type AlibabaCgameMpMpprojectLoginexistaccountAPIRequest ¶ added in v1.2.5
type AlibabaCgameMpMpprojectLoginexistaccountAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCgameMpMpprojectLoginexistaccountAPIRequest 登录存在账号 API请求 alibaba.cgame.mp.mpproject.loginexistaccount
发送消息给游戏
func NewAlibabaCgameMpMpprojectLoginexistaccountRequest ¶ added in v1.2.5
func NewAlibabaCgameMpMpprojectLoginexistaccountRequest() *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest
NewAlibabaCgameMpMpprojectLoginexistaccountRequest 初始化AlibabaCgameMpMpprojectLoginexistaccountAPIRequest对象
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetAccountType ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetAccountType() int64
GetAccountType AccountType Getter
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetCustomerAccountId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetCustomerAccountId() string
GetCustomerAccountId CustomerAccountId Getter
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetDeviceId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetDeviceId() string
GetDeviceId DeviceId Getter
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetGameId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetGameId() string
GetGameId GameId Getter
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetGameProjectKey ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetGameProjectKey() string
GetGameProjectKey GameProjectKey Getter
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetInstanceId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetInstanceId() string
GetInstanceId InstanceId Getter
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetUserAccessToken ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetUserAccessToken() string
GetUserAccessToken UserAccessToken Getter
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetUserId ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetUserId() string
GetUserId UserId Getter
func (AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetUserToken ¶ added in v1.2.5
func (r AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) GetUserToken() string
GetUserToken UserToken Getter
func (*AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetAccountType ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetAccountType(_accountType int64) error
SetAccountType is AccountType Setter user的类型
func (*AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetCustomerAccountId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetCustomerAccountId(_customerAccountId string) error
SetCustomerAccountId is CustomerAccountId Setter user的外部唯一Id
func (*AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetDeviceId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetDeviceId(_deviceId string) error
SetDeviceId is DeviceId Setter 设备Id, 可以传空值
func (*AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetGameId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetGameId(_gameId string) error
SetGameId is GameId Setter 项目所在平台上的gameid
func (*AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetGameProjectKey ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetGameProjectKey(_gameProjectKey string) error
SetGameProjectKey is GameProjectKey Setter projectKey
func (*AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetInstanceId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetInstanceId(_instanceId string) error
SetInstanceId is InstanceId Setter ecs上的实例id,可以传空值
func (*AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetUserAccessToken ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetUserAccessToken(_userAccessToken string) error
SetUserAccessToken is UserAccessToken Setter 登录后获取的accessToken
func (*AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetUserId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetUserId(_userId string) error
SetUserId is UserId Setter 调用者的userid,若有userAccessToken,可以传空值
func (*AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetUserToken ¶ added in v1.2.5
func (r *AlibabaCgameMpMpprojectLoginexistaccountAPIRequest) SetUserToken(_userToken string) error
SetUserToken is UserToken Setter 目前没有使用,可以传空值
type AlibabaCgameMpMpprojectLoginexistaccountAPIResponse ¶ added in v1.2.5
type AlibabaCgameMpMpprojectLoginexistaccountAPIResponse struct { model.CommonResponse AlibabaCgameMpMpprojectLoginexistaccountAPIResponseModel }
AlibabaCgameMpMpprojectLoginexistaccountAPIResponse 登录存在账号 API返回值 alibaba.cgame.mp.mpproject.loginexistaccount
发送消息给游戏
type AlibabaCgameMpMpprojectLoginexistaccountAPIResponseModel ¶ added in v1.2.5
type AlibabaCgameMpMpprojectLoginexistaccountAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cgame_mp_mpproject_loginexistaccount_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *AlibabaCgameMpMpprojectLoginexistaccountResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCgameMpMpprojectLoginexistaccountAPIResponseModel is 登录存在账号 成功返回结果
type AlibabaCgameMpMpprojectLoginexistaccountResult ¶ added in v1.2.5
type AlibabaCgameMpMpprojectLoginexistaccountResult struct { // 0 Code string `json:"code,omitempty" xml:"code,omitempty"` // sucess Message string `json:"message,omitempty" xml:"message,omitempty"` // login session Data *LoginSessionDto `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCgameMpMpprojectLoginexistaccountResult 结构体
type AlibabaCgameMpMpsessionSendmessagetogameAPIRequest ¶ added in v1.2.5
type AlibabaCgameMpMpsessionSendmessagetogameAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCgameMpMpsessionSendmessagetogameAPIRequest 发送消息给游戏 API请求 alibaba.cgame.mp.mpsession.sendmessagetogame
发送消息给游戏
func NewAlibabaCgameMpMpsessionSendmessagetogameRequest ¶ added in v1.2.5
func NewAlibabaCgameMpMpsessionSendmessagetogameRequest() *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest
NewAlibabaCgameMpMpsessionSendmessagetogameRequest 初始化AlibabaCgameMpMpsessionSendmessagetogameAPIRequest对象
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetAccountType ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetAccountType() int64
GetAccountType AccountType Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetCustomerAccountId ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetCustomerAccountId() string
GetCustomerAccountId CustomerAccountId Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetDeviceId ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetDeviceId() string
GetDeviceId DeviceId Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetGameId ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetGameId() string
GetGameId GameId Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetGameProjectKey ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetGameProjectKey() string
GetGameProjectKey GameProjectKey Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetInstanceId ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetInstanceId() string
GetInstanceId InstanceId Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetMessage ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetMessage() string
GetMessage Message Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetMpAccountId ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetMpAccountId() int64
GetMpAccountId MpAccountId Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetUserAccessToken ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetUserAccessToken() string
GetUserAccessToken UserAccessToken Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetUserId ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetUserId() string
GetUserId UserId Getter
func (AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetUserToken ¶ added in v1.2.5
func (r AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) GetUserToken() string
GetUserToken UserToken Getter
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetAccountType ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetAccountType(_accountType int64) error
SetAccountType is AccountType Setter user的类型
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetCustomerAccountId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetCustomerAccountId(_customerAccountId string) error
SetCustomerAccountId is CustomerAccountId Setter user的外部唯一Id
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetDeviceId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetDeviceId(_deviceId string) error
SetDeviceId is DeviceId Setter 设备Id, 可以传空值
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetGameId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetGameId(_gameId string) error
SetGameId is GameId Setter 项目所在平台上的gameid
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetGameProjectKey ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetGameProjectKey(_gameProjectKey string) error
SetGameProjectKey is GameProjectKey Setter projectKey
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetInstanceId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetInstanceId(_instanceId string) error
SetInstanceId is InstanceId Setter ecs上的实例id,可以传空值
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetMessage ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetMessage(_message string) error
SetMessage is Message Setter 消息体
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetMpAccountId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetMpAccountId(_mpAccountId int64) error
SetMpAccountId is MpAccountId Setter user的mpaccountId
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetUserAccessToken ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetUserAccessToken(_userAccessToken string) error
SetUserAccessToken is UserAccessToken Setter 登录后获取的accessToken
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetUserId ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetUserId(_userId string) error
SetUserId is UserId Setter 调用者的userid,若有userAccessToken,可以传空值
func (*AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetUserToken ¶ added in v1.2.5
func (r *AlibabaCgameMpMpsessionSendmessagetogameAPIRequest) SetUserToken(_userToken string) error
SetUserToken is UserToken Setter 目前没有使用,可以传空值
type AlibabaCgameMpMpsessionSendmessagetogameAPIResponse ¶ added in v1.2.5
type AlibabaCgameMpMpsessionSendmessagetogameAPIResponse struct { model.CommonResponse AlibabaCgameMpMpsessionSendmessagetogameAPIResponseModel }
AlibabaCgameMpMpsessionSendmessagetogameAPIResponse 发送消息给游戏 API返回值 alibaba.cgame.mp.mpsession.sendmessagetogame
发送消息给游戏
type AlibabaCgameMpMpsessionSendmessagetogameAPIResponseModel ¶ added in v1.2.5
type AlibabaCgameMpMpsessionSendmessagetogameAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cgame_mp_mpsession_sendmessagetogame_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *AlibabaCgameMpMpsessionSendmessagetogameResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCgameMpMpsessionSendmessagetogameAPIResponseModel is 发送消息给游戏 成功返回结果
type AlibabaCgameMpMpsessionSendmessagetogameResult ¶ added in v1.2.5
type AlibabaCgameMpMpsessionSendmessagetogameResult struct { // 0 Code string `json:"code,omitempty" xml:"code,omitempty"` // sucess Message string `json:"message,omitempty" xml:"message,omitempty"` // true Data bool `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCgameMpMpsessionSendmessagetogameResult 结构体
type AlibabaCgameScoreReportAPIRequest ¶ added in v1.2.0
type AlibabaCgameScoreReportAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCgameScoreReportAPIRequest 云游戏战绩上传通用接口 API请求 alibaba.cgame.score.report
阿里云游戏, CP游戏合作方通用游戏结果回传接口
func NewAlibabaCgameScoreReportRequest ¶
func NewAlibabaCgameScoreReportRequest() *AlibabaCgameScoreReportAPIRequest
NewAlibabaCgameScoreReportRequest 初始化AlibabaCgameScoreReportAPIRequest对象
func (AlibabaCgameScoreReportAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaCgameScoreReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCgameScoreReportAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaCgameScoreReportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCgameScoreReportAPIRequest) GetReportData ¶ added in v1.2.0
func (r AlibabaCgameScoreReportAPIRequest) GetReportData() *CpCallbackReportDto
GetReportData ReportData Getter
func (*AlibabaCgameScoreReportAPIRequest) SetReportData ¶ added in v1.2.0
func (r *AlibabaCgameScoreReportAPIRequest) SetReportData(_reportData *CpCallbackReportDto) error
SetReportData is ReportData Setter 通用战绩回传数据
type AlibabaCgameScoreReportAPIResponse ¶
type AlibabaCgameScoreReportAPIResponse struct { model.CommonResponse AlibabaCgameScoreReportAPIResponseModel }
AlibabaCgameScoreReportAPIResponse 云游戏战绩上传通用接口 API返回值 alibaba.cgame.score.report
阿里云游戏, CP游戏合作方通用游戏结果回传接口
type AlibabaCgameScoreReportAPIResponseModel ¶ added in v1.2.0
type AlibabaCgameScoreReportAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cgame_score_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaCgameScoreReportResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCgameScoreReportAPIResponseModel is 云游戏战绩上传通用接口 成功返回结果
type AlibabaCgameScoreReportResult ¶
type AlibabaCgameScoreReportResult struct { // 结果码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 结果消息 Data string `json:"data,omitempty" xml:"data,omitempty"` // 返回消息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
AlibabaCgameScoreReportResult 结构体
type AlibabaCloudgameInteractiveGameGamepadGetAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameGamepadGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGameGamepadGetAPIRequest 获取虚拟手柄配置 API请求 alibaba.cloudgame.interactive.game.gamepad.get
获取虚拟手柄配置
func NewAlibabaCloudgameInteractiveGameGamepadGetRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGameGamepadGetRequest() *AlibabaCloudgameInteractiveGameGamepadGetAPIRequest
NewAlibabaCloudgameInteractiveGameGamepadGetRequest 初始化AlibabaCloudgameInteractiveGameGamepadGetAPIRequest对象
func (AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) GetGamepadGetRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) GetGamepadGetRequest() *GamepadGetRequest
GetGamepadGetRequest GamepadGetRequest Getter
func (*AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) SetGamepadGetRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGameGamepadGetAPIRequest) SetGamepadGetRequest(_gamepadGetRequest *GamepadGetRequest) error
SetGamepadGetRequest is GamepadGetRequest Setter 获取手柄请求入参
type AlibabaCloudgameInteractiveGameGamepadGetAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameGamepadGetAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGameGamepadGetAPIResponseModel }
AlibabaCloudgameInteractiveGameGamepadGetAPIResponse 获取虚拟手柄配置 API返回值 alibaba.cloudgame.interactive.game.gamepad.get
获取虚拟手柄配置
type AlibabaCloudgameInteractiveGameGamepadGetAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameGamepadGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_gamepad_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Result *AlibabaCloudgameInteractiveGameGamepadGetResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGameGamepadGetAPIResponseModel is 获取虚拟手柄配置 成功返回结果
type AlibabaCloudgameInteractiveGameGamepadGetResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameGamepadGetResult struct { // 返回码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回消息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回数据 Data *GamepadGetResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGameGamepadGetResult 结构体
type AlibabaCloudgameInteractiveGameHeartbeatAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameHeartbeatAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGameHeartbeatAPIRequest 游戏玩家心跳 API请求 alibaba.cloudgame.interactive.game.heartbeat
游戏玩家心跳
func NewAlibabaCloudgameInteractiveGameHeartbeatRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGameHeartbeatRequest() *AlibabaCloudgameInteractiveGameHeartbeatAPIRequest
NewAlibabaCloudgameInteractiveGameHeartbeatRequest 初始化AlibabaCloudgameInteractiveGameHeartbeatAPIRequest对象
func (AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) GetStartGameRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) GetStartGameRequest() *HeartBeatRequest
GetStartGameRequest StartGameRequest Getter
func (*AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) SetStartGameRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGameHeartbeatAPIRequest) SetStartGameRequest(_startGameRequest *HeartBeatRequest) error
SetStartGameRequest is StartGameRequest Setter 请求入参
type AlibabaCloudgameInteractiveGameHeartbeatAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameHeartbeatAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGameHeartbeatAPIResponseModel }
AlibabaCloudgameInteractiveGameHeartbeatAPIResponse 游戏玩家心跳 API返回值 alibaba.cloudgame.interactive.game.heartbeat
游戏玩家心跳
type AlibabaCloudgameInteractiveGameHeartbeatAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameHeartbeatAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_heartbeat_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaCloudgameInteractiveGameHeartbeatResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGameHeartbeatAPIResponseModel is 游戏玩家心跳 成功返回结果
type AlibabaCloudgameInteractiveGameHeartbeatResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameHeartbeatResult struct { // 返回状态码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果 Data *HeartBeatResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGameHeartbeatResult 结构体
type AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest 分配joinCode API请求 alibaba.cloudgame.interactive.game.joincode.assign
分配joinCode
func NewAlibabaCloudgameInteractiveGameJoincodeAssignRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGameJoincodeAssignRequest() *AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest
NewAlibabaCloudgameInteractiveGameJoincodeAssignRequest 初始化AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest对象
func (AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) GetJoinCodeAssignRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) GetJoinCodeAssignRequest() *JoinCodeAssignRequest
GetJoinCodeAssignRequest JoinCodeAssignRequest Getter
func (*AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) SetJoinCodeAssignRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest) SetJoinCodeAssignRequest(_joinCodeAssignRequest *JoinCodeAssignRequest) error
SetJoinCodeAssignRequest is JoinCodeAssignRequest Setter 请求入参
type AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponseModel }
AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponse 分配joinCode API返回值 alibaba.cloudgame.interactive.game.joincode.assign
分配joinCode
type AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_joincode_assign_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaCloudgameInteractiveGameJoincodeAssignResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponseModel is 分配joinCode 成功返回结果
type AlibabaCloudgameInteractiveGameJoincodeAssignResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameJoincodeAssignResult struct { // 返回状态码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果 Data *JoinCodeAssignResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGameJoincodeAssignResult 结构体
type AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest 踢人 API请求 alibaba.cloudgame.interactive.game.player.kickout
踢人
func NewAlibabaCloudgameInteractiveGamePlayerKickoutRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGamePlayerKickoutRequest() *AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest
NewAlibabaCloudgameInteractiveGamePlayerKickoutRequest 初始化AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest对象
func (AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) GetKickOutUserRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) GetKickOutUserRequest() *KickOutUserRequest
GetKickOutUserRequest KickOutUserRequest Getter
func (*AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) SetKickOutUserRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest) SetKickOutUserRequest(_kickOutUserRequest *KickOutUserRequest) error
SetKickOutUserRequest is KickOutUserRequest Setter 请求入参
type AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponseModel }
AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponse 踢人 API返回值 alibaba.cloudgame.interactive.game.player.kickout
踢人
type AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_player_kickout_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaCloudgameInteractiveGamePlayerKickoutResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponseModel is 踢人 成功返回结果
type AlibabaCloudgameInteractiveGamePlayerKickoutResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerKickoutResult struct { // 返回状态码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果 Data *JoinCodeAssignResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGamePlayerKickoutResult 结构体
type AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest 获取用户状态 API请求 alibaba.cloudgame.interactive.game.player.status.get
获取用户状态
func NewAlibabaCloudgameInteractiveGamePlayerStatusGetRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGamePlayerStatusGetRequest() *AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest
NewAlibabaCloudgameInteractiveGamePlayerStatusGetRequest 初始化AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest对象
func (AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) GetUserGameStatusGetRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) GetUserGameStatusGetRequest() *UserGameStatusGetRequest
GetUserGameStatusGetRequest UserGameStatusGetRequest Getter
func (*AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) SetUserGameStatusGetRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest) SetUserGameStatusGetRequest(_userGameStatusGetRequest *UserGameStatusGetRequest) error
SetUserGameStatusGetRequest is UserGameStatusGetRequest Setter 请求入参
type AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponseModel }
AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponse 获取用户状态 API返回值 alibaba.cloudgame.interactive.game.player.status.get
获取用户状态
type AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_player_status_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaCloudgameInteractiveGamePlayerStatusGetResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponseModel is 获取用户状态 成功返回结果
type AlibabaCloudgameInteractiveGamePlayerStatusGetResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerStatusGetResult struct { // 返回状态码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果 Data *GameStatusGetResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGamePlayerStatusGetResult 结构体
type AlibabaCloudgameInteractiveGamePlayerStopAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerStopAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGamePlayerStopAPIRequest 用户停止游戏 API请求 alibaba.cloudgame.interactive.game.player.stop
用户停止游戏
func NewAlibabaCloudgameInteractiveGamePlayerStopRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGamePlayerStopRequest() *AlibabaCloudgameInteractiveGamePlayerStopAPIRequest
NewAlibabaCloudgameInteractiveGamePlayerStopRequest 初始化AlibabaCloudgameInteractiveGamePlayerStopAPIRequest对象
func (AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) GetStopUserGameRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) GetStopUserGameRequest() *StopUserGameRequest
GetStopUserGameRequest StopUserGameRequest Getter
func (*AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) SetStopUserGameRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGamePlayerStopAPIRequest) SetStopUserGameRequest(_stopUserGameRequest *StopUserGameRequest) error
SetStopUserGameRequest is StopUserGameRequest Setter 请求入参
type AlibabaCloudgameInteractiveGamePlayerStopAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerStopAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGamePlayerStopAPIResponseModel }
AlibabaCloudgameInteractiveGamePlayerStopAPIResponse 用户停止游戏 API返回值 alibaba.cloudgame.interactive.game.player.stop
用户停止游戏
type AlibabaCloudgameInteractiveGamePlayerStopAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerStopAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_player_stop_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaCloudgameInteractiveGamePlayerStopResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGamePlayerStopAPIResponseModel is 用户停止游戏 成功返回结果
type AlibabaCloudgameInteractiveGamePlayerStopResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGamePlayerStopResult struct { // 返回状态码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果 Data *StopUserGameResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGamePlayerStopResult 结构体
type AlibabaCloudgameInteractiveGameRoomCreateAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameRoomCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGameRoomCreateAPIRequest 建游戏房间 API请求 alibaba.cloudgame.interactive.game.room.create
建游戏房间
func NewAlibabaCloudgameInteractiveGameRoomCreateRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGameRoomCreateRequest() *AlibabaCloudgameInteractiveGameRoomCreateAPIRequest
NewAlibabaCloudgameInteractiveGameRoomCreateRequest 初始化AlibabaCloudgameInteractiveGameRoomCreateAPIRequest对象
func (AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) GetCreateRoomRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) GetCreateRoomRequest() *CreateRoomRequest
GetCreateRoomRequest CreateRoomRequest Getter
func (*AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) SetCreateRoomRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGameRoomCreateAPIRequest) SetCreateRoomRequest(_createRoomRequest *CreateRoomRequest) error
SetCreateRoomRequest is CreateRoomRequest Setter 请求
type AlibabaCloudgameInteractiveGameRoomCreateAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameRoomCreateAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGameRoomCreateAPIResponseModel }
AlibabaCloudgameInteractiveGameRoomCreateAPIResponse 建游戏房间 API返回值 alibaba.cloudgame.interactive.game.room.create
建游戏房间
type AlibabaCloudgameInteractiveGameRoomCreateAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameRoomCreateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_room_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaCloudgameInteractiveGameRoomCreateResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGameRoomCreateAPIResponseModel is 建游戏房间 成功返回结果
type AlibabaCloudgameInteractiveGameRoomCreateResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameRoomCreateResult struct { // 状态码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回提示信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果 Data *CreateRoomResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGameRoomCreateResult 结构体
type AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest 强制关闭房间 API请求 alibaba.cloudgame.interactive.game.room.shutdown
强制关闭房间
func NewAlibabaCloudgameInteractiveGameRoomShutdownRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGameRoomShutdownRequest() *AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest
NewAlibabaCloudgameInteractiveGameRoomShutdownRequest 初始化AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest对象
func (AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) GetShutdownRoomRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) GetShutdownRoomRequest() *ShutdownRoomRequest
GetShutdownRoomRequest ShutdownRoomRequest Getter
func (*AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) SetShutdownRoomRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest) SetShutdownRoomRequest(_shutdownRoomRequest *ShutdownRoomRequest) error
SetShutdownRoomRequest is ShutdownRoomRequest Setter 请求入参
type AlibabaCloudgameInteractiveGameRoomShutdownAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameRoomShutdownAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGameRoomShutdownAPIResponseModel }
AlibabaCloudgameInteractiveGameRoomShutdownAPIResponse 强制关闭房间 API返回值 alibaba.cloudgame.interactive.game.room.shutdown
强制关闭房间
type AlibabaCloudgameInteractiveGameRoomShutdownAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameRoomShutdownAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_room_shutdown_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaCloudgameInteractiveGameRoomShutdownResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGameRoomShutdownAPIResponseModel is 强制关闭房间 成功返回结果
type AlibabaCloudgameInteractiveGameRoomShutdownResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameRoomShutdownResult struct { // 状态码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // 强制停止房间返回结果 Data *ShutdownRoomResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGameRoomShutdownResult 结构体
type AlibabaCloudgameInteractiveGameStartAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameStartAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGameStartAPIRequest 云游戏场景互动开始游戏 API请求 alibaba.cloudgame.interactive.game.start
开始游戏
func NewAlibabaCloudgameInteractiveGameStartRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGameStartRequest() *AlibabaCloudgameInteractiveGameStartAPIRequest
NewAlibabaCloudgameInteractiveGameStartRequest 初始化AlibabaCloudgameInteractiveGameStartAPIRequest对象
func (AlibabaCloudgameInteractiveGameStartAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameStartAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGameStartAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameStartAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGameStartAPIRequest) GetStartGameRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameStartAPIRequest) GetStartGameRequest() *StartGameRequest
GetStartGameRequest StartGameRequest Getter
func (*AlibabaCloudgameInteractiveGameStartAPIRequest) SetStartGameRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGameStartAPIRequest) SetStartGameRequest(_startGameRequest *StartGameRequest) error
SetStartGameRequest is StartGameRequest Setter 请求入参
type AlibabaCloudgameInteractiveGameStartAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameStartAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGameStartAPIResponseModel }
AlibabaCloudgameInteractiveGameStartAPIResponse 云游戏场景互动开始游戏 API返回值 alibaba.cloudgame.interactive.game.start
开始游戏
type AlibabaCloudgameInteractiveGameStartAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameStartAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_start_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaCloudgameInteractiveGameStartResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGameStartAPIResponseModel is 云游戏场景互动开始游戏 成功返回结果
type AlibabaCloudgameInteractiveGameStartResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameStartResult struct { // 返回状态码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果 Data *StartGameResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGameStartResult 结构体
type AlibabaCloudgameInteractiveGameStatusGetAPIRequest ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameStatusGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameInteractiveGameStatusGetAPIRequest 获取游戏状态 API请求 alibaba.cloudgame.interactive.game.status.get
获取游戏状态
func NewAlibabaCloudgameInteractiveGameStatusGetRequest ¶ added in v1.2.5
func NewAlibabaCloudgameInteractiveGameStatusGetRequest() *AlibabaCloudgameInteractiveGameStatusGetAPIRequest
NewAlibabaCloudgameInteractiveGameStatusGetRequest 初始化AlibabaCloudgameInteractiveGameStatusGetAPIRequest对象
func (AlibabaCloudgameInteractiveGameStatusGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameStatusGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameInteractiveGameStatusGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameStatusGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameInteractiveGameStatusGetAPIRequest) GetGameStatusGetRequest ¶ added in v1.2.5
func (r AlibabaCloudgameInteractiveGameStatusGetAPIRequest) GetGameStatusGetRequest() *GameStatusGetRequest
GetGameStatusGetRequest GameStatusGetRequest Getter
func (*AlibabaCloudgameInteractiveGameStatusGetAPIRequest) SetGameStatusGetRequest ¶ added in v1.2.5
func (r *AlibabaCloudgameInteractiveGameStatusGetAPIRequest) SetGameStatusGetRequest(_gameStatusGetRequest *GameStatusGetRequest) error
SetGameStatusGetRequest is GameStatusGetRequest Setter 请求入参
type AlibabaCloudgameInteractiveGameStatusGetAPIResponse ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameStatusGetAPIResponse struct { model.CommonResponse AlibabaCloudgameInteractiveGameStatusGetAPIResponseModel }
AlibabaCloudgameInteractiveGameStatusGetAPIResponse 获取游戏状态 API返回值 alibaba.cloudgame.interactive.game.status.get
获取游戏状态
type AlibabaCloudgameInteractiveGameStatusGetAPIResponseModel ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameStatusGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_interactive_game_status_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaCloudgameInteractiveGameStatusGetResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaCloudgameInteractiveGameStatusGetAPIResponseModel is 获取游戏状态 成功返回结果
type AlibabaCloudgameInteractiveGameStatusGetResult ¶ added in v1.2.5
type AlibabaCloudgameInteractiveGameStatusGetResult struct { // 返回状态码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回结果 Data *GameStatusGetResponse `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameInteractiveGameStatusGetResult 结构体
type AlibabaCloudgameUserMixuseridCheckAPIRequest ¶ added in v1.2.0
type AlibabaCloudgameUserMixuseridCheckAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaCloudgameUserMixuseridCheckAPIRequest 云游戏混淆用户ID校验 API请求 alibaba.cloudgame.user.mixuserid.check
验证混淆用户ID是否合法
func NewAlibabaCloudgameUserMixuseridCheckRequest ¶
func NewAlibabaCloudgameUserMixuseridCheckRequest() *AlibabaCloudgameUserMixuseridCheckAPIRequest
NewAlibabaCloudgameUserMixuseridCheckRequest 初始化AlibabaCloudgameUserMixuseridCheckAPIRequest对象
func (AlibabaCloudgameUserMixuseridCheckAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaCloudgameUserMixuseridCheckAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCloudgameUserMixuseridCheckAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaCloudgameUserMixuseridCheckAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCloudgameUserMixuseridCheckAPIRequest) GetMixUserId ¶ added in v1.2.0
func (r AlibabaCloudgameUserMixuseridCheckAPIRequest) GetMixUserId() string
GetMixUserId MixUserId Getter
func (*AlibabaCloudgameUserMixuseridCheckAPIRequest) SetMixUserId ¶ added in v1.2.0
func (r *AlibabaCloudgameUserMixuseridCheckAPIRequest) SetMixUserId(_mixUserId string) error
SetMixUserId is MixUserId Setter 云游戏混淆用户ID
type AlibabaCloudgameUserMixuseridCheckAPIResponse ¶
type AlibabaCloudgameUserMixuseridCheckAPIResponse struct { model.CommonResponse AlibabaCloudgameUserMixuseridCheckAPIResponseModel }
AlibabaCloudgameUserMixuseridCheckAPIResponse 云游戏混淆用户ID校验 API返回值 alibaba.cloudgame.user.mixuserid.check
验证混淆用户ID是否合法
type AlibabaCloudgameUserMixuseridCheckAPIResponseModel ¶ added in v1.2.0
type AlibabaCloudgameUserMixuseridCheckAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_cloudgame_user_mixuserid_check_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 返回码描述 ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"` // 是否有效 Data bool `json:"data,omitempty" xml:"data,omitempty"` }
AlibabaCloudgameUserMixuseridCheckAPIResponseModel is 云游戏混淆用户ID校验 成功返回结果
type AppDeletionCallbackRequest ¶ added in v1.2.5
type AppDeletionCallbackRequest struct { // 游戏删除结果 Result *DeleteAppCommandResult `json:"result,omitempty" xml:"result,omitempty"` }
AppDeletionCallbackRequest 结构体
type CpCallbackReportDto ¶
type CpCallbackReportDto struct { // 云游戏业务类型, 不同业务类型对应bizData格式不同 BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 启动游戏票据,可以用来换取gameSessionId Ticket string `json:"ticket,omitempty" xml:"ticket,omitempty"` // 云游戏加密用户Id MixUserId string `json:"mix_user_id,omitempty" xml:"mix_user_id,omitempty"` // 回传业务数据, 针对biztype=0, 格式包含: 过关数, 剩余生命, 每关使用生命,每关耗时. CallbackBizData string `json:"callback_biz_data,omitempty" xml:"callback_biz_data,omitempty"` // 约定的appKey GameAppKey string `json:"game_app_key,omitempty" xml:"game_app_key,omitempty"` // 全局唯一id, 用于接口幂等 Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` // 时间戳, 毫秒级别 ReportTimestamp int64 `json:"report_timestamp,omitempty" xml:"report_timestamp,omitempty"` }
CpCallbackReportDto 结构体
type CreateRoomRequest ¶ added in v1.2.5
type CreateRoomRequest struct { // 游戏id MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 主播用户id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 验签token Token string `json:"token,omitempty" xml:"token,omitempty"` }
CreateRoomRequest 结构体
type CreateRoomResponse ¶ added in v1.2.5
type CreateRoomResponse struct { // 扩展数据 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
CreateRoomResponse 结构体
type DeleteAppCommandResult ¶ added in v1.2.5
type DeleteAppCommandResult struct { // 游戏删除任务ID TaskId string `json:"task_id,omitempty" xml:"task_id,omitempty"` // 游戏删除是否成功 Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"` }
DeleteAppCommandResult 结构体
type DownloadFileCommandResult ¶ added in v1.2.5
type DownloadFileCommandResult struct { // 文件下载任务ID TaskId string `json:"task_id,omitempty" xml:"task_id,omitempty"` // 文件下载失败原因 FailureReason string `json:"failure_reason,omitempty" xml:"failure_reason,omitempty"` // 文件下载是否成功 Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"` }
DownloadFileCommandResult 结构体
type EndpointServerDto ¶ added in v1.2.5
type EndpointServerDto struct { // name Name string `json:"name,omitempty" xml:"name,omitempty"` // 类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // isp Isp string `json:"isp,omitempty" xml:"isp,omitempty"` // webSocketDomain WebSocketDomain string `json:"web_socket_domain,omitempty" xml:"web_socket_domain,omitempty"` // wsToken WsToken string `json:"ws_token,omitempty" xml:"ws_token,omitempty"` // webSocketPort WebSocketPort int64 `json:"web_socket_port,omitempty" xml:"web_socket_port,omitempty"` }
EndpointServerDto 结构体
type FileDownloadCallbackRequest ¶ added in v1.2.5
type FileDownloadCallbackRequest struct { // 文件下载结果 Result *DownloadFileCommandResult `json:"result,omitempty" xml:"result,omitempty"` }
FileDownloadCallbackRequest 结构体
type GameEndPoint ¶ added in v1.2.5
type GameEndPoint struct { // H5或者Native的访问点 Type string `json:"type,omitempty" xml:"type,omitempty"` // 后端的isv类型 Provider string `json:"provider,omitempty" xml:"provider,omitempty"` // websocket 域名 H5 WsServer string `json:"ws_server,omitempty" xml:"ws_server,omitempty"` // websocket 端口 H5 WsPort string `json:"ws_port,omitempty" xml:"ws_port,omitempty"` // websocket token WsToken string `json:"ws_token,omitempty" xml:"ws_token,omitempty"` // isp Isp string `json:"isp,omitempty" xml:"isp,omitempty"` // region_id RegionId string `json:"region_id,omitempty" xml:"region_id,omitempty"` // h5_domain H5Domain string `json:"h5_domain,omitempty" xml:"h5_domain,omitempty"` // area_id AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"` }
GameEndPoint 结构体
type GameStatusGetRequest ¶ added in v1.2.5
type GameStatusGetRequest struct { // 游戏id MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 验签token Token string `json:"token,omitempty" xml:"token,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
GameStatusGetRequest 结构体
type GameStatusGetResponse ¶ added in v1.2.5
type GameStatusGetResponse struct { // 玩家列表 PlayerList []OpenGamePlayerDto `json:"player_list,omitempty" xml:"player_list>open_game_player_dto,omitempty"` // 游戏会话id GameSession string `json:"game_session,omitempty" xml:"game_session,omitempty"` // 用户状态 Status string `json:"status,omitempty" xml:"status,omitempty"` // 扩展字段 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 状态详情数据 StatusData string `json:"status_data,omitempty" xml:"status_data,omitempty"` // 用户id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 游戏详情 Game *OpenGameDto `json:"game,omitempty" xml:"game,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
GameStatusGetResponse 结构体
type GamepadGetRequest ¶ added in v1.2.5
type GamepadGetRequest struct { // xxxx MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` }
GamepadGetRequest 结构体
type GamepadGetResponse ¶ added in v1.2.5
type GamepadGetResponse struct { // 虚拟手柄样例 VirtualGamepadList []VirtualGamepadList `json:"virtual_gamepad_list,omitempty" xml:"virtual_gamepad_list>virtual_gamepad_list,omitempty"` }
GamepadGetResponse 结构体
type GetSlotResponse ¶ added in v1.2.5
type GetSlotResponse struct { // 联机码 JoinCode []string `json:"join_code,omitempty" xml:"join_code>string,omitempty"` // 串流信息 Endpoints []GameEndPoint `json:"endpoints,omitempty" xml:"endpoints>game_end_point,omitempty"` // h5servier地址 EndpointServer []EndpointServerDto `json:"endpoint_server,omitempty" xml:"endpoint_server>endpoint_server_dto,omitempty"` // 编码后的游戏ID MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 会话ID GameSession string `json:"game_session,omitempty" xml:"game_session,omitempty"` // 游戏token GameToken string `json:"game_token,omitempty" xml:"game_token,omitempty"` // 游戏状态描述 QueueStateDesc string `json:"queue_state_desc,omitempty" xml:"queue_state_desc,omitempty"` // 会话状态备注 LinkMark string `json:"link_mark,omitempty" xml:"link_mark,omitempty"` // 用户id MixUserId string `json:"mix_user_id,omitempty" xml:"mix_user_id,omitempty"` // 调度类型 SchedType string `json:"sched_type,omitempty" xml:"sched_type,omitempty"` // 会话状态 QueueState int64 `json:"queue_state,omitempty" xml:"queue_state,omitempty"` // 用户等级 UserLevel int64 `json:"user_level,omitempty" xml:"user_level,omitempty"` // vip等级 VipLevel int64 `json:"vip_level,omitempty" xml:"vip_level,omitempty"` // 轮询时间间隔 PollingInterval int64 `json:"polling_interval,omitempty" xml:"polling_interval,omitempty"` // 是否是主控 Host bool `json:"host,omitempty" xml:"host,omitempty"` // 是否是强制264 ForceH264 bool `json:"force_h264,omitempty" xml:"force_h264,omitempty"` }
GetSlotResponse 结构体
type HeartBeatRequest ¶ added in v1.2.5
type HeartBeatRequest struct { // 游戏id MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 主播用户id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 验签token Token string `json:"token,omitempty" xml:"token,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` // 心跳序列 Seq int64 `json:"seq,omitempty" xml:"seq,omitempty"` // 心跳间隔(s) Interval int64 `json:"interval,omitempty" xml:"interval,omitempty"` }
HeartBeatRequest 结构体
type HeartBeatResponse ¶ added in v1.2.5
type HeartBeatResponse struct { // 用户id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 扩展字段 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` // 上报时间戳 ReportTime int64 `json:"report_time,omitempty" xml:"report_time,omitempty"` // 上报序列 Seq int64 `json:"seq,omitempty" xml:"seq,omitempty"` }
HeartBeatResponse 结构体
type JoinCodeAssignRequest ¶ added in v1.2.5
type JoinCodeAssignRequest struct { // 游戏id MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 主播用户id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 验签token Token string `json:"token,omitempty" xml:"token,omitempty"` // 玩家位置 PlayIndex string `json:"play_index,omitempty" xml:"play_index,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
JoinCodeAssignRequest 结构体
type JoinCodeAssignResponse ¶ added in v1.2.5
type JoinCodeAssignResponse struct { // 玩家列表 PlayerList []Long `json:"player_list,omitempty" xml:"player_list>long,omitempty"` // 联机码 JoinCode string `json:"join_code,omitempty" xml:"join_code,omitempty"` // 游戏会话id GameSession string `json:"game_session,omitempty" xml:"game_session,omitempty"` // 扩展字段 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 游戏详情 Game *OpenGameDto `json:"game,omitempty" xml:"game,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
JoinCodeAssignResponse 结构体
type KickOutUserRequest ¶ added in v1.2.5
type KickOutUserRequest struct { // 游戏id MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 踢出用户id KickOutUserId string `json:"kick_out_user_id,omitempty" xml:"kick_out_user_id,omitempty"` // 验签token Token string `json:"token,omitempty" xml:"token,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
KickOutUserRequest 结构体
type LoginSessionDto ¶ added in v1.2.5
type LoginSessionDto struct { // user的acesstoken AccessToken string `json:"access_token,omitempty" xml:"access_token,omitempty"` // user在mp上的accountid MpAccountId int64 `json:"mp_account_id,omitempty" xml:"mp_account_id,omitempty"` }
LoginSessionDto 结构体
type Long ¶ added in v1.2.5
type Long struct { // 玩家id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 位置索引 PlayerIndex string `json:"player_index,omitempty" xml:"player_index,omitempty"` }
Long 结构体
type MpProjectConfigDto ¶ added in v1.2.5
type MpProjectConfigDto struct { // user在mp上的accountid ConfigKey string `json:"config_key,omitempty" xml:"config_key,omitempty"` // user的acesstoken CustomerUniqueId string `json:"customer_unique_id,omitempty" xml:"customer_unique_id,omitempty"` // customer platform env CustomeEnv string `json:"custome_env,omitempty" xml:"custome_env,omitempty"` // customer project id CustomerProjectId string `json:"customer_project_id,omitempty" xml:"customer_project_id,omitempty"` // customer id CustomeId int64 `json:"custome_id,omitempty" xml:"custome_id,omitempty"` // 是否检查userToken,目前都是0 CheckUserToken int64 `json:"check_user_token,omitempty" xml:"check_user_token,omitempty"` // 是否只有一个block,目前都是1 OnlyOneBlock int64 `json:"only_one_block,omitempty" xml:"only_one_block,omitempty"` // 缺省的blockid DefaultMpBlockId int64 `json:"default_mp_block_id,omitempty" xml:"default_mp_block_id,omitempty"` // mpprojectid MpProjectId int64 `json:"mp_project_id,omitempty" xml:"mp_project_id,omitempty"` }
MpProjectConfigDto 结构体
type OpenGameDto ¶ added in v1.2.5
type OpenGameDto struct { // 游戏id MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 游戏名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 创建者id Creator string `json:"creator,omitempty" xml:"creator,omitempty"` // 玩家id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 位置索引 PlayerIndex string `json:"player_index,omitempty" xml:"player_index,omitempty"` // 游戏总人数 TotalPlayerNum int64 `json:"total_player_num,omitempty" xml:"total_player_num,omitempty"` // 游戏当前人数 PlayerNum int64 `json:"player_num,omitempty" xml:"player_num,omitempty"` }
OpenGameDto 结构体
type OpenGamePlayerDto ¶ added in v1.2.5
type OpenGamePlayerDto struct { // 玩家id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 位置索引 PlayerIndex string `json:"player_index,omitempty" xml:"player_index,omitempty"` }
OpenGamePlayerDto 结构体
type OssDto ¶ added in v1.2.5
type OssDto struct { // oss bucket Bucket string `json:"bucket,omitempty" xml:"bucket,omitempty"` // 文件名, 不包含后缀 FileName string `json:"file_name,omitempty" xml:"file_name,omitempty"` // oss endpoint Endpoint string `json:"endpoint,omitempty" xml:"endpoint,omitempty"` // 上传文件自定义key, 如energy:活力页头像 FilePurpose string `json:"file_purpose,omitempty" xml:"file_purpose,omitempty"` // oss完整filekey FileKey string `json:"file_key,omitempty" xml:"file_key,omitempty"` // oss文件后缀名 FileExt string `json:"file_ext,omitempty" xml:"file_ext,omitempty"` // 文件类型, AUDIO,IMAGE, VIDEO, GIF FileType string `json:"file_type,omitempty" xml:"file_type,omitempty"` }
OssDto 结构体
type ScoreReportDto ¶
type ScoreReportDto struct { // 游戏结果 Score string `json:"score,omitempty" xml:"score,omitempty"` // SDK传入的gameSessionId GameSessionId string `json:"game_session_id,omitempty" xml:"game_session_id,omitempty"` // SDK传入的云游戏混合用户ID MixUserId string `json:"mix_user_id,omitempty" xml:"mix_user_id,omitempty"` // 全局唯一uuid, 用于幂等校验 Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` // 扩展信息JSON串 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 1 - 保存最佳战绩 2 - 强制更新战绩 OverwriteMethod int64 `json:"overwrite_method,omitempty" xml:"overwrite_method,omitempty"` // 上报时间戳 ReportTimestamp int64 `json:"report_timestamp,omitempty" xml:"report_timestamp,omitempty"` }
ScoreReportDto 结构体
type ShutdownRoomRequest ¶ added in v1.2.5
type ShutdownRoomRequest struct { // 验签token Token string `json:"token,omitempty" xml:"token,omitempty"` // 房间ID RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
ShutdownRoomRequest 结构体
type ShutdownRoomResponse ¶ added in v1.2.5
type ShutdownRoomResponse struct { // 游戏当前剩余玩家列表 PlayerList []OpenGamePlayerDto `json:"player_list,omitempty" xml:"player_list>open_game_player_dto,omitempty"` // 扩展字段 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 游戏详情 Game *OpenGameDto `json:"game,omitempty" xml:"game,omitempty"` // 房间号 RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
ShutdownRoomResponse 结构体
type StartGameRequest ¶ added in v1.2.5
type StartGameRequest struct { // 游戏id MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 主播用户id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 验签token Token string `json:"token,omitempty" xml:"token,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
StartGameRequest 结构体
type StartGameResponse ¶ added in v1.2.5
type StartGameResponse struct { // 玩家列表 PlayerList []OpenGamePlayerDto `json:"player_list,omitempty" xml:"player_list>open_game_player_dto,omitempty"` // 游戏会话id GameSession string `json:"game_session,omitempty" xml:"game_session,omitempty"` // 联机码 JoinCode string `json:"join_code,omitempty" xml:"join_code,omitempty"` // 扩展字段 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 游戏详情 Game *OpenGameDto `json:"game,omitempty" xml:"game,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` // 联机信息 Slot *GetSlotResponse `json:"slot,omitempty" xml:"slot,omitempty"` }
StartGameResponse 结构体
type StopUserGameRequest ¶ added in v1.2.5
type StopUserGameRequest struct { // 游戏id MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 用户id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 验签token Token string `json:"token,omitempty" xml:"token,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
StopUserGameRequest 结构体
type StopUserGameResponse ¶ added in v1.2.5
type StopUserGameResponse struct { // 玩家列表 PlayerList []OpenGamePlayerDto `json:"player_list,omitempty" xml:"player_list>open_game_player_dto,omitempty"` // 扩展字段 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 游戏详情 Game *OpenGameDto `json:"game,omitempty" xml:"game,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
StopUserGameResponse 结构体
type TopAvatarBodyDto ¶ added in v1.2.5
type TopAvatarBodyDto struct { // 头像icons AvatarIcons []string `json:"avatar_icons,omitempty" xml:"avatar_icons>string,omitempty"` // 装扮traceId TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"` // 装扮数据 FaceDataJson string `json:"face_data_json,omitempty" xml:"face_data_json,omitempty"` // top请求id RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 云游戏mixUserId MixUserId string `json:"mix_user_id,omitempty" xml:"mix_user_id,omitempty"` // 扩展数据 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 形象性别 1-男, 2-女 Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"` }
TopAvatarBodyDto 结构体
type TopQueryUserBodyDressRequest ¶ added in v1.2.5
type TopQueryUserBodyDressRequest struct { // 云游戏MixUserId MixUserId string `json:"mix_user_id,omitempty" xml:"mix_user_id,omitempty"` // API版本号, 可选 Version string `json:"version,omitempty" xml:"version,omitempty"` }
TopQueryUserBodyDressRequest 结构体
type TopRecordCallbackRequest ¶ added in v1.2.5
type TopRecordCallbackRequest struct { // 图片oss地址列表 Images []OssDto `json:"images,omitempty" xml:"images>oss_dto,omitempty"` // 视频oss地址列表 Videos []OssDto `json:"videos,omitempty" xml:"videos>oss_dto,omitempty"` // 云游戏mixUserId MixUserId string `json:"mix_user_id,omitempty" xml:"mix_user_id,omitempty"` // api版本version Version string `json:"version,omitempty" xml:"version,omitempty"` // 扩展json字段 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` }
TopRecordCallbackRequest 结构体
type TopRecordCallbackResp ¶ added in v1.2.5
type TopRecordCallbackResp struct { // 返回消息result Result string `json:"result,omitempty" xml:"result,omitempty"` // 返回code Code string `json:"code,omitempty" xml:"code,omitempty"` // top请求id RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 云游戏mixUserId MixUserId string `json:"mix_user_id,omitempty" xml:"mix_user_id,omitempty"` // str消息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
TopRecordCallbackResp 结构体
type UserGameStatusGetRequest ¶ added in v1.2.5
type UserGameStatusGetRequest struct { // 游戏id MixGameId string `json:"mix_game_id,omitempty" xml:"mix_game_id,omitempty"` // 主播用户id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 验签token Token string `json:"token,omitempty" xml:"token,omitempty"` // 房间id RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"` }
UserGameStatusGetRequest 结构体
type VirtualGamepadList ¶ added in v1.2.5
type VirtualGamepadList struct { // 手柄配置 Config string `json:"config,omitempty" xml:"config,omitempty"` // 配置名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 优先级 Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"` // 手柄ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 手柄类型 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
VirtualGamepadList 结构体
type YoukuCgameScoreReportAPIRequest ¶ added in v1.2.0
type YoukuCgameScoreReportAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuCgameScoreReportAPIRequest 云游戏战绩上传 API请求 youku.cgame.score.report
云游戏战绩上传API
func NewYoukuCgameScoreReportRequest ¶
func NewYoukuCgameScoreReportRequest() *YoukuCgameScoreReportAPIRequest
NewYoukuCgameScoreReportRequest 初始化YoukuCgameScoreReportAPIRequest对象
func (YoukuCgameScoreReportAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r YoukuCgameScoreReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuCgameScoreReportAPIRequest) GetApiParams ¶ added in v1.2.0
func (r YoukuCgameScoreReportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuCgameScoreReportAPIRequest) GetScoreReportDto ¶ added in v1.2.0
func (r YoukuCgameScoreReportAPIRequest) GetScoreReportDto() *ScoreReportDto
GetScoreReportDto ScoreReportDto Getter
func (*YoukuCgameScoreReportAPIRequest) SetScoreReportDto ¶ added in v1.2.0
func (r *YoukuCgameScoreReportAPIRequest) SetScoreReportDto(_scoreReportDto *ScoreReportDto) error
SetScoreReportDto is ScoreReportDto Setter 战绩上传Dto
type YoukuCgameScoreReportAPIResponse ¶
type YoukuCgameScoreReportAPIResponse struct { model.CommonResponse YoukuCgameScoreReportAPIResponseModel }
YoukuCgameScoreReportAPIResponse 云游戏战绩上传 API返回值 youku.cgame.score.report
云游戏战绩上传API
type YoukuCgameScoreReportAPIResponseModel ¶ added in v1.2.0
type YoukuCgameScoreReportAPIResponseModel struct { XMLName xml.Name `xml:"youku_cgame_score_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 返回消息体 Data string `json:"data,omitempty" xml:"data,omitempty"` // 返回消息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
YoukuCgameScoreReportAPIResponseModel is 云游戏战绩上传 成功返回结果
Source Files ¶
- AlibabaCgameAvatarUserbodyQueryAPIRequest.go
- AlibabaCgameAvatarUserbodyQueryAPIResponse.go
- AlibabaCgameAvatarUserbodyQueryData.go
- AlibabaCgameAvatarUserbodyQueryResult.go
- AlibabaCgameContentDistributionAppDeletionUpdateAPIRequest.go
- AlibabaCgameContentDistributionAppDeletionUpdateAPIResponse.go
- AlibabaCgameContentDistributionFileDownloadUpdateAPIRequest.go
- AlibabaCgameContentDistributionFileDownloadUpdateAPIResponse.go
- AlibabaCgameLiteplayAvatarBodyQueryAPIRequest.go
- AlibabaCgameLiteplayAvatarBodyQueryAPIResponse.go
- AlibabaCgameLiteplayAvatarBodyQueryResult.go
- AlibabaCgameLiteplayAvatarRecordReportAPIRequest.go
- AlibabaCgameLiteplayAvatarRecordReportAPIResponse.go
- AlibabaCgameLiteplayAvatarRecordReportResult.go
- AlibabaCgameMpMpprojectInitnewprojectAPIRequest.go
- AlibabaCgameMpMpprojectInitnewprojectAPIResponse.go
- AlibabaCgameMpMpprojectInitnewprojectResult.go
- AlibabaCgameMpMpprojectLoginexistaccountAPIRequest.go
- AlibabaCgameMpMpprojectLoginexistaccountAPIResponse.go
- AlibabaCgameMpMpprojectLoginexistaccountResult.go
- AlibabaCgameMpMpsessionSendmessagetogameAPIRequest.go
- AlibabaCgameMpMpsessionSendmessagetogameAPIResponse.go
- AlibabaCgameMpMpsessionSendmessagetogameResult.go
- AlibabaCgameScoreReportAPIRequest.go
- AlibabaCgameScoreReportAPIResponse.go
- AlibabaCgameScoreReportResult.go
- AlibabaCloudgameInteractiveGameGamepadGetAPIRequest.go
- AlibabaCloudgameInteractiveGameGamepadGetAPIResponse.go
- AlibabaCloudgameInteractiveGameGamepadGetResult.go
- AlibabaCloudgameInteractiveGameHeartbeatAPIRequest.go
- AlibabaCloudgameInteractiveGameHeartbeatAPIResponse.go
- AlibabaCloudgameInteractiveGameHeartbeatResult.go
- AlibabaCloudgameInteractiveGameJoincodeAssignAPIRequest.go
- AlibabaCloudgameInteractiveGameJoincodeAssignAPIResponse.go
- AlibabaCloudgameInteractiveGameJoincodeAssignResult.go
- AlibabaCloudgameInteractiveGamePlayerKickoutAPIRequest.go
- AlibabaCloudgameInteractiveGamePlayerKickoutAPIResponse.go
- AlibabaCloudgameInteractiveGamePlayerKickoutResult.go
- AlibabaCloudgameInteractiveGamePlayerStatusGetAPIRequest.go
- AlibabaCloudgameInteractiveGamePlayerStatusGetAPIResponse.go
- AlibabaCloudgameInteractiveGamePlayerStatusGetResult.go
- AlibabaCloudgameInteractiveGamePlayerStopAPIRequest.go
- AlibabaCloudgameInteractiveGamePlayerStopAPIResponse.go
- AlibabaCloudgameInteractiveGamePlayerStopResult.go
- AlibabaCloudgameInteractiveGameRoomCreateAPIRequest.go
- AlibabaCloudgameInteractiveGameRoomCreateAPIResponse.go
- AlibabaCloudgameInteractiveGameRoomCreateResult.go
- AlibabaCloudgameInteractiveGameRoomShutdownAPIRequest.go
- AlibabaCloudgameInteractiveGameRoomShutdownAPIResponse.go
- AlibabaCloudgameInteractiveGameRoomShutdownResult.go
- AlibabaCloudgameInteractiveGameStartAPIRequest.go
- AlibabaCloudgameInteractiveGameStartAPIResponse.go
- AlibabaCloudgameInteractiveGameStartResult.go
- AlibabaCloudgameInteractiveGameStatusGetAPIRequest.go
- AlibabaCloudgameInteractiveGameStatusGetAPIResponse.go
- AlibabaCloudgameInteractiveGameStatusGetResult.go
- AlibabaCloudgameUserMixuseridCheckAPIRequest.go
- AlibabaCloudgameUserMixuseridCheckAPIResponse.go
- AppDeletionCallbackRequest.go
- CpCallbackReportDto.go
- CreateRoomRequest.go
- CreateRoomResponse.go
- DeleteAppCommandResult.go
- DownloadFileCommandResult.go
- EndpointServerDto.go
- FileDownloadCallbackRequest.go
- GameEndPoint.go
- GameStatusGetRequest.go
- GameStatusGetResponse.go
- GamepadGetRequest.go
- GamepadGetResponse.go
- GetSlotResponse.go
- HeartBeatRequest.go
- HeartBeatResponse.go
- JoinCodeAssignRequest.go
- JoinCodeAssignResponse.go
- KickOutUserRequest.go
- LoginSessionDto.go
- Long.go
- MpProjectConfigDto.go
- OpenGameDto.go
- OpenGamePlayerDto.go
- OssDto.go
- ScoreReportDto.go
- ShutdownRoomRequest.go
- ShutdownRoomResponse.go
- StartGameRequest.go
- StartGameResponse.go
- StopUserGameRequest.go
- StopUserGameResponse.go
- TopAvatarBodyDto.go
- TopQueryUserBodyDressRequest.go
- TopRecordCallbackRequest.go
- TopRecordCallbackResp.go
- UserGameStatusGetRequest.go
- VirtualGamepadList.go
- YoukuCgameScoreReportAPIRequest.go
- YoukuCgameScoreReportAPIResponse.go
- doc.go