service

package
v0.49.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatServiceWebsocket added in v0.7.0

type ChatServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*ChatServiceWebsocket) GetPersonalChatHistory added in v0.7.0

func (s *ChatServiceWebsocket) GetPersonalChatHistory(friendID string) error

func (*ChatServiceWebsocket) JoinDefaultChannel added in v0.7.0

func (s *ChatServiceWebsocket) JoinDefaultChannel() error

func (*ChatServiceWebsocket) SendChannelChat added in v0.7.0

func (s *ChatServiceWebsocket) SendChannelChat(channelSlug, payload string) error

func (*ChatServiceWebsocket) SendPartyChat added in v0.7.0

func (s *ChatServiceWebsocket) SendPartyChat(content string) error

func (*ChatServiceWebsocket) SendPersonalChat added in v0.7.0

func (s *ChatServiceWebsocket) SendPersonalChat(friendID, content string) error

type DSServiceWebsocket added in v0.7.0

type DSServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*DSServiceWebsocket) CreateDS added in v0.7.0

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 added in v0.18.0

type LobbyServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*LobbyServiceWebsocket) AcceptFriendsNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) AcceptFriendsNotif(friendId string) error

func (*LobbyServiceWebsocket) AcceptFriendsRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) AcceptFriendsRequest(friendId *string, id *string) error

func (*LobbyServiceWebsocket) AcceptFriendsResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) AcceptFriendsResponse(code int64, id string) error

func (*LobbyServiceWebsocket) BlockPlayerNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) BlockPlayerNotif(blockedUserId string, userId string) error

func (*LobbyServiceWebsocket) BlockPlayerRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) BlockPlayerRequest(blockUserId *string, id *string, namespace *string) error

func (*LobbyServiceWebsocket) BlockPlayerResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) BlockPlayerResponse(blockUserId string, code int64, id string, namespace string) error

func (*LobbyServiceWebsocket) CancelFriendsNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) CancelFriendsNotif(userId string) error

func (*LobbyServiceWebsocket) CancelFriendsRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) CancelFriendsRequest(friendId *string, id *string) error

func (*LobbyServiceWebsocket) CancelFriendsResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) CancelFriendsResponse(code int64, id string) error

func (*LobbyServiceWebsocket) CancelMatchmakingRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) CancelMatchmakingRequest(gameMode *string, id *string, isTempParty *bool) error

func (*LobbyServiceWebsocket) CancelMatchmakingResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) CancelMatchmakingResponse(code int64, id string) error

func (*LobbyServiceWebsocket) ChannelChatNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ChannelChatNotif(channelSlug string, from string, payload string, sentAt string) error

func (*LobbyServiceWebsocket) ClientResetRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ClientResetRequest(namespace *string, userId *string) error

func (*LobbyServiceWebsocket) ConnectNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ConnectNotif(lobbySessionId string) error

func (*LobbyServiceWebsocket) DisconnectNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) DisconnectNotif(connectionId string, namespace string) error

func (*LobbyServiceWebsocket) DsNotif added in v0.18.0

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 added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ErrorNotif(message string) error

func (*LobbyServiceWebsocket) ExitAllChannel added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ExitAllChannel(namespace string, userId string) error

func (*LobbyServiceWebsocket) FriendsStatusRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) FriendsStatusRequest(id *string) error

func (*LobbyServiceWebsocket) FriendsStatusResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) FriendsStatusResponse(activity []string, availability []int64, code int64, friendIds []string, id string, lastSeenAt []string) error

func (*LobbyServiceWebsocket) GetAllSessionAttributeRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) GetAllSessionAttributeRequest(id *string) error

func (*LobbyServiceWebsocket) GetAllSessionAttributeResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) GetAllSessionAttributeResponse(attributes string, code int64, id string) error

func (*LobbyServiceWebsocket) GetFriendshipStatusRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) GetFriendshipStatusRequest(friendId *string, id *string) error

func (*LobbyServiceWebsocket) GetFriendshipStatusResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) GetFriendshipStatusResponse(code int64, friendshipStatus string, id string) error

func (*LobbyServiceWebsocket) GetSessionAttributeRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) GetSessionAttributeRequest(id *string, key *string) error

func (*LobbyServiceWebsocket) GetSessionAttributeResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) GetSessionAttributeResponse(code int64, id string, value string) error

func (*LobbyServiceWebsocket) Heartbeat added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) Heartbeat() error

func (*LobbyServiceWebsocket) JoinDefaultChannelRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) JoinDefaultChannelRequest(id *string) error

func (*LobbyServiceWebsocket) JoinDefaultChannelResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) JoinDefaultChannelResponse(channelSlug string, code int64, id string) error

func (*LobbyServiceWebsocket) ListIncomingFriendsRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ListIncomingFriendsRequest(id *string) error

func (*LobbyServiceWebsocket) ListIncomingFriendsResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ListIncomingFriendsResponse(code int64, id string, userIds []string) error

func (*LobbyServiceWebsocket) ListOfFriendsRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ListOfFriendsRequest(friendId *string, id *string) error

func (*LobbyServiceWebsocket) ListOfFriendsResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ListOfFriendsResponse(code int64, friendIds []string, id string) error

func (*LobbyServiceWebsocket) ListOnlineFriendsRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ListOnlineFriendsRequest(id *string) error

func (*LobbyServiceWebsocket) ListOutgoingFriendsRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ListOutgoingFriendsRequest(id *string) error

func (*LobbyServiceWebsocket) ListOutgoingFriendsResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ListOutgoingFriendsResponse(code int64, friendIds []string, id string) error

func (*LobbyServiceWebsocket) MatchmakingNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) MatchmakingNotif(counterPartyMember []string, matchId string, message string, partyMember []string, readyDuration int64, status string) error

func (*LobbyServiceWebsocket) MessageNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) MessageNotif(from string, id string, payload string, sentAt int64, to string, topic string) error

func (*LobbyServiceWebsocket) OfflineNotificationRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) OfflineNotificationRequest(id *string) error

func (*LobbyServiceWebsocket) OfflineNotificationResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) OfflineNotificationResponse(code int64, id string) error

func (*LobbyServiceWebsocket) OnlineFriends added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) OnlineFriends(code int64, id string, onlineFriendIds []string) error

func (*LobbyServiceWebsocket) PartyChatNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyChatNotif(from string, id string, payload string, receivedAt int64, to string) error

func (*LobbyServiceWebsocket) PartyChatRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyChatRequest(from *string, id *string, payload *string, receivedAt *int64, to *string) error

func (*LobbyServiceWebsocket) PartyChatResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyChatResponse(code int64, id string) error

func (*LobbyServiceWebsocket) PartyCreateRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyCreateRequest(id *string) error

func (*LobbyServiceWebsocket) PartyCreateResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyCreateResponse(code int64, id string, invitationToken string, invitees string, leaderId string, members string, partyId string) error

func (*LobbyServiceWebsocket) PartyDataUpdateNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyDataUpdateNotif(customAttributes string, invitees []string, leader string, members []string, namespace string, partyId string, updatedAt int64) error

func (*LobbyServiceWebsocket) PartyGetInvitedNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyGetInvitedNotif(from string, invitationToken string, partyId string) error

func (*LobbyServiceWebsocket) PartyInfoRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyInfoRequest(id *string) error

func (*LobbyServiceWebsocket) PartyInfoResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyInfoResponse(code int64, customAttributes string, id string, invitationToken string, invitees string, leaderId string, members string, partyId string) error

func (*LobbyServiceWebsocket) PartyInviteNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyInviteNotif(inviteeId string, inviterId string) error

func (*LobbyServiceWebsocket) PartyInviteRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyInviteRequest(friendId *string, id *string) error

func (*LobbyServiceWebsocket) PartyInviteResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyInviteResponse(code int64, id string) error

func (*LobbyServiceWebsocket) PartyJoinNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyJoinNotif(userId string) error

func (*LobbyServiceWebsocket) PartyJoinRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyJoinRequest(id *string, invitationToken *string, partyId *string) error

func (*LobbyServiceWebsocket) PartyJoinResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyJoinResponse(code int64, id string, invitationToken string, invitees string, leaderId string, members string, partyId string) error

func (*LobbyServiceWebsocket) PartyKickNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyKickNotif(leaderId string, partyId string, userId string) error

func (*LobbyServiceWebsocket) PartyKickRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyKickRequest(id *string, memberId *string) error

func (*LobbyServiceWebsocket) PartyKickResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyKickResponse(code int64, id string) error

func (*LobbyServiceWebsocket) PartyLeaveNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyLeaveNotif(leaderId string, userId string) error

func (*LobbyServiceWebsocket) PartyLeaveRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyLeaveRequest(id *string, ignoreUserRegistry *bool) error

func (*LobbyServiceWebsocket) PartyLeaveResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyLeaveResponse(code int64, id string) error

func (*LobbyServiceWebsocket) PartyPromoteLeaderRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyPromoteLeaderRequest(id *string, newLeaderUserId *string) error

func (*LobbyServiceWebsocket) PartyPromoteLeaderResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyPromoteLeaderResponse(code int64, id string, invitationToken string, invitees string, leaderId string, members string, partyId string) error

func (*LobbyServiceWebsocket) PartyRejectNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyRejectNotif(leaderId string, partyId string, userId string) error

func (*LobbyServiceWebsocket) PartyRejectRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyRejectRequest(id *string, invitationToken *string, partyId *string) error

func (*LobbyServiceWebsocket) PartyRejectResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PartyRejectResponse(code int64, id string, partyId string) error

func (*LobbyServiceWebsocket) PersonalChatHistoryRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PersonalChatHistoryRequest(friendId *string, id *string) error

func (*LobbyServiceWebsocket) PersonalChatHistoryResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PersonalChatHistoryResponse(chat string, code int64, friendId string, id string) error

func (*LobbyServiceWebsocket) PersonalChatNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PersonalChatNotif(from string, id string, payload string, receivedAt int64, to string) error

func (*LobbyServiceWebsocket) PersonalChatRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PersonalChatRequest(from *string, id *string, payload *string, receivedAt *int64, to *string) error

func (*LobbyServiceWebsocket) PersonalChatResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) PersonalChatResponse(code int64, id string) error

func (*LobbyServiceWebsocket) RejectFriendsNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) RejectFriendsNotif(userId string) error

func (*LobbyServiceWebsocket) RejectFriendsRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) RejectFriendsRequest(friendId *string, id *string) error

func (*LobbyServiceWebsocket) RejectFriendsResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) RejectFriendsResponse(code int64, id string) error

func (*LobbyServiceWebsocket) RematchmakingNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) RematchmakingNotif(banDuration int64) error

func (*LobbyServiceWebsocket) RequestFriendsNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) RequestFriendsNotif(friendId string) error

func (*LobbyServiceWebsocket) RequestFriendsRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) RequestFriendsRequest(friendId *string, id *string) error

func (*LobbyServiceWebsocket) RequestFriendsResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) RequestFriendsResponse(code int64, id string) error

func (*LobbyServiceWebsocket) SendChannelChatRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SendChannelChatRequest(channelSlug *string, id *string, payload *string) error

func (*LobbyServiceWebsocket) SendChannelChatResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SendChannelChatResponse(code int64, id string) error

func (*LobbyServiceWebsocket) SetReadyConsentNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SetReadyConsentNotif(matchId string, userId string) error

func (*LobbyServiceWebsocket) SetReadyConsentRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SetReadyConsentRequest(id *string, matchId *string) error

func (*LobbyServiceWebsocket) SetReadyConsentResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SetReadyConsentResponse(code int64, id string) error

func (*LobbyServiceWebsocket) SetSessionAttributeRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SetSessionAttributeRequest(id *string, key *string, namespace *string, value *string) error

func (*LobbyServiceWebsocket) SetSessionAttributeResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SetSessionAttributeResponse(code int64, id string) error

func (*LobbyServiceWebsocket) SetUserStatusRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SetUserStatusRequest(activity *string, availability *int64, id *string) error

func (*LobbyServiceWebsocket) SetUserStatusResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SetUserStatusResponse(code int64, id string) error

func (*LobbyServiceWebsocket) ShutdownNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) ShutdownNotif(message string) error

func (*LobbyServiceWebsocket) SignalingP2PNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) SignalingP2PNotif(destinationId string, message string) error

func (*LobbyServiceWebsocket) StartMatchmakingRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) StartMatchmakingRequest(extraAttributes *string, gameMode *string, id *string, partyAttributes string, priority *int64, tempParty *string) error

func (*LobbyServiceWebsocket) StartMatchmakingResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) StartMatchmakingResponse(code int64, id string) error

func (*LobbyServiceWebsocket) UnblockPlayerNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UnblockPlayerNotif(unblockedUserId string, userId string) error

func (*LobbyServiceWebsocket) UnblockPlayerRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UnblockPlayerRequest(id *string, namespace *string, unblockedUserId *string) error

func (*LobbyServiceWebsocket) UnblockPlayerResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UnblockPlayerResponse(code int64, id string, namespace string, unblockedUserId string) error

func (*LobbyServiceWebsocket) UnfriendNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UnfriendNotif(friendId string) error

func (*LobbyServiceWebsocket) UnfriendRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UnfriendRequest(friendId *string, id *string) error

func (*LobbyServiceWebsocket) UnfriendResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UnfriendResponse(code int64, id string) error

func (*LobbyServiceWebsocket) UserBannedNotification added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UserBannedNotification() error

func (*LobbyServiceWebsocket) UserMetricRequest added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UserMetricRequest(id *string) error

func (*LobbyServiceWebsocket) UserMetricResponse added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UserMetricResponse(code int64, id string, playerCount int64) error

func (*LobbyServiceWebsocket) UserStatusNotif added in v0.18.0

func (lobbyService *LobbyServiceWebsocket) UserStatusNotif(activity string, availability int64, lastSeenAt string, userId string) error

type MatchmakingServiceWebsocket added in v0.7.0

type MatchmakingServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*MatchmakingServiceWebsocket) CancelMatchmaking added in v0.7.0

func (matchmakingService *MatchmakingServiceWebsocket) CancelMatchmaking(gameMode string) error

func (*MatchmakingServiceWebsocket) SetReadyConsent added in v0.7.0

func (matchmakingService *MatchmakingServiceWebsocket) SetReadyConsent(matchID string) error

func (*MatchmakingServiceWebsocket) StartMatchmaking added in v0.7.0

func (matchmakingService *MatchmakingServiceWebsocket) StartMatchmaking(gameMode, dsName, clientVersion,
	latencies, partyAttribute, tempParty, extraAttributes string) error

type NotificationServiceWebsocket added in v0.3.0

type NotificationServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*NotificationServiceWebsocket) GetNotificationMessage added in v0.3.0

func (notificationService *NotificationServiceWebsocket) GetNotificationMessage() error

func (*NotificationServiceWebsocket) GetOfflineNotification added in v0.7.0

func (notificationService *NotificationServiceWebsocket) GetOfflineNotification() error

type PartyServiceWebsocket added in v0.7.0

type PartyServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*PartyServiceWebsocket) CreateParty added in v0.7.0

func (s *PartyServiceWebsocket) CreateParty() error

func (*PartyServiceWebsocket) DeletePartyCode added in v0.7.0

func (s *PartyServiceWebsocket) DeletePartyCode() error

func (*PartyServiceWebsocket) GeneratePartyCode added in v0.7.0

func (s *PartyServiceWebsocket) GeneratePartyCode() error

func (*PartyServiceWebsocket) GetAllSessionAttribute added in v0.7.0

func (s *PartyServiceWebsocket) GetAllSessionAttribute() error

func (*PartyServiceWebsocket) GetPartyCode added in v0.7.0

func (s *PartyServiceWebsocket) GetPartyCode() error

func (*PartyServiceWebsocket) GetPartyInfo added in v0.7.0

func (s *PartyServiceWebsocket) GetPartyInfo() error

func (*PartyServiceWebsocket) GetSessionAttribute added in v0.7.0

func (s *PartyServiceWebsocket) GetSessionAttribute(key string) error

func (*PartyServiceWebsocket) InviteParty added in v0.7.0

func (s *PartyServiceWebsocket) InviteParty(friendID string) error

func (*PartyServiceWebsocket) JoinParty added in v0.7.0

func (s *PartyServiceWebsocket) JoinParty(partyID, token string) error

func (*PartyServiceWebsocket) JoinViaPartyCode added in v0.7.0

func (s *PartyServiceWebsocket) JoinViaPartyCode(partyCode string) error

func (*PartyServiceWebsocket) KickPartyMember added in v0.7.0

func (s *PartyServiceWebsocket) KickPartyMember(id string) error

func (*PartyServiceWebsocket) LeaveParty added in v0.7.0

func (s *PartyServiceWebsocket) LeaveParty() error

func (*PartyServiceWebsocket) PromotePartyLeader added in v0.7.0

func (s *PartyServiceWebsocket) PromotePartyLeader(leaderUserID string) error

func (*PartyServiceWebsocket) RejectPartyInvitation added in v0.7.0

func (s *PartyServiceWebsocket) RejectPartyInvitation(partyID, token string) error

func (*PartyServiceWebsocket) SendPartyNotif added in v0.7.0

func (s *PartyServiceWebsocket) SendPartyNotif(topic, payload string) error

func (*PartyServiceWebsocket) SetSessionAttribute added in v0.7.0

func (s *PartyServiceWebsocket) SetSessionAttribute(key, value string) error

func (*PartyServiceWebsocket) UserMetric added in v0.7.0

func (s *PartyServiceWebsocket) UserMetric() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL