Documentation ¶
Index ¶
- Constants
- Variables
- type DAC
- func (d *DAC) CheckFriendCode(ctx context.Context, friendCode uint64) (*protocol.CMsgClientToGCCheckFriendCodeResponse, error)
- func (d *DAC) Close()
- func (d *DAC) CreateFriendCode(ctx context.Context) (*protocol.CMsgClientToGCCreateFriendCodeResponse, error)
- func (d *DAC) CreateParty(ctx context.Context, partyMmInfo protocol.CMsgPartyMMInfo, startReady bool, ...) (*protocol.CMsgClientToGCPartyCreateResponse, error)
- func (d *DAC) GetCache() *socache.SOCache
- func (d *DAC) GetDuosRanks(ctx context.Context, accountID uint32, cursorValue uint32, batchSize uint32, ...) (*protocol.CMsgClientToGCGetDuosRanksResponse, error)
- func (d *DAC) GetFriendCodes(ctx context.Context) (*protocol.CMsgClientToGCGetFriendCodesResponse, error)
- func (d *DAC) GetFriendRanks(ctx context.Context) (*protocol.CMsgClientToGCGetFriendRanksResponse, error)
- func (d *DAC) GetMatchHistory(ctx context.Context, accountID uint32, requestRows uint32, ...) (*protocol.CMsgClientToGCGetMatchHistoryResponse, error)
- func (d *DAC) GetPostMatchStats(ctx context.Context, matchID uint64) (*protocol.CMsgClientToGCGetPostMatchStatsResponse, error)
- func (d *DAC) GetProfile(ctx context.Context, accountID uint32) (*protocol.CMsgClientToGCGetProfileResponse, error)
- func (d *DAC) GetPuzzleLeaderboards(ctx context.Context, puzzleID uint32, count uint32) (*protocol.CMsgClientToGCGetPuzzleLeaderboardsResponse, error)
- func (d *DAC) GetRegionModeInfo(ctx context.Context) (*protocol.CMsgClientToGCGetRegionModeInfoResponse, error)
- func (d *DAC) HandleGCPacket(packet *gamecoordinator.GCPacket)
- func (d *DAC) InviteLobbyMember(playerID steamid.SteamId)
- func (d *DAC) JoinParty(ctx context.Context, partyID uint64, isRejoin bool, ...) (*protocol.CMsgClientToGCPartyJoinResponse, error)
- func (d *DAC) JoinPartyViaCode(ctx context.Context, joinCode uint64, partyMmInfo protocol.CMsgPartyMMInfo, ...) (*protocol.CMsgClientToGCPartyJoinViaCodeResponse, error)
- func (d *DAC) LeaveLobby(ctx context.Context, lobbyID uint64) (*protocol.CMsgClientToGCLeaveLobbyResponse, error)
- func (d *DAC) LeaveParty(ctx context.Context, partyID uint64) (*protocol.CMsgClientToGCPartyLeaveResponse, error)
- func (d *DAC) LeavePartyGCBase()
- func (d *DAC) MakeRequest(ctx context.Context, reqMsgID uint32, request proto.Message, respMsgID uint32, ...) (mrErr error)
- func (d *DAC) PurchaseCanItem(ctx context.Context, req *protocol.CMsgClientToGCCanPurchaseItem) (*protocol.CMsgClientToGCCanPurchaseItemResponse, error)
- func (d *DAC) PurchaseClearReserve(ctx context.Context, defIndex uint32, storeID protocol.EDACStoreID, ...) (*protocol.CMsgClientToGCClearPurchaseReserveResponse, error)
- func (d *DAC) PurchaseEvent(ctx context.Context, eventID uint32, expectedCredits uint32) (*protocol.CMsgClientToGCEventPurchaseResponse, error)
- func (d *DAC) PurchaseEventCurrency(ctx context.Context, eventID uint32, purchaseQuantity uint32, ...) (*protocol.CMsgClientToGCEventPurchaseCurrencyResponse, error)
- func (d *DAC) PurchaseItemHandle(ctx context.Context, req *protocol.CMsgClientToGCHandleItemPurchase) (*protocol.CMsgClientToGCHandleItemPurchaseResponse, error)
- func (d *DAC) RecordLocalBotMatch(req *protocol.CMsgClientToGCRecordLocalBotMatch)
- func (d *DAC) RedeemFriendCode(ctx context.Context, friendCode uint64, targetAccountID uint32) (*protocol.CMsgClientToGCRedeemFriendCodeResponse, error)
- func (d *DAC) RequestCacheSubscriptionRefresh(ownerSoid *gcsdkm.CMsgSOIDOwner)
- func (d *DAC) RequestEventInfo(accountID uint32, eventID uint32)
- func (d *DAC) RequestEventInfoSync(ctx context.Context, accountID uint32, eventID uint32) (*protocol.CMsgClientToGCEventRequestInfoSyncResponse, error)
- func (d *DAC) RerollChallenge(ctx context.Context, eventID uint32, slotID uint32, sequenceID uint32) (*protocol.CMsgClientToGCRerollChallengeResponse, error)
- func (d *DAC) RevokeFriendCode(ctx context.Context, friendCode uint64) (*protocol.CMsgClientToGCRevokeFriendCodeResponse, error)
- func (d *DAC) SayHello(haveCacheVersions ...*gcsdkm.CMsgSOCacheHaveVersion)
- func (d *DAC) SendAckSupportCredits(ctx context.Context, itemID uint64) (*protocol.CMsgClientToGCAckSupportCreditsResponse, error)
- func (d *DAC) SendAssociateDevice(ctx context.Context, deviceID uint64, platform protocol.EDACPlatform, ...) (*protocol.CMsgClientToGCAssociateDeviceResponse, error)
- func (d *DAC) SendClaimChallengeReward(ctx context.Context, eventID uint32, slotID uint32, sequenceID uint32, ...) (*protocol.CMsgClientToGCClaimChallengeRewardResponse, error)
- func (d *DAC) SendDevEventOperation(ctx context.Context, req *protocol.CMsgClientToGCDevEventOperation) (*protocol.CMsgClientToGCDevEventOperationResponse, error)
- func (d *DAC) SendDevForceMatchFormation()
- func (d *DAC) SendDevOperation(ctx context.Context, op protocol.CMsgClientToGCDevOperation_EOperation, ...) (*protocol.CMsgClientToGCDevOperationResponse, error)
- func (d *DAC) SendEquipLoadout(ctx context.Context, loadoutSlot []uint32, itemID []uint64, ...) (*protocol.CMsgClientToGCEquipLoadoutResponse, error)
- func (d *DAC) SendEventChallengeProgress(ctx context.Context, eventID uint32, slotID uint32, sequenceID uint32, ...) (*protocol.CMsgClientToGCEventChallengeProgressResponse, error)
- func (d *DAC) SendEventChallengeProgressWithCurrency(ctx context.Context, ...) (*protocol.CMsgClientToGCEventChallengeProgressWithCurrencyResponse, error)
- func (d *DAC) SendEventClaim(ctx context.Context, eventID uint32, claimID uint32, startingValue uint32) (*protocol.CMsgClientToGCEventClaimResponse, error)
- func (d *DAC) SendEventEquipVirtualItems(ctx context.Context, eventID uint32, ...) (*protocol.CMsgClientToGCEventEquipVirtualItemsResponse, error)
- func (d *DAC) SendIsInMatchmaking(ctx context.Context) (*protocol.CMsgClientToGCIsInMatchmakingResponse, error)
- func (d *DAC) SendPartyAction(ctx context.Context, partyID uint64, targetAccountID uint32, ...) (*protocol.CMsgClientToGCPartyActionResponse, error)
- func (d *DAC) SendPartyClientVersion(partyID uint64, partyMmInfo protocol.CMsgPartyMMInfo)
- func (d *DAC) SendPartyInviteUser(ctx context.Context, partyID uint64, inviteAccountID uint32) (*protocol.CMsgClientToGCPartyInviteUserResponse, error)
- func (d *DAC) SendPerformAutoActions(ctx context.Context, eventID uint32, updateChallengeSlots []uint32, ...) (*protocol.CMsgClientToGCPerformAutoActionsResponse, error)
- func (d *DAC) SendReplacementSDRTicket(ctx context.Context, lobbyID uint64) (*protocol.CMsgClientToGCReplacementSDRTicketResponse, error)
- func (d *DAC) SendUpdateAccountSync(ctx context.Context, ids []uint32, values []uint32) (*protocol.CMsgClientToGCUpdateAccountSyncResponse, error)
- func (d *DAC) SetPartyGameModifier(ctx context.Context, partyID uint64, useCustomModifier bool, ...) (*protocol.CMsgClientToGCPartySetGameModifierResponse, error)
- func (d *DAC) SetPlaying(playing bool)
- func (d *DAC) SetTeamName(ctx context.Context, routingID uint32, otherAccountID uint32, teamName string) (*protocol.CMsgClientToGCSetTeamNameResponse, error)
- func (d *DAC) SpectateUser(ctx context.Context, spectateAccountID uint32, ...) (*protocol.CMsgClientToGCSpectateUserResponse, error)
- func (d *DAC) StartMatchmaking(ctx context.Context, matchInfo protocol.CMsgStartFindingMatchInfo, ...) (*protocol.CMsgClientToGCStartMatchmakingResponse, error)
- func (d *DAC) StartPartyMatch(ctx context.Context, req *protocol.CMsgClientToGCPartyStartMatch) (*protocol.CMsgClientToGCPartyStartMatchResponse, error)
- func (d *DAC) StopMatchmaking(ctx context.Context) (*protocol.CMsgClientToGCStopMatchmakingResponse, error)
Constants ¶
const AppID = 1046930
AppID is the ID for underlords
Variables ¶
var ErrNotReady = errors.New("client not ready")
ErrNotReady is returned when the client is not ready.
Functions ¶
This section is empty.
Types ¶
type DAC ¶
type DAC struct {
// contains filtered or unexported fields
}
DAC handles the dota game handler.
func (*DAC) CheckFriendCode ¶
func (d *DAC) CheckFriendCode( ctx context.Context, friendCode uint64, ) (*protocol.CMsgClientToGCCheckFriendCodeResponse, error)
CheckFriendCode checks a friend code. Request ID: k_EMsgClientToGCCheckFriendCode Response ID: k_EMsgClientToGCCheckFriendCodeResponse Request type: CMsgClientToGCCheckFriendCode Response type: CMsgClientToGCCheckFriendCodeResponse
func (*DAC) CreateFriendCode ¶
func (d *DAC) CreateFriendCode( ctx context.Context, ) (*protocol.CMsgClientToGCCreateFriendCodeResponse, error)
CreateFriendCode creates a friend code. Request ID: k_EMsgClientToGCCreateFriendCode Response ID: k_EMsgClientToGCCreateFriendCodeResponse Request type: CMsgClientToGCCreateFriendCode Response type: CMsgClientToGCCreateFriendCodeResponse
func (*DAC) CreateParty ¶
func (d *DAC) CreateParty( ctx context.Context, partyMmInfo protocol.CMsgPartyMMInfo, startReady bool, inviteAccountID uint32, disablePartyCode bool, ) (*protocol.CMsgClientToGCPartyCreateResponse, error)
CreateParty creates a party. Request ID: k_EMsgClientToGCPartyCreate Response ID: k_EMsgClientToGCPartyCreateResponse Request type: CMsgClientToGCPartyCreate Response type: CMsgClientToGCPartyCreateResponse
func (*DAC) GetDuosRanks ¶
func (d *DAC) GetDuosRanks( ctx context.Context, accountID uint32, cursorValue uint32, batchSize uint32, sortOrder protocol.CMsgClientToGCGetDuosRanks_ESortOrder, ) (*protocol.CMsgClientToGCGetDuosRanksResponse, error)
GetDuosRanks gets duos ranks. Request ID: k_EMsgClientToGCGetDuosRanks Response ID: k_EMsgClientToGCGetDuosRanksResponse Request type: CMsgClientToGCGetDuosRanks Response type: CMsgClientToGCGetDuosRanksResponse
func (*DAC) GetFriendCodes ¶
func (d *DAC) GetFriendCodes( ctx context.Context, ) (*protocol.CMsgClientToGCGetFriendCodesResponse, error)
GetFriendCodes gets friend codes. Request ID: k_EMsgClientToGCGetFriendCodes Response ID: k_EMsgClientToGCGetFriendCodesResponse Request type: CMsgClientToGCGetFriendCodes Response type: CMsgClientToGCGetFriendCodesResponse
func (*DAC) GetFriendRanks ¶
func (d *DAC) GetFriendRanks( ctx context.Context, ) (*protocol.CMsgClientToGCGetFriendRanksResponse, error)
GetFriendRanks gets friend ranks. Request ID: k_EMsgClientToGCGetFriendRanks Response ID: k_EMsgClientToGCGetFriendRanksResponse Request type: CMsgClientToGCGetFriendRanks Response type: CMsgClientToGCGetFriendRanksResponse
func (*DAC) GetMatchHistory ¶
func (d *DAC) GetMatchHistory( ctx context.Context, accountID uint32, requestRows uint32, matchIDCursor uint64, ) (*protocol.CMsgClientToGCGetMatchHistoryResponse, error)
GetMatchHistory gets a match history. Request ID: k_EMsgClientToGCGetMatchHistory Response ID: k_EMsgClientToGCGetMatchHistoryResponse Request type: CMsgClientToGCGetMatchHistory Response type: CMsgClientToGCGetMatchHistoryResponse
func (*DAC) GetPostMatchStats ¶
func (d *DAC) GetPostMatchStats( ctx context.Context, matchID uint64, ) (*protocol.CMsgClientToGCGetPostMatchStatsResponse, error)
GetPostMatchStats gets post match stats. Request ID: k_EMsgClientToGCGetPostMatchStats Response ID: k_EMsgClientToGCGetPostMatchStatsResponse Request type: CMsgClientToGCGetPostMatchStats Response type: CMsgClientToGCGetPostMatchStatsResponse
func (*DAC) GetProfile ¶
func (d *DAC) GetProfile( ctx context.Context, accountID uint32, ) (*protocol.CMsgClientToGCGetProfileResponse, error)
GetProfile gets a profile. Request ID: k_EMsgClientToGCGetProfile Response ID: k_EMsgClientToGCGetProfileResponse Request type: CMsgClientToGCGetProfile Response type: CMsgClientToGCGetProfileResponse
func (*DAC) GetPuzzleLeaderboards ¶
func (d *DAC) GetPuzzleLeaderboards( ctx context.Context, puzzleID uint32, count uint32, ) (*protocol.CMsgClientToGCGetPuzzleLeaderboardsResponse, error)
GetPuzzleLeaderboards gets puzzle leaderboards. Request ID: k_EMsgClientToGCGetPuzzleLeaderboards Response ID: k_EMsgClientToGCGetPuzzleLeaderboardsResponse Request type: CMsgClientToGCGetPuzzleLeaderboards Response type: CMsgClientToGCGetPuzzleLeaderboardsResponse
func (*DAC) GetRegionModeInfo ¶
func (d *DAC) GetRegionModeInfo( ctx context.Context, ) (*protocol.CMsgClientToGCGetRegionModeInfoResponse, error)
GetRegionModeInfo gets a region mode info. Request ID: k_EMsgClientToGCGetRegionModeInfo Response ID: k_EMsgClientToGCGetRegionModeInfoResponse Request type: CMsgClientToGCGetRegionModeInfo Response type: CMsgClientToGCGetRegionModeInfoResponse
func (*DAC) HandleGCPacket ¶
func (d *DAC) HandleGCPacket(packet *gamecoordinator.GCPacket)
HandleGCPacket handles an incoming game coordinator packet.
func (*DAC) InviteLobbyMember ¶
InviteLobbyMember attempts to invite a player to the current lobby.
func (*DAC) JoinParty ¶
func (d *DAC) JoinParty( ctx context.Context, partyID uint64, isRejoin bool, partyMmInfo protocol.CMsgPartyMMInfo, startReady bool, ) (*protocol.CMsgClientToGCPartyJoinResponse, error)
JoinParty joins a party. Request ID: k_EMsgClientToGCPartyJoin Response ID: k_EMsgClientToGCPartyJoinResponse Request type: CMsgClientToGCPartyJoin Response type: CMsgClientToGCPartyJoinResponse
func (*DAC) JoinPartyViaCode ¶
func (d *DAC) JoinPartyViaCode( ctx context.Context, joinCode uint64, partyMmInfo protocol.CMsgPartyMMInfo, startReady bool, ) (*protocol.CMsgClientToGCPartyJoinViaCodeResponse, error)
JoinPartyViaCode joins a party via code. Request ID: k_EMsgClientToGCPartyJoinViaCode Response ID: k_EMsgClientToGCPartyJoinViaCodeResponse Request type: CMsgClientToGCPartyJoinViaCode Response type: CMsgClientToGCPartyJoinViaCodeResponse
func (*DAC) LeaveLobby ¶
func (d *DAC) LeaveLobby( ctx context.Context, lobbyID uint64, ) (*protocol.CMsgClientToGCLeaveLobbyResponse, error)
LeaveLobby leaves a lobby. Request ID: k_EMsgClientToGCLeaveLobby Response ID: k_EMsgClientToGCLeaveLobbyResponse Request type: CMsgClientToGCLeaveLobby Response type: CMsgClientToGCLeaveLobbyResponse
func (*DAC) LeaveParty ¶
func (d *DAC) LeaveParty( ctx context.Context, partyID uint64, ) (*protocol.CMsgClientToGCPartyLeaveResponse, error)
LeaveParty leaves a party. Request ID: k_EMsgClientToGCPartyLeave Response ID: k_EMsgClientToGCPartyLeaveResponse Request type: CMsgClientToGCPartyLeave Response type: CMsgClientToGCPartyLeaveResponse
func (*DAC) LeavePartyGCBase ¶
func (d *DAC) LeavePartyGCBase()
LeavePartyGCBase attempts to leave the current party using the GC base party system.
func (*DAC) MakeRequest ¶
func (d *DAC) MakeRequest( ctx context.Context, reqMsgID uint32, request proto.Message, respMsgID uint32, response proto.Message, matchesRequest ...func(proto.Message) bool, ) (mrErr error)
MakeRequest starts and tracks a request given a context.
func (*DAC) PurchaseCanItem ¶
func (d *DAC) PurchaseCanItem( ctx context.Context, req *protocol.CMsgClientToGCCanPurchaseItem, ) (*protocol.CMsgClientToGCCanPurchaseItemResponse, error)
PurchaseCanItem purchases a can item. Request ID: k_EMsgClientToGCCanPurchaseItem Response ID: k_EMsgClientToGCCanPurchaseItemResponse Request type: CMsgClientToGCCanPurchaseItem Response type: CMsgClientToGCCanPurchaseItemResponse
func (*DAC) PurchaseClearReserve ¶
func (d *DAC) PurchaseClearReserve( ctx context.Context, defIndex uint32, storeID protocol.EDACStoreID, deviceID uint64, ) (*protocol.CMsgClientToGCClearPurchaseReserveResponse, error)
PurchaseClearReserve purchases a clear reserve. Request ID: k_EMsgClientToGCClearPurchaseReserve Response ID: k_EMsgClientToGCClearPurchaseReserveResponse Request type: CMsgClientToGCClearPurchaseReserve Response type: CMsgClientToGCClearPurchaseReserveResponse
func (*DAC) PurchaseEvent ¶
func (d *DAC) PurchaseEvent( ctx context.Context, eventID uint32, expectedCredits uint32, ) (*protocol.CMsgClientToGCEventPurchaseResponse, error)
PurchaseEvent purchases a event. Request ID: k_EMsgClientToGCEventPurchase Response ID: k_EMsgClientToGCEventPurchaseResponse Request type: CMsgClientToGCEventPurchase Response type: CMsgClientToGCEventPurchaseResponse
func (*DAC) PurchaseEventCurrency ¶
func (d *DAC) PurchaseEventCurrency( ctx context.Context, eventID uint32, purchaseQuantity uint32, expectedCost uint32, currencyID uint32, startingBalance uint32, ) (*protocol.CMsgClientToGCEventPurchaseCurrencyResponse, error)
PurchaseEventCurrency purchases a event currency. Request ID: k_EMsgClientToGCEventPurchaseCurrency Response ID: k_EMsgClientToGCEventPurchaseCurrencyResponse Request type: CMsgClientToGCEventPurchaseCurrency Response type: CMsgClientToGCEventPurchaseCurrencyResponse
func (*DAC) PurchaseItemHandle ¶
func (d *DAC) PurchaseItemHandle( ctx context.Context, req *protocol.CMsgClientToGCHandleItemPurchase, ) (*protocol.CMsgClientToGCHandleItemPurchaseResponse, error)
PurchaseItemHandle purchases a item handle. Request ID: k_EMsgClientToGCHandleItemPurchase Response ID: k_EMsgClientToGCHandleItemPurchaseResponse Request type: CMsgClientToGCHandleItemPurchase Response type: CMsgClientToGCHandleItemPurchaseResponse
func (*DAC) RecordLocalBotMatch ¶
func (d *DAC) RecordLocalBotMatch( req *protocol.CMsgClientToGCRecordLocalBotMatch, )
RecordLocalBotMatch records a local bot match. Request ID: k_EMsgClientToGCRecordLocalBotMatch Request type: CMsgClientToGCRecordLocalBotMatch
func (*DAC) RedeemFriendCode ¶
func (d *DAC) RedeemFriendCode( ctx context.Context, friendCode uint64, targetAccountID uint32, ) (*protocol.CMsgClientToGCRedeemFriendCodeResponse, error)
RedeemFriendCode redeems a friend code. Request ID: k_EMsgClientToGCRedeemFriendCode Response ID: k_EMsgClientToGCRedeemFriendCodeResponse Request type: CMsgClientToGCRedeemFriendCode Response type: CMsgClientToGCRedeemFriendCodeResponse
func (*DAC) RequestCacheSubscriptionRefresh ¶
func (d *DAC) RequestCacheSubscriptionRefresh(ownerSoid *gcsdkm.CMsgSOIDOwner)
RequestCacheSubscriptionRefresh requests a subscription refresh for a specific cache ID.
func (*DAC) RequestEventInfo ¶
RequestEventInfo requests a event info. Request ID: k_EMsgClientToGCEventRequestInfo Request type: CMsgClientToGCEventRequestInfo
func (*DAC) RequestEventInfoSync ¶
func (d *DAC) RequestEventInfoSync( ctx context.Context, accountID uint32, eventID uint32, ) (*protocol.CMsgClientToGCEventRequestInfoSyncResponse, error)
RequestEventInfoSync requests a event info sync. Request ID: k_EMsgClientToGCEventRequestInfoSync Response ID: k_EMsgClientToGCEventRequestInfoSyncResponse Request type: CMsgClientToGCEventRequestInfoSync Response type: CMsgClientToGCEventRequestInfoSyncResponse
func (*DAC) RerollChallenge ¶
func (d *DAC) RerollChallenge( ctx context.Context, eventID uint32, slotID uint32, sequenceID uint32, ) (*protocol.CMsgClientToGCRerollChallengeResponse, error)
RerollChallenge rerolls a challenge. Request ID: k_EMsgClientToGCRerollChallenge Response ID: k_EMsgClientToGCRerollChallengeResponse Request type: CMsgClientToGCRerollChallenge Response type: CMsgClientToGCRerollChallengeResponse
func (*DAC) RevokeFriendCode ¶
func (d *DAC) RevokeFriendCode( ctx context.Context, friendCode uint64, ) (*protocol.CMsgClientToGCRevokeFriendCodeResponse, error)
RevokeFriendCode revokes a friend code. Request ID: k_EMsgClientToGCRevokeFriendCode Response ID: k_EMsgClientToGCRevokeFriendCodeResponse Request type: CMsgClientToGCRevokeFriendCode Response type: CMsgClientToGCRevokeFriendCodeResponse
func (*DAC) SayHello ¶
func (d *DAC) SayHello(haveCacheVersions ...*gcsdkm.CMsgSOCacheHaveVersion)
SayHello says hello to the DAC server, in an attempt to get a session.
func (*DAC) SendAckSupportCredits ¶
func (d *DAC) SendAckSupportCredits( ctx context.Context, itemID uint64, ) (*protocol.CMsgClientToGCAckSupportCreditsResponse, error)
SendAckSupportCredits sends ack support credits. Request ID: k_EMsgClientToGCAckSupportCredits Response ID: k_EMsgClientToGCAckSupportCreditsResponse Request type: CMsgClientToGCAckSupportCredits Response type: CMsgClientToGCAckSupportCreditsResponse
func (*DAC) SendAssociateDevice ¶
func (d *DAC) SendAssociateDevice( ctx context.Context, deviceID uint64, platform protocol.EDACPlatform, salt uint32, ) (*protocol.CMsgClientToGCAssociateDeviceResponse, error)
SendAssociateDevice sends a associate device. Request ID: k_EMsgClientToGCAssociateDevice Response ID: k_EMsgClientToGCAssociateDeviceResponse Request type: CMsgClientToGCAssociateDevice Response type: CMsgClientToGCAssociateDeviceResponse
func (*DAC) SendClaimChallengeReward ¶
func (d *DAC) SendClaimChallengeReward( ctx context.Context, eventID uint32, slotID uint32, sequenceID uint32, startingClaimed uint32, ) (*protocol.CMsgClientToGCClaimChallengeRewardResponse, error)
SendClaimChallengeReward sends a claim challenge reward. Request ID: k_EMsgClientToGCClaimChallengeReward Response ID: k_EMsgClientToGCClaimChallengeRewardResponse Request type: CMsgClientToGCClaimChallengeReward Response type: CMsgClientToGCClaimChallengeRewardResponse
func (*DAC) SendDevEventOperation ¶
func (d *DAC) SendDevEventOperation( ctx context.Context, req *protocol.CMsgClientToGCDevEventOperation, ) (*protocol.CMsgClientToGCDevEventOperationResponse, error)
SendDevEventOperation sends a dev event operation. Request ID: k_EMsgClientToGCDevEventOperation Response ID: k_EMsgClientToGCDevEventOperationResponse Request type: CMsgClientToGCDevEventOperation Response type: CMsgClientToGCDevEventOperationResponse
func (*DAC) SendDevForceMatchFormation ¶
func (d *DAC) SendDevForceMatchFormation()
SendDevForceMatchFormation sends a dev force match formation. Request ID: k_EMsgClientToGCDevForceMatchFormation Request type: CMsgClientToGCDevForceMatchFormation
func (*DAC) SendDevOperation ¶
func (d *DAC) SendDevOperation( ctx context.Context, op protocol.CMsgClientToGCDevOperation_EOperation, uintValue uint64, strValue string, uintValue2 uint64, ) (*protocol.CMsgClientToGCDevOperationResponse, error)
SendDevOperation sends a dev operation. Request ID: k_EMsgClientToGCDevOperation Response ID: k_EMsgClientToGCDevOperationResponse Request type: CMsgClientToGCDevOperation Response type: CMsgClientToGCDevOperationResponse
func (*DAC) SendEquipLoadout ¶
func (d *DAC) SendEquipLoadout( ctx context.Context, loadoutSlot []uint32, itemID []uint64, loadoutSubSlot []uint32, ) (*protocol.CMsgClientToGCEquipLoadoutResponse, error)
SendEquipLoadout sends a equip loadout. Request ID: k_EMsgClientToGCEquipLoadout Response ID: k_EMsgClientToGCEquipLoadoutResponse Request type: CMsgClientToGCEquipLoadout Response type: CMsgClientToGCEquipLoadoutResponse
func (*DAC) SendEventChallengeProgress ¶
func (d *DAC) SendEventChallengeProgress( ctx context.Context, eventID uint32, slotID uint32, sequenceID uint32, progress uint32, auditData uint64, ) (*protocol.CMsgClientToGCEventChallengeProgressResponse, error)
SendEventChallengeProgress sends event challenge progress. Request ID: k_EMsgClientToGCEventChallengeProgress Response ID: k_EMsgClientToGCEventChallengeProgressResponse Request type: CMsgClientToGCEventChallengeProgress Response type: CMsgClientToGCEventChallengeProgressResponse
func (*DAC) SendEventChallengeProgressWithCurrency ¶
func (d *DAC) SendEventChallengeProgressWithCurrency( ctx context.Context, req *protocol.CMsgClientToGCEventChallengeProgressWithCurrency, ) (*protocol.CMsgClientToGCEventChallengeProgressWithCurrencyResponse, error)
SendEventChallengeProgressWithCurrency sends a event challenge progress with currency. Request ID: k_EMsgClientToGCEventChallengeProgressWithCurrency Response ID: k_EMsgClientToGCEventChallengeProgressWithCurrencyResponse Request type: CMsgClientToGCEventChallengeProgressWithCurrency Response type: CMsgClientToGCEventChallengeProgressWithCurrencyResponse
func (*DAC) SendEventClaim ¶
func (d *DAC) SendEventClaim( ctx context.Context, eventID uint32, claimID uint32, startingValue uint32, ) (*protocol.CMsgClientToGCEventClaimResponse, error)
SendEventClaim sends a event claim. Request ID: k_EMsgClientToGCEventClaim Response ID: k_EMsgClientToGCEventClaimResponse Request type: CMsgClientToGCEventClaim Response type: CMsgClientToGCEventClaimResponse
func (*DAC) SendEventEquipVirtualItems ¶
func (d *DAC) SendEventEquipVirtualItems( ctx context.Context, eventID uint32, equipList []*protocol.CMsgClientToGCEventEquipVirtualItems_Equip, ) (*protocol.CMsgClientToGCEventEquipVirtualItemsResponse, error)
SendEventEquipVirtualItems sends event equip virtual items. Request ID: k_EMsgClientToGCEventEquipVirtualItems Response ID: k_EMsgClientToGCEventEquipVirtualItemsResponse Request type: CMsgClientToGCEventEquipVirtualItems Response type: CMsgClientToGCEventEquipVirtualItemsResponse
func (*DAC) SendIsInMatchmaking ¶
func (d *DAC) SendIsInMatchmaking( ctx context.Context, ) (*protocol.CMsgClientToGCIsInMatchmakingResponse, error)
SendIsInMatchmaking sends a is in matchmaking. Request ID: k_EMsgClientToGCIsInMatchmaking Response ID: k_EMsgClientToGCIsInMatchmakingResponse Request type: CMsgClientToGCIsInMatchmaking Response type: CMsgClientToGCIsInMatchmakingResponse
func (*DAC) SendPartyAction ¶
func (d *DAC) SendPartyAction( ctx context.Context, partyID uint64, targetAccountID uint32, actionID protocol.CMsgClientToGCPartyAction_EAction, uintValue uint64, boolValue bool, ) (*protocol.CMsgClientToGCPartyActionResponse, error)
SendPartyAction sends a party action. Request ID: k_EMsgClientToGCPartyAction Response ID: k_EMsgClientToGCPartyActionResponse Request type: CMsgClientToGCPartyAction Response type: CMsgClientToGCPartyActionResponse
func (*DAC) SendPartyClientVersion ¶
func (d *DAC) SendPartyClientVersion( partyID uint64, partyMmInfo protocol.CMsgPartyMMInfo, )
SendPartyClientVersion sends a party client version. Request ID: k_EMsgClientToGCPartyClientVersion Request type: CMsgClientToGCPartyClientVersion
func (*DAC) SendPartyInviteUser ¶
func (d *DAC) SendPartyInviteUser( ctx context.Context, partyID uint64, inviteAccountID uint32, ) (*protocol.CMsgClientToGCPartyInviteUserResponse, error)
SendPartyInviteUser sends a party invite user. Request ID: k_EMsgClientToGCPartyInviteUser Response ID: k_EMsgClientToGCPartyInviteUserResponse Request type: CMsgClientToGCPartyInviteUser Response type: CMsgClientToGCPartyInviteUserResponse
func (*DAC) SendPerformAutoActions ¶
func (d *DAC) SendPerformAutoActions( ctx context.Context, eventID uint32, updateChallengeSlots []uint32, updateClaims []uint32, ) (*protocol.CMsgClientToGCPerformAutoActionsResponse, error)
SendPerformAutoActions sends perform auto actions. Request ID: k_EMsgClientToGCPerformAutoActions Response ID: k_EMsgClientToGCPerformAutoActionsResponse Request type: CMsgClientToGCPerformAutoActions Response type: CMsgClientToGCPerformAutoActionsResponse
func (*DAC) SendReplacementSDRTicket ¶
func (d *DAC) SendReplacementSDRTicket( ctx context.Context, lobbyID uint64, ) (*protocol.CMsgClientToGCReplacementSDRTicketResponse, error)
SendReplacementSDRTicket sends a replacement sdr ticket. Request ID: k_EMsgClientToGCReplacementSDRTicket Response ID: k_EMsgClientToGCReplacementSDRTicketResponse Request type: CMsgClientToGCReplacementSDRTicket Response type: CMsgClientToGCReplacementSDRTicketResponse
func (*DAC) SendUpdateAccountSync ¶
func (d *DAC) SendUpdateAccountSync( ctx context.Context, ids []uint32, values []uint32, ) (*protocol.CMsgClientToGCUpdateAccountSyncResponse, error)
SendUpdateAccountSync sends a update account sync. Request ID: k_EMsgClientToGCUpdateAccountSync Response ID: k_EMsgClientToGCUpdateAccountSyncResponse Request type: CMsgClientToGCUpdateAccountSync Response type: CMsgClientToGCUpdateAccountSyncResponse
func (*DAC) SetPartyGameModifier ¶
func (d *DAC) SetPartyGameModifier( ctx context.Context, partyID uint64, useCustomModifier bool, customModifier protocol.CMsgGameModifiers, ) (*protocol.CMsgClientToGCPartySetGameModifierResponse, error)
SetPartyGameModifier sets a party game modifier. Request ID: k_EMsgClientToGCPartySetGameModifier Response ID: k_EMsgClientToGCPartySetGameModifierResponse Request type: CMsgClientToGCPartySetGameModifier Response type: CMsgClientToGCPartySetGameModifierResponse
func (*DAC) SetPlaying ¶
SetPlaying informs Steam we are playing / not playing Dota 2.
func (*DAC) SetTeamName ¶
func (d *DAC) SetTeamName( ctx context.Context, routingID uint32, otherAccountID uint32, teamName string, ) (*protocol.CMsgClientToGCSetTeamNameResponse, error)
SetTeamName sets a team name. Request ID: k_EMsgClientToGCSetTeamName Response ID: k_EMsgClientToGCSetTeamNameResponse Request type: CMsgClientToGCSetTeamName Response type: CMsgClientToGCSetTeamNameResponse
func (*DAC) SpectateUser ¶
func (d *DAC) SpectateUser( ctx context.Context, spectateAccountID uint32, regionMode protocol.EDACRegionMode, ) (*protocol.CMsgClientToGCSpectateUserResponse, error)
SpectateUser spectates a user. Request ID: k_EMsgClientToGCSpectateUser Response ID: k_EMsgClientToGCSpectateUserResponse Request type: CMsgClientToGCSpectateUser Response type: CMsgClientToGCSpectateUserResponse
func (*DAC) StartMatchmaking ¶
func (d *DAC) StartMatchmaking( ctx context.Context, matchInfo protocol.CMsgStartFindingMatchInfo, pingTimes protocol.CMsgRegionPingTimesClient, ) (*protocol.CMsgClientToGCStartMatchmakingResponse, error)
StartMatchmaking starts a matchmaking. Request ID: k_EMsgClientToGCStartMatchmaking Response ID: k_EMsgClientToGCStartMatchmakingResponse Request type: CMsgClientToGCStartMatchmaking Response type: CMsgClientToGCStartMatchmakingResponse
func (*DAC) StartPartyMatch ¶
func (d *DAC) StartPartyMatch( ctx context.Context, req *protocol.CMsgClientToGCPartyStartMatch, ) (*protocol.CMsgClientToGCPartyStartMatchResponse, error)
StartPartyMatch starts a party match. Request ID: k_EMsgClientToGCPartyStartMatch Response ID: k_EMsgClientToGCPartyStartMatchResponse Request type: CMsgClientToGCPartyStartMatch Response type: CMsgClientToGCPartyStartMatchResponse
func (*DAC) StopMatchmaking ¶
func (d *DAC) StopMatchmaking( ctx context.Context, ) (*protocol.CMsgClientToGCStopMatchmakingResponse, error)
StopMatchmaking stops a matchmaking. Request ID: k_EMsgClientToGCStopMatchmaking Response ID: k_EMsgClientToGCStopMatchmakingResponse Request type: CMsgClientToGCStopMatchmaking Response type: CMsgClientToGCStopMatchmakingResponse