Documentation ¶
Index ¶
- type ChatServiceWebsocket
- func (s *ChatServiceWebsocket) GetPersonalChatHistory(friendID string) error
- func (s *ChatServiceWebsocket) JoinDefaultChannel() error
- func (s *ChatServiceWebsocket) SendChannelChat(channelSlug, payload string) error
- func (s *ChatServiceWebsocket) SendPartyChat(content string) error
- func (s *ChatServiceWebsocket) SendPersonalChat(friendID, content string) error
- type DSServiceWebsocket
- type FriendServiceWebsocket
- func (friendService *FriendServiceWebsocket) AcceptFriendRequest(friendID string) error
- func (friendService *FriendServiceWebsocket) Block(namespace, userID, blockedUserID string) error
- func (friendService *FriendServiceWebsocket) CancelFriendRequest(friendID string) error
- func (friendService *FriendServiceWebsocket) GetFriendPresenceStatus() error
- func (friendService *FriendServiceWebsocket) GetFriends() error
- func (friendService *FriendServiceWebsocket) GetFriendshipStatus(friendID string) error
- func (friendService *FriendServiceWebsocket) GetIncomingFriendRequest() error
- func (friendService *FriendServiceWebsocket) GetOutgoingFriendRequest() error
- func (friendService *FriendServiceWebsocket) RejectFriendRequest(friendID string) error
- func (friendService *FriendServiceWebsocket) RequestFriend(friendID string) error
- func (friendService *FriendServiceWebsocket) SetUserStatus(availability int, activity string) error
- func (friendService *FriendServiceWebsocket) Unblock(namespace, userID, unblockedUserID string) error
- func (friendService *FriendServiceWebsocket) Unfriend(friendID string) error
- type LobbyServiceWebsocket
- func (lobbyService *LobbyServiceWebsocket) AcceptFriendsNotif(friendId string) error
- func (lobbyService *LobbyServiceWebsocket) AcceptFriendsRequest(friendId *string, id *string) error
- func (lobbyService *LobbyServiceWebsocket) AcceptFriendsResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) BlockPlayerNotif(blockedUserId string, userId string) error
- func (lobbyService *LobbyServiceWebsocket) BlockPlayerRequest(blockUserId *string, id *string, namespace *string) error
- func (lobbyService *LobbyServiceWebsocket) BlockPlayerResponse(blockUserId string, code int64, id string, namespace string) error
- func (lobbyService *LobbyServiceWebsocket) CancelFriendsNotif(userId string) error
- func (lobbyService *LobbyServiceWebsocket) CancelFriendsRequest(friendId *string, id *string) error
- func (lobbyService *LobbyServiceWebsocket) CancelFriendsResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) CancelMatchmakingRequest(gameMode *string, id *string, isTempParty *bool) error
- func (lobbyService *LobbyServiceWebsocket) CancelMatchmakingResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) ChannelChatNotif(channelSlug string, from string, payload string, sentAt string) error
- func (lobbyService *LobbyServiceWebsocket) ClientResetRequest(namespace *string, userId *string) error
- func (lobbyService *LobbyServiceWebsocket) ConnectNotif(lobbySessionId string) error
- func (lobbyService *LobbyServiceWebsocket) DisconnectNotif(connectionId string, namespace string) error
- func (lobbyService *LobbyServiceWebsocket) DsNotif(alternateIps []string, customAttribute string, deployment string, ...) error
- func (lobbyService *LobbyServiceWebsocket) ErrorNotif(message string) error
- func (lobbyService *LobbyServiceWebsocket) ExitAllChannel(namespace string, userId string) error
- func (lobbyService *LobbyServiceWebsocket) FriendsStatusRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) FriendsStatusResponse(activity []string, availability []string, code int64, friendIds []string, ...) error
- func (lobbyService *LobbyServiceWebsocket) GetAllSessionAttributeRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) GetAllSessionAttributeResponse(attributes string, code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) GetFriendshipStatusRequest(friendId *string, id *string) error
- func (lobbyService *LobbyServiceWebsocket) GetFriendshipStatusResponse(code int64, friendshipStatus string, id string) error
- func (lobbyService *LobbyServiceWebsocket) GetSessionAttributeRequest(id *string, key *string) error
- func (lobbyService *LobbyServiceWebsocket) GetSessionAttributeResponse(code int64, id string, value string) error
- func (lobbyService *LobbyServiceWebsocket) Heartbeat() error
- func (lobbyService *LobbyServiceWebsocket) JoinDefaultChannelRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) JoinDefaultChannelResponse(channelSlug string, code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) ListIncomingFriendsRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) ListIncomingFriendsResponse(code int64, id string, userIds []string) error
- func (lobbyService *LobbyServiceWebsocket) ListOfFriendsRequest(friendId *string, id *string) error
- func (lobbyService *LobbyServiceWebsocket) ListOfFriendsResponse(code int64, friendIds []string, id string) error
- func (lobbyService *LobbyServiceWebsocket) ListOnlineFriendsRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) ListOutgoingFriendsRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) ListOutgoingFriendsResponse(code int64, friendIds []string, id string) error
- func (lobbyService *LobbyServiceWebsocket) MatchmakingNotif(counterPartyMember []string, matchId string, message string, ...) error
- func (lobbyService *LobbyServiceWebsocket) MessageNotif(from string, id string, payload string, sentAt int64, to string, topic string) error
- func (lobbyService *LobbyServiceWebsocket) OfflineNotificationRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) OfflineNotificationResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) OnlineFriends(code int64, id string, onlineFriendIds []string) error
- func (lobbyService *LobbyServiceWebsocket) PartyChatNotif(from string, id string, payload string, receivedAt int64, to string) error
- func (lobbyService *LobbyServiceWebsocket) PartyChatRequest(from *string, id *string, payload *string, receivedAt *int64, to *string) error
- func (lobbyService *LobbyServiceWebsocket) PartyChatResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) PartyCreateRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) PartyCreateResponse(code int64, id string, invitationToken string, invitees string, ...) error
- func (lobbyService *LobbyServiceWebsocket) PartyDataUpdateNotif(customAttributes string, invitees []string, leader string, members []string, ...) error
- func (lobbyService *LobbyServiceWebsocket) PartyGetInvitedNotif(from string, invitationToken string, partyId string) error
- func (lobbyService *LobbyServiceWebsocket) PartyInfoRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) PartyInfoResponse(code int64, customAttributes string, id string, invitationToken string, ...) error
- func (lobbyService *LobbyServiceWebsocket) PartyInviteNotif(inviteeId string, inviterId string) error
- func (lobbyService *LobbyServiceWebsocket) PartyInviteRequest(friendId *string, id *string) error
- func (lobbyService *LobbyServiceWebsocket) PartyInviteResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) PartyJoinNotif(userId string) error
- func (lobbyService *LobbyServiceWebsocket) PartyJoinRequest(id *string, invitationToken *string, partyId *string) error
- func (lobbyService *LobbyServiceWebsocket) PartyJoinResponse(code int64, id string, invitationToken string, invitees string, ...) error
- func (lobbyService *LobbyServiceWebsocket) PartyKickNotif(leaderId string, partyId string, userId string) error
- func (lobbyService *LobbyServiceWebsocket) PartyKickRequest(id *string, memberId *string) error
- func (lobbyService *LobbyServiceWebsocket) PartyKickResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) PartyLeaveNotif(leaderId string, userId string) error
- func (lobbyService *LobbyServiceWebsocket) PartyLeaveRequest(id *string, ignoreUserRegistry *bool) error
- func (lobbyService *LobbyServiceWebsocket) PartyLeaveResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) PartyPromoteLeaderRequest(id *string, newLeaderUserId *string) error
- func (lobbyService *LobbyServiceWebsocket) PartyPromoteLeaderResponse(code int64, id string, invitationToken string, invitees string, ...) error
- func (lobbyService *LobbyServiceWebsocket) PartyRejectNotif(leaderId string, partyId string, userId string) error
- func (lobbyService *LobbyServiceWebsocket) PartyRejectRequest(id *string, invitationToken *string, partyId *string) error
- func (lobbyService *LobbyServiceWebsocket) PartyRejectResponse(code int64, id string, partyId string) error
- func (lobbyService *LobbyServiceWebsocket) PersonalChatHistoryRequest(friendId *string, id *string) error
- func (lobbyService *LobbyServiceWebsocket) PersonalChatHistoryResponse(chat string, code int64, friendId string, id string) error
- func (lobbyService *LobbyServiceWebsocket) PersonalChatNotif(from string, id string, payload string, receivedAt int64, to string) error
- func (lobbyService *LobbyServiceWebsocket) PersonalChatRequest(from *string, id *string, payload *string, receivedAt *int64, to *string) error
- func (lobbyService *LobbyServiceWebsocket) PersonalChatResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) RefreshTokenRequest(id *string, token *string) error
- func (lobbyService *LobbyServiceWebsocket) RefreshTokenResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) RejectFriendsNotif(userId string) error
- func (lobbyService *LobbyServiceWebsocket) RejectFriendsRequest(friendId *string, id *string) error
- func (lobbyService *LobbyServiceWebsocket) RejectFriendsResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) RematchmakingNotif(banDuration int64) error
- func (lobbyService *LobbyServiceWebsocket) RequestFriendsNotif(friendId string) error
- func (lobbyService *LobbyServiceWebsocket) RequestFriendsRequest(friendId *string, id *string) error
- func (lobbyService *LobbyServiceWebsocket) RequestFriendsResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) SendChannelChatRequest(channelSlug *string, id *string, payload *string) error
- func (lobbyService *LobbyServiceWebsocket) SendChannelChatResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) SetReadyConsentNotif(matchId string, userId string) error
- func (lobbyService *LobbyServiceWebsocket) SetReadyConsentRequest(id *string, matchId *string) error
- func (lobbyService *LobbyServiceWebsocket) SetReadyConsentResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) SetSessionAttributeRequest(id *string, key *string, namespace *string, value *string) error
- func (lobbyService *LobbyServiceWebsocket) SetSessionAttributeResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) SetUserStatusRequest(activity *string, availability *int64, id *string) error
- func (lobbyService *LobbyServiceWebsocket) SetUserStatusResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) ShutdownNotif(message string) error
- func (lobbyService *LobbyServiceWebsocket) SignalingP2PNotif(destinationId string, message string) error
- func (lobbyService *LobbyServiceWebsocket) StartMatchmakingRequest(extraAttributes *string, gameMode *string, id *string, partyAttributes string, ...) error
- func (lobbyService *LobbyServiceWebsocket) StartMatchmakingResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) UnblockPlayerNotif(unblockedUserId string, userId string) error
- func (lobbyService *LobbyServiceWebsocket) UnblockPlayerRequest(id *string, namespace *string, unblockedUserId *string) error
- func (lobbyService *LobbyServiceWebsocket) UnblockPlayerResponse(code int64, id string, namespace string, unblockedUserId string) error
- func (lobbyService *LobbyServiceWebsocket) UnfriendNotif(friendId string) error
- func (lobbyService *LobbyServiceWebsocket) UnfriendRequest(friendId *string, id *string) error
- func (lobbyService *LobbyServiceWebsocket) UnfriendResponse(code int64, id string) error
- func (lobbyService *LobbyServiceWebsocket) UserBannedNotification() error
- func (lobbyService *LobbyServiceWebsocket) UserMetricRequest(id *string) error
- func (lobbyService *LobbyServiceWebsocket) UserMetricResponse(code int64, id string, playerCount int64) error
- func (lobbyService *LobbyServiceWebsocket) UserStatusNotif(activity string, availability int64, lastSeenAt string, userId string) error
- type MatchmakingServiceWebsocket
- type NotificationServiceWebsocket
- type PartyServiceWebsocket
- func (s *PartyServiceWebsocket) CreateParty() error
- func (s *PartyServiceWebsocket) DeletePartyCode() error
- func (s *PartyServiceWebsocket) GeneratePartyCode() error
- func (s *PartyServiceWebsocket) GetAllSessionAttribute() error
- func (s *PartyServiceWebsocket) GetPartyCode() error
- func (s *PartyServiceWebsocket) GetPartyInfo() error
- func (s *PartyServiceWebsocket) GetSessionAttribute(key string) error
- func (s *PartyServiceWebsocket) InviteParty(friendID string) error
- func (s *PartyServiceWebsocket) JoinParty(partyID, token string) error
- func (s *PartyServiceWebsocket) JoinViaPartyCode(partyCode string) error
- func (s *PartyServiceWebsocket) KickPartyMember(id string) error
- func (s *PartyServiceWebsocket) LeaveParty() error
- func (s *PartyServiceWebsocket) PromotePartyLeader(leaderUserID string) error
- func (s *PartyServiceWebsocket) RejectPartyInvitation(partyID, token string) error
- func (s *PartyServiceWebsocket) SendPartyNotif(topic, payload string) error
- func (s *PartyServiceWebsocket) SetSessionAttribute(key, value string) error
- func (s *PartyServiceWebsocket) UserMetric() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatServiceWebsocket ¶
type ChatServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*ChatServiceWebsocket) GetPersonalChatHistory ¶
func (s *ChatServiceWebsocket) GetPersonalChatHistory(friendID string) error
func (*ChatServiceWebsocket) JoinDefaultChannel ¶
func (s *ChatServiceWebsocket) JoinDefaultChannel() error
func (*ChatServiceWebsocket) SendChannelChat ¶
func (s *ChatServiceWebsocket) SendChannelChat(channelSlug, payload string) error
func (*ChatServiceWebsocket) SendPartyChat ¶
func (s *ChatServiceWebsocket) SendPartyChat(content string) error
func (*ChatServiceWebsocket) SendPersonalChat ¶
func (s *ChatServiceWebsocket) SendPersonalChat(friendID, content string) error
type DSServiceWebsocket ¶
type DSServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*DSServiceWebsocket) CreateDS ¶
func (dsService *DSServiceWebsocket) CreateDS(matchID, gameMode, dsName, clientVersion, region, deployment string) error
type FriendServiceWebsocket ¶
type FriendServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*FriendServiceWebsocket) AcceptFriendRequest ¶
func (friendService *FriendServiceWebsocket) AcceptFriendRequest(friendID string) error
func (*FriendServiceWebsocket) Block ¶
func (friendService *FriendServiceWebsocket) Block(namespace, userID, blockedUserID string) error
func (*FriendServiceWebsocket) CancelFriendRequest ¶
func (friendService *FriendServiceWebsocket) CancelFriendRequest(friendID string) error
func (*FriendServiceWebsocket) GetFriendPresenceStatus ¶
func (friendService *FriendServiceWebsocket) GetFriendPresenceStatus() error
func (*FriendServiceWebsocket) GetFriends ¶
func (friendService *FriendServiceWebsocket) GetFriends() error
func (*FriendServiceWebsocket) GetFriendshipStatus ¶
func (friendService *FriendServiceWebsocket) GetFriendshipStatus(friendID string) error
func (*FriendServiceWebsocket) GetIncomingFriendRequest ¶
func (friendService *FriendServiceWebsocket) GetIncomingFriendRequest() error
func (*FriendServiceWebsocket) GetOutgoingFriendRequest ¶
func (friendService *FriendServiceWebsocket) GetOutgoingFriendRequest() error
func (*FriendServiceWebsocket) RejectFriendRequest ¶
func (friendService *FriendServiceWebsocket) RejectFriendRequest(friendID string) error
func (*FriendServiceWebsocket) RequestFriend ¶
func (friendService *FriendServiceWebsocket) RequestFriend(friendID string) error
func (*FriendServiceWebsocket) SetUserStatus ¶
func (friendService *FriendServiceWebsocket) SetUserStatus(availability int, activity string) error
func (*FriendServiceWebsocket) Unblock ¶
func (friendService *FriendServiceWebsocket) Unblock(namespace, userID, unblockedUserID string) error
func (*FriendServiceWebsocket) Unfriend ¶
func (friendService *FriendServiceWebsocket) Unfriend(friendID string) error
type LobbyServiceWebsocket ¶
type LobbyServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
LobbyServiceWebsocket Deprecated: 2023-03-30 - please use LobbyServiceWebsocket imported from "github.com/AccelByte/accelbyte-go-modular-sdk/lobby-sdk/pkg"
func (*LobbyServiceWebsocket) AcceptFriendsNotif ¶
func (lobbyService *LobbyServiceWebsocket) AcceptFriendsNotif(friendId string) error
func (*LobbyServiceWebsocket) AcceptFriendsRequest ¶
func (lobbyService *LobbyServiceWebsocket) AcceptFriendsRequest(friendId *string, id *string) error
func (*LobbyServiceWebsocket) AcceptFriendsResponse ¶
func (lobbyService *LobbyServiceWebsocket) AcceptFriendsResponse(code int64, id string) error
func (*LobbyServiceWebsocket) BlockPlayerNotif ¶
func (lobbyService *LobbyServiceWebsocket) BlockPlayerNotif(blockedUserId string, userId string) error
func (*LobbyServiceWebsocket) BlockPlayerRequest ¶
func (lobbyService *LobbyServiceWebsocket) BlockPlayerRequest(blockUserId *string, id *string, namespace *string) error
func (*LobbyServiceWebsocket) BlockPlayerResponse ¶
func (*LobbyServiceWebsocket) CancelFriendsNotif ¶
func (lobbyService *LobbyServiceWebsocket) CancelFriendsNotif(userId string) error
func (*LobbyServiceWebsocket) CancelFriendsRequest ¶
func (lobbyService *LobbyServiceWebsocket) CancelFriendsRequest(friendId *string, id *string) error
func (*LobbyServiceWebsocket) CancelFriendsResponse ¶
func (lobbyService *LobbyServiceWebsocket) CancelFriendsResponse(code int64, id string) error
func (*LobbyServiceWebsocket) CancelMatchmakingRequest ¶
func (lobbyService *LobbyServiceWebsocket) CancelMatchmakingRequest(gameMode *string, id *string, isTempParty *bool) error
func (*LobbyServiceWebsocket) CancelMatchmakingResponse ¶
func (lobbyService *LobbyServiceWebsocket) CancelMatchmakingResponse(code int64, id string) error
func (*LobbyServiceWebsocket) ChannelChatNotif ¶
func (*LobbyServiceWebsocket) ClientResetRequest ¶
func (lobbyService *LobbyServiceWebsocket) ClientResetRequest(namespace *string, userId *string) error
func (*LobbyServiceWebsocket) ConnectNotif ¶
func (lobbyService *LobbyServiceWebsocket) ConnectNotif(lobbySessionId string) error
func (*LobbyServiceWebsocket) DisconnectNotif ¶
func (lobbyService *LobbyServiceWebsocket) DisconnectNotif(connectionId string, namespace string) error
func (*LobbyServiceWebsocket) DsNotif ¶
func (lobbyService *LobbyServiceWebsocket) DsNotif(alternateIps []string, customAttribute string, deployment string, gameVersion string, imageVersion string, ip string, isOK bool, isOverrideGameVersion bool, lastUpdate string, matchId string, message string, namespace string, podName string, port int64, ports string, protocol string, provider string, region string, sessionId string, status string) error
func (*LobbyServiceWebsocket) ErrorNotif ¶
func (lobbyService *LobbyServiceWebsocket) ErrorNotif(message string) error
func (*LobbyServiceWebsocket) ExitAllChannel ¶
func (lobbyService *LobbyServiceWebsocket) ExitAllChannel(namespace string, userId string) error
func (*LobbyServiceWebsocket) FriendsStatusRequest ¶
func (lobbyService *LobbyServiceWebsocket) FriendsStatusRequest(id *string) error
func (*LobbyServiceWebsocket) FriendsStatusResponse ¶
func (*LobbyServiceWebsocket) GetAllSessionAttributeRequest ¶
func (lobbyService *LobbyServiceWebsocket) GetAllSessionAttributeRequest(id *string) error
func (*LobbyServiceWebsocket) GetAllSessionAttributeResponse ¶
func (lobbyService *LobbyServiceWebsocket) GetAllSessionAttributeResponse(attributes string, code int64, id string) error
func (*LobbyServiceWebsocket) GetFriendshipStatusRequest ¶
func (lobbyService *LobbyServiceWebsocket) GetFriendshipStatusRequest(friendId *string, id *string) error
func (*LobbyServiceWebsocket) GetFriendshipStatusResponse ¶
func (lobbyService *LobbyServiceWebsocket) GetFriendshipStatusResponse(code int64, friendshipStatus string, id string) error
func (*LobbyServiceWebsocket) GetSessionAttributeRequest ¶
func (lobbyService *LobbyServiceWebsocket) GetSessionAttributeRequest(id *string, key *string) error
func (*LobbyServiceWebsocket) GetSessionAttributeResponse ¶
func (lobbyService *LobbyServiceWebsocket) GetSessionAttributeResponse(code int64, id string, value string) error
func (*LobbyServiceWebsocket) Heartbeat ¶
func (lobbyService *LobbyServiceWebsocket) Heartbeat() error
func (*LobbyServiceWebsocket) JoinDefaultChannelRequest ¶
func (lobbyService *LobbyServiceWebsocket) JoinDefaultChannelRequest(id *string) error
func (*LobbyServiceWebsocket) JoinDefaultChannelResponse ¶
func (lobbyService *LobbyServiceWebsocket) JoinDefaultChannelResponse(channelSlug string, code int64, id string) error
func (*LobbyServiceWebsocket) ListIncomingFriendsRequest ¶
func (lobbyService *LobbyServiceWebsocket) ListIncomingFriendsRequest(id *string) error
func (*LobbyServiceWebsocket) ListIncomingFriendsResponse ¶
func (lobbyService *LobbyServiceWebsocket) ListIncomingFriendsResponse(code int64, id string, userIds []string) error
func (*LobbyServiceWebsocket) ListOfFriendsRequest ¶
func (lobbyService *LobbyServiceWebsocket) ListOfFriendsRequest(friendId *string, id *string) error
func (*LobbyServiceWebsocket) ListOfFriendsResponse ¶
func (lobbyService *LobbyServiceWebsocket) ListOfFriendsResponse(code int64, friendIds []string, id string) error
func (*LobbyServiceWebsocket) ListOnlineFriendsRequest ¶
func (lobbyService *LobbyServiceWebsocket) ListOnlineFriendsRequest(id *string) error
func (*LobbyServiceWebsocket) ListOutgoingFriendsRequest ¶
func (lobbyService *LobbyServiceWebsocket) ListOutgoingFriendsRequest(id *string) error
func (*LobbyServiceWebsocket) ListOutgoingFriendsResponse ¶
func (lobbyService *LobbyServiceWebsocket) ListOutgoingFriendsResponse(code int64, friendIds []string, id string) error
func (*LobbyServiceWebsocket) MatchmakingNotif ¶
func (*LobbyServiceWebsocket) MessageNotif ¶
func (*LobbyServiceWebsocket) OfflineNotificationRequest ¶
func (lobbyService *LobbyServiceWebsocket) OfflineNotificationRequest(id *string) error
func (*LobbyServiceWebsocket) OfflineNotificationResponse ¶
func (lobbyService *LobbyServiceWebsocket) OfflineNotificationResponse(code int64, id string) error
func (*LobbyServiceWebsocket) OnlineFriends ¶
func (lobbyService *LobbyServiceWebsocket) OnlineFriends(code int64, id string, onlineFriendIds []string) error
func (*LobbyServiceWebsocket) PartyChatNotif ¶
func (*LobbyServiceWebsocket) PartyChatRequest ¶
func (*LobbyServiceWebsocket) PartyChatResponse ¶
func (lobbyService *LobbyServiceWebsocket) PartyChatResponse(code int64, id string) error
func (*LobbyServiceWebsocket) PartyCreateRequest ¶
func (lobbyService *LobbyServiceWebsocket) PartyCreateRequest(id *string) error
func (*LobbyServiceWebsocket) PartyCreateResponse ¶
func (*LobbyServiceWebsocket) PartyDataUpdateNotif ¶
func (*LobbyServiceWebsocket) PartyGetInvitedNotif ¶
func (lobbyService *LobbyServiceWebsocket) PartyGetInvitedNotif(from string, invitationToken string, partyId string) error
func (*LobbyServiceWebsocket) PartyInfoRequest ¶
func (lobbyService *LobbyServiceWebsocket) PartyInfoRequest(id *string) error
func (*LobbyServiceWebsocket) PartyInfoResponse ¶
func (*LobbyServiceWebsocket) PartyInviteNotif ¶
func (lobbyService *LobbyServiceWebsocket) PartyInviteNotif(inviteeId string, inviterId string) error
func (*LobbyServiceWebsocket) PartyInviteRequest ¶
func (lobbyService *LobbyServiceWebsocket) PartyInviteRequest(friendId *string, id *string) error
func (*LobbyServiceWebsocket) PartyInviteResponse ¶
func (lobbyService *LobbyServiceWebsocket) PartyInviteResponse(code int64, id string) error
func (*LobbyServiceWebsocket) PartyJoinNotif ¶
func (lobbyService *LobbyServiceWebsocket) PartyJoinNotif(userId string) error
func (*LobbyServiceWebsocket) PartyJoinRequest ¶
func (lobbyService *LobbyServiceWebsocket) PartyJoinRequest(id *string, invitationToken *string, partyId *string) error
func (*LobbyServiceWebsocket) PartyJoinResponse ¶
func (*LobbyServiceWebsocket) PartyKickNotif ¶
func (lobbyService *LobbyServiceWebsocket) PartyKickNotif(leaderId string, partyId string, userId string) error
func (*LobbyServiceWebsocket) PartyKickRequest ¶
func (lobbyService *LobbyServiceWebsocket) PartyKickRequest(id *string, memberId *string) error
func (*LobbyServiceWebsocket) PartyKickResponse ¶
func (lobbyService *LobbyServiceWebsocket) PartyKickResponse(code int64, id string) error
func (*LobbyServiceWebsocket) PartyLeaveNotif ¶
func (lobbyService *LobbyServiceWebsocket) PartyLeaveNotif(leaderId string, userId string) error
func (*LobbyServiceWebsocket) PartyLeaveRequest ¶
func (lobbyService *LobbyServiceWebsocket) PartyLeaveRequest(id *string, ignoreUserRegistry *bool) error
func (*LobbyServiceWebsocket) PartyLeaveResponse ¶
func (lobbyService *LobbyServiceWebsocket) PartyLeaveResponse(code int64, id string) error
func (*LobbyServiceWebsocket) PartyPromoteLeaderRequest ¶
func (lobbyService *LobbyServiceWebsocket) PartyPromoteLeaderRequest(id *string, newLeaderUserId *string) error
func (*LobbyServiceWebsocket) PartyPromoteLeaderResponse ¶
func (*LobbyServiceWebsocket) PartyRejectNotif ¶
func (lobbyService *LobbyServiceWebsocket) PartyRejectNotif(leaderId string, partyId string, userId string) error
func (*LobbyServiceWebsocket) PartyRejectRequest ¶
func (lobbyService *LobbyServiceWebsocket) PartyRejectRequest(id *string, invitationToken *string, partyId *string) error
func (*LobbyServiceWebsocket) PartyRejectResponse ¶
func (lobbyService *LobbyServiceWebsocket) PartyRejectResponse(code int64, id string, partyId string) error
func (*LobbyServiceWebsocket) PersonalChatHistoryRequest ¶
func (lobbyService *LobbyServiceWebsocket) PersonalChatHistoryRequest(friendId *string, id *string) error
func (*LobbyServiceWebsocket) PersonalChatHistoryResponse ¶
func (*LobbyServiceWebsocket) PersonalChatNotif ¶
func (*LobbyServiceWebsocket) PersonalChatRequest ¶
func (*LobbyServiceWebsocket) PersonalChatResponse ¶
func (lobbyService *LobbyServiceWebsocket) PersonalChatResponse(code int64, id string) error
func (*LobbyServiceWebsocket) RefreshTokenRequest ¶
func (lobbyService *LobbyServiceWebsocket) RefreshTokenRequest(id *string, token *string) error
func (*LobbyServiceWebsocket) RefreshTokenResponse ¶
func (lobbyService *LobbyServiceWebsocket) RefreshTokenResponse(code int64, id string) error
func (*LobbyServiceWebsocket) RejectFriendsNotif ¶
func (lobbyService *LobbyServiceWebsocket) RejectFriendsNotif(userId string) error
func (*LobbyServiceWebsocket) RejectFriendsRequest ¶
func (lobbyService *LobbyServiceWebsocket) RejectFriendsRequest(friendId *string, id *string) error
func (*LobbyServiceWebsocket) RejectFriendsResponse ¶
func (lobbyService *LobbyServiceWebsocket) RejectFriendsResponse(code int64, id string) error
func (*LobbyServiceWebsocket) RematchmakingNotif ¶
func (lobbyService *LobbyServiceWebsocket) RematchmakingNotif(banDuration int64) error
func (*LobbyServiceWebsocket) RequestFriendsNotif ¶
func (lobbyService *LobbyServiceWebsocket) RequestFriendsNotif(friendId string) error
func (*LobbyServiceWebsocket) RequestFriendsRequest ¶
func (lobbyService *LobbyServiceWebsocket) RequestFriendsRequest(friendId *string, id *string) error
func (*LobbyServiceWebsocket) RequestFriendsResponse ¶
func (lobbyService *LobbyServiceWebsocket) RequestFriendsResponse(code int64, id string) error
func (*LobbyServiceWebsocket) SendChannelChatRequest ¶
func (lobbyService *LobbyServiceWebsocket) SendChannelChatRequest(channelSlug *string, id *string, payload *string) error
func (*LobbyServiceWebsocket) SendChannelChatResponse ¶
func (lobbyService *LobbyServiceWebsocket) SendChannelChatResponse(code int64, id string) error
func (*LobbyServiceWebsocket) SetReadyConsentNotif ¶
func (lobbyService *LobbyServiceWebsocket) SetReadyConsentNotif(matchId string, userId string) error
func (*LobbyServiceWebsocket) SetReadyConsentRequest ¶
func (lobbyService *LobbyServiceWebsocket) SetReadyConsentRequest(id *string, matchId *string) error
func (*LobbyServiceWebsocket) SetReadyConsentResponse ¶
func (lobbyService *LobbyServiceWebsocket) SetReadyConsentResponse(code int64, id string) error
func (*LobbyServiceWebsocket) SetSessionAttributeRequest ¶
func (*LobbyServiceWebsocket) SetSessionAttributeResponse ¶
func (lobbyService *LobbyServiceWebsocket) SetSessionAttributeResponse(code int64, id string) error
func (*LobbyServiceWebsocket) SetUserStatusRequest ¶
func (lobbyService *LobbyServiceWebsocket) SetUserStatusRequest(activity *string, availability *int64, id *string) error
func (*LobbyServiceWebsocket) SetUserStatusResponse ¶
func (lobbyService *LobbyServiceWebsocket) SetUserStatusResponse(code int64, id string) error
func (*LobbyServiceWebsocket) ShutdownNotif ¶
func (lobbyService *LobbyServiceWebsocket) ShutdownNotif(message string) error
func (*LobbyServiceWebsocket) SignalingP2PNotif ¶
func (lobbyService *LobbyServiceWebsocket) SignalingP2PNotif(destinationId string, message string) error
func (*LobbyServiceWebsocket) StartMatchmakingRequest ¶
func (*LobbyServiceWebsocket) StartMatchmakingResponse ¶
func (lobbyService *LobbyServiceWebsocket) StartMatchmakingResponse(code int64, id string) error
func (*LobbyServiceWebsocket) UnblockPlayerNotif ¶
func (lobbyService *LobbyServiceWebsocket) UnblockPlayerNotif(unblockedUserId string, userId string) error
func (*LobbyServiceWebsocket) UnblockPlayerRequest ¶
func (lobbyService *LobbyServiceWebsocket) UnblockPlayerRequest(id *string, namespace *string, unblockedUserId *string) error
func (*LobbyServiceWebsocket) UnblockPlayerResponse ¶
func (*LobbyServiceWebsocket) UnfriendNotif ¶
func (lobbyService *LobbyServiceWebsocket) UnfriendNotif(friendId string) error
func (*LobbyServiceWebsocket) UnfriendRequest ¶
func (lobbyService *LobbyServiceWebsocket) UnfriendRequest(friendId *string, id *string) error
func (*LobbyServiceWebsocket) UnfriendResponse ¶
func (lobbyService *LobbyServiceWebsocket) UnfriendResponse(code int64, id string) error
func (*LobbyServiceWebsocket) UserBannedNotification ¶
func (lobbyService *LobbyServiceWebsocket) UserBannedNotification() error
func (*LobbyServiceWebsocket) UserMetricRequest ¶
func (lobbyService *LobbyServiceWebsocket) UserMetricRequest(id *string) error
func (*LobbyServiceWebsocket) UserMetricResponse ¶
func (lobbyService *LobbyServiceWebsocket) UserMetricResponse(code int64, id string, playerCount int64) error
func (*LobbyServiceWebsocket) UserStatusNotif ¶
type MatchmakingServiceWebsocket ¶
type MatchmakingServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*MatchmakingServiceWebsocket) CancelMatchmaking ¶
func (matchmakingService *MatchmakingServiceWebsocket) CancelMatchmaking(gameMode string) error
func (*MatchmakingServiceWebsocket) SetReadyConsent ¶
func (matchmakingService *MatchmakingServiceWebsocket) SetReadyConsent(matchID string) error
func (*MatchmakingServiceWebsocket) StartMatchmaking ¶
func (matchmakingService *MatchmakingServiceWebsocket) StartMatchmaking(gameMode, dsName, clientVersion, latencies, partyAttribute, tempParty, extraAttributes string) error
type NotificationServiceWebsocket ¶
type NotificationServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*NotificationServiceWebsocket) GetNotificationMessage ¶
func (notificationService *NotificationServiceWebsocket) GetNotificationMessage() error
func (*NotificationServiceWebsocket) GetOfflineNotification ¶
func (notificationService *NotificationServiceWebsocket) GetOfflineNotification() error
type PartyServiceWebsocket ¶
type PartyServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*PartyServiceWebsocket) CreateParty ¶
func (s *PartyServiceWebsocket) CreateParty() error
func (*PartyServiceWebsocket) DeletePartyCode ¶
func (s *PartyServiceWebsocket) DeletePartyCode() error
func (*PartyServiceWebsocket) GeneratePartyCode ¶
func (s *PartyServiceWebsocket) GeneratePartyCode() error
func (*PartyServiceWebsocket) GetAllSessionAttribute ¶
func (s *PartyServiceWebsocket) GetAllSessionAttribute() error
func (*PartyServiceWebsocket) GetPartyCode ¶
func (s *PartyServiceWebsocket) GetPartyCode() error
func (*PartyServiceWebsocket) GetPartyInfo ¶
func (s *PartyServiceWebsocket) GetPartyInfo() error
func (*PartyServiceWebsocket) GetSessionAttribute ¶
func (s *PartyServiceWebsocket) GetSessionAttribute(key string) error
func (*PartyServiceWebsocket) InviteParty ¶
func (s *PartyServiceWebsocket) InviteParty(friendID string) error
func (*PartyServiceWebsocket) JoinParty ¶
func (s *PartyServiceWebsocket) JoinParty(partyID, token string) error
func (*PartyServiceWebsocket) JoinViaPartyCode ¶
func (s *PartyServiceWebsocket) JoinViaPartyCode(partyCode string) error
func (*PartyServiceWebsocket) KickPartyMember ¶
func (s *PartyServiceWebsocket) KickPartyMember(id string) error
func (*PartyServiceWebsocket) LeaveParty ¶
func (s *PartyServiceWebsocket) LeaveParty() error
func (*PartyServiceWebsocket) PromotePartyLeader ¶
func (s *PartyServiceWebsocket) PromotePartyLeader(leaderUserID string) error
func (*PartyServiceWebsocket) RejectPartyInvitation ¶
func (s *PartyServiceWebsocket) RejectPartyInvitation(partyID, token string) error
func (*PartyServiceWebsocket) SendPartyNotif ¶
func (s *PartyServiceWebsocket) SendPartyNotif(topic, payload string) error
func (*PartyServiceWebsocket) SetSessionAttribute ¶
func (s *PartyServiceWebsocket) SetSessionAttribute(key, value string) error
func (*PartyServiceWebsocket) UserMetric ¶
func (s *PartyServiceWebsocket) UserMetric() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.