lobby

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceVersion = "3.35.0"

Variables

View Source
var SDKVersion string

Functions

func GetUserAgent

func GetUserAgent() string

func NewLobbyClient

func NewLobbyClient(configRepository repository.ConfigRepository) *lobbyclient.JusticeLobbyService

Types

type AdminService

type AdminService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminService) AdminDeleteGlobalConfig deprecated

func (aaa *AdminService) AdminDeleteGlobalConfig(input *admin.AdminDeleteGlobalConfigParams) (string, error)

Deprecated: 2022-01-10 - Please use AdminDeleteGlobalConfigShort instead.

func (*AdminService) AdminDeleteGlobalConfigShort

func (aaa *AdminService) AdminDeleteGlobalConfigShort(input *admin.AdminDeleteGlobalConfigParams) (string, error)

func (*AdminService) AdminGetGlobalConfig deprecated

Deprecated: 2022-01-10 - Please use AdminGetGlobalConfigShort instead.

func (*AdminService) AdminGetGlobalConfigShort

func (*AdminService) AdminUpdateGlobalConfig deprecated

Deprecated: 2022-01-10 - Please use AdminUpdateGlobalConfigShort instead.

func (*AdminService) AdminUpdateGlobalConfigShort

func (*AdminService) CreateTemplate deprecated

func (aaa *AdminService) CreateTemplate(input *admin.CreateTemplateParams) error

Deprecated: 2022-01-10 - Please use CreateTemplateShort instead.

func (*AdminService) CreateTemplateShort

func (aaa *AdminService) CreateTemplateShort(input *admin.CreateTemplateParams) error

func (*AdminService) DeleteTemplateLocalization deprecated

func (aaa *AdminService) DeleteTemplateLocalization(input *admin.DeleteTemplateLocalizationParams) error

Deprecated: 2022-01-10 - Please use DeleteTemplateLocalizationShort instead.

func (*AdminService) DeleteTemplateLocalizationShort

func (aaa *AdminService) DeleteTemplateLocalizationShort(input *admin.DeleteTemplateLocalizationParams) error

func (*AdminService) DeleteTemplateSlug deprecated

func (aaa *AdminService) DeleteTemplateSlug(input *admin.DeleteTemplateSlugParams) error

Deprecated: 2022-01-10 - Please use DeleteTemplateSlugShort instead.

func (*AdminService) DeleteTemplateSlugShort

func (aaa *AdminService) DeleteTemplateSlugShort(input *admin.DeleteTemplateSlugParams) error

func (*AdminService) FreeFormNotification deprecated

func (aaa *AdminService) FreeFormNotification(input *admin.FreeFormNotificationParams) error

Deprecated: 2022-01-10 - Please use FreeFormNotificationShort instead.

func (*AdminService) FreeFormNotificationShort

func (aaa *AdminService) FreeFormNotificationShort(input *admin.FreeFormNotificationParams) error

func (*AdminService) GetAuthSession

func (aaa *AdminService) GetAuthSession() auth.Session

func (*AdminService) GetGameTemplate deprecated

Deprecated: 2022-01-10 - Please use GetGameTemplateShort instead.

func (*AdminService) GetGameTemplateShort

func (aaa *AdminService) GetGameTemplateShort(input *admin.GetGameTemplateParams) ([]*lobbyclientmodels.ModelTemplateResponse, error)

func (*AdminService) GetLocalizationTemplate deprecated

Deprecated: 2022-01-10 - Please use GetLocalizationTemplateShort instead.

func (*AdminService) GetLocalizationTemplateShort

func (*AdminService) GetSlugTemplate deprecated

Deprecated: 2022-01-10 - Please use GetSlugTemplateShort instead.

func (*AdminService) NotificationWithTemplate deprecated

func (aaa *AdminService) NotificationWithTemplate(input *admin.NotificationWithTemplateParams) error

Deprecated: 2022-01-10 - Please use NotificationWithTemplateShort instead.

func (*AdminService) NotificationWithTemplateShort

func (aaa *AdminService) NotificationWithTemplateShort(input *admin.NotificationWithTemplateParams) error

func (*AdminService) PublishTemplate deprecated

func (aaa *AdminService) PublishTemplate(input *admin.PublishTemplateParams) error

Deprecated: 2022-01-10 - Please use PublishTemplateShort instead.

func (*AdminService) PublishTemplateShort

func (aaa *AdminService) PublishTemplateShort(input *admin.PublishTemplateParams) error

func (*AdminService) UpdateFlightId

func (aaa *AdminService) UpdateFlightId(flightId string)

func (*AdminService) UpdateLocalizationTemplate deprecated

func (aaa *AdminService) UpdateLocalizationTemplate(input *admin.UpdateLocalizationTemplateParams) error

Deprecated: 2022-01-10 - Please use UpdateLocalizationTemplateShort instead.

func (*AdminService) UpdateLocalizationTemplateShort

func (aaa *AdminService) UpdateLocalizationTemplateShort(input *admin.UpdateLocalizationTemplateParams) error

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 ConfigService

type ConfigService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ConfigService) AdminExportConfigV1 deprecated

func (aaa *ConfigService) AdminExportConfigV1(input *config.AdminExportConfigV1Params, writer io.Writer) (io.Writer, error)

Deprecated: 2022-01-10 - Please use AdminExportConfigV1Short instead.

func (*ConfigService) AdminExportConfigV1Short

func (aaa *ConfigService) AdminExportConfigV1Short(input *config.AdminExportConfigV1Params, writer io.Writer) (io.Writer, error)

func (*ConfigService) AdminGetAllConfigV1 deprecated

Deprecated: 2022-01-10 - Please use AdminGetAllConfigV1Short instead.

func (*ConfigService) AdminGetAllConfigV1Short

func (aaa *ConfigService) AdminGetAllConfigV1Short(input *config.AdminGetAllConfigV1Params) (*lobbyclientmodels.ModelsConfigList, error)

func (*ConfigService) AdminGetConfigV1 deprecated

Deprecated: 2022-01-10 - Please use AdminGetConfigV1Short instead.

func (*ConfigService) AdminGetConfigV1Short

func (aaa *ConfigService) AdminGetConfigV1Short(input *config.AdminGetConfigV1Params) (*lobbyclientmodels.ModelsConfigReq, error)

func (*ConfigService) AdminImportConfigV1 deprecated

Deprecated: 2022-01-10 - Please use AdminImportConfigV1Short instead.

func (*ConfigService) AdminImportConfigV1Short

func (*ConfigService) AdminUpdateConfigV1 deprecated

Deprecated: 2022-01-10 - Please use AdminUpdateConfigV1Short instead.

func (*ConfigService) AdminUpdateConfigV1Short

func (aaa *ConfigService) AdminUpdateConfigV1Short(input *config.AdminUpdateConfigV1Params) (*lobbyclientmodels.ModelsConfigReq, error)

func (*ConfigService) GetAuthSession

func (aaa *ConfigService) GetAuthSession() auth.Session

func (*ConfigService) UpdateFlightId

func (aaa *ConfigService) UpdateFlightId(flightId string)

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 FriendsService

type FriendsService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*FriendsService) AddFriendsWithoutConfirmation deprecated

func (aaa *FriendsService) AddFriendsWithoutConfirmation(input *friends.AddFriendsWithoutConfirmationParams) error

Deprecated: 2022-01-10 - Please use AddFriendsWithoutConfirmationShort instead.

func (*FriendsService) AddFriendsWithoutConfirmationShort

func (aaa *FriendsService) AddFriendsWithoutConfirmationShort(input *friends.AddFriendsWithoutConfirmationParams) error

func (*FriendsService) AdminListFriendsOfFriends deprecated

Deprecated: 2022-01-10 - Please use AdminListFriendsOfFriendsShort instead.

func (*FriendsService) BulkDeleteFriends deprecated

Deprecated: 2022-01-10 - Please use BulkDeleteFriendsShort instead.

func (*FriendsService) BulkDeleteFriendsShort

func (*FriendsService) GetAuthSession

func (aaa *FriendsService) GetAuthSession() auth.Session

func (*FriendsService) GetIncomingFriendRequests deprecated

Deprecated: 2022-01-10 - Please use GetIncomingFriendRequestsShort instead.

func (*FriendsService) GetListOfFriends deprecated

Deprecated: 2022-01-10 - Please use GetListOfFriendsShort instead.

func (*FriendsService) GetListOfFriendsShort

func (*FriendsService) GetOutgoingFriendRequests deprecated

Deprecated: 2022-01-10 - Please use GetOutgoingFriendRequestsShort instead.

func (*FriendsService) GetUserFriendsUpdated deprecated

Deprecated: 2022-01-10 - Please use GetUserFriendsUpdatedShort instead.

func (*FriendsService) GetUserFriendsUpdatedShort

func (*FriendsService) GetUserFriendsWithPlatform deprecated

Deprecated: 2022-01-10 - Please use GetUserFriendsWithPlatformShort instead.

func (*FriendsService) GetUserIncomingFriends deprecated

Deprecated: 2022-01-10 - Please use GetUserIncomingFriendsShort instead.

func (*FriendsService) GetUserIncomingFriendsWithTime deprecated

Deprecated: 2022-01-10 - Please use GetUserIncomingFriendsWithTimeShort instead.

func (*FriendsService) GetUserOutgoingFriends deprecated

Deprecated: 2022-01-10 - Please use GetUserOutgoingFriendsShort instead.

func (*FriendsService) GetUserOutgoingFriendsWithTime deprecated

Deprecated: 2022-01-10 - Please use GetUserOutgoingFriendsWithTimeShort instead.

func (*FriendsService) SyncNativeFriends deprecated

Deprecated: 2022-01-10 - Please use SyncNativeFriendsShort instead.

func (*FriendsService) SyncNativeFriendsShort

func (*FriendsService) UpdateFlightId

func (aaa *FriendsService) UpdateFlightId(flightId string)

func (*FriendsService) UserAcceptFriendRequest deprecated

func (aaa *FriendsService) UserAcceptFriendRequest(input *friends.UserAcceptFriendRequestParams) error

Deprecated: 2022-01-10 - Please use UserAcceptFriendRequestShort instead.

func (*FriendsService) UserAcceptFriendRequestShort

func (aaa *FriendsService) UserAcceptFriendRequestShort(input *friends.UserAcceptFriendRequestParams) error

func (*FriendsService) UserCancelFriendRequest deprecated

func (aaa *FriendsService) UserCancelFriendRequest(input *friends.UserCancelFriendRequestParams) error

Deprecated: 2022-01-10 - Please use UserCancelFriendRequestShort instead.

func (*FriendsService) UserCancelFriendRequestShort

func (aaa *FriendsService) UserCancelFriendRequestShort(input *friends.UserCancelFriendRequestParams) error

func (*FriendsService) UserGetFriendshipStatus deprecated

Deprecated: 2022-01-10 - Please use UserGetFriendshipStatusShort instead.

func (*FriendsService) UserRejectFriendRequest deprecated

func (aaa *FriendsService) UserRejectFriendRequest(input *friends.UserRejectFriendRequestParams) error

Deprecated: 2022-01-10 - Please use UserRejectFriendRequestShort instead.

func (*FriendsService) UserRejectFriendRequestShort

func (aaa *FriendsService) UserRejectFriendRequestShort(input *friends.UserRejectFriendRequestParams) error

func (*FriendsService) UserRequestFriend deprecated

func (aaa *FriendsService) UserRequestFriend(input *friends.UserRequestFriendParams) error

Deprecated: 2022-01-10 - Please use UserRequestFriendShort instead.

func (*FriendsService) UserRequestFriendShort

func (aaa *FriendsService) UserRequestFriendShort(input *friends.UserRequestFriendParams) error

func (*FriendsService) UserUnfriendRequest deprecated

func (aaa *FriendsService) UserUnfriendRequest(input *friends.UserUnfriendRequestParams) error

Deprecated: 2022-01-10 - Please use UserUnfriendRequestShort instead.

func (*FriendsService) UserUnfriendRequestShort

func (aaa *FriendsService) UserUnfriendRequestShort(input *friends.UserUnfriendRequestParams) error

type LobbyOperationsService

type LobbyOperationsService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*LobbyOperationsService) AdminJoinPartyV1 deprecated

Deprecated: 2022-01-10 - Please use AdminJoinPartyV1Short instead.

func (*LobbyOperationsService) AdminJoinPartyV1Short

func (aaa *LobbyOperationsService) AdminJoinPartyV1Short(input *lobby_operations.AdminJoinPartyV1Params) error

func (*LobbyOperationsService) AdminUpdatePartyAttributesV1 deprecated

Deprecated: 2022-01-10 - Please use AdminUpdatePartyAttributesV1Short instead.

func (*LobbyOperationsService) AdminUpdatePartyAttributesV1Short

func (*LobbyOperationsService) GetAuthSession

func (aaa *LobbyOperationsService) GetAuthSession() auth.Session

func (*LobbyOperationsService) PublicGetMessages deprecated

Deprecated: 2022-01-10 - Please use PublicGetMessagesShort instead.

func (*LobbyOperationsService) PublicGetMessagesShort

func (*LobbyOperationsService) UpdateFlightId

func (aaa *LobbyOperationsService) UpdateFlightId(flightId string)

type LobbyServiceWebsocket

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

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 (lobbyService *LobbyServiceWebsocket) BlockPlayerResponse(blockUserId string, code int64, id string, namespace string) error

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 (lobbyService *LobbyServiceWebsocket) ChannelChatNotif(channelSlug string, from string, payload string, sentAt string) error

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 (lobbyService *LobbyServiceWebsocket) FriendsStatusResponse(activity []string, availability []string, code int64, friendIds []string, id string, lastSeenAt []string) error

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 (lobbyService *LobbyServiceWebsocket) MatchmakingNotif(counterPartyMember []string, matchId string, message string, partyMember []string, readyDuration int64, status string) error

func (*LobbyServiceWebsocket) MessageNotif

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

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 (lobbyService *LobbyServiceWebsocket) PartyChatNotif(from string, id string, payload string, receivedAt int64, to string) error

func (*LobbyServiceWebsocket) PartyChatRequest

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

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 (lobbyService *LobbyServiceWebsocket) PartyCreateResponse(code int64, id string, invitationToken string, invitees string, leaderId string, members string, partyId string) error

func (*LobbyServiceWebsocket) PartyDataUpdateNotif

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

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 (lobbyService *LobbyServiceWebsocket) PartyInfoResponse(code int64, customAttributes string, id string, invitationToken string, invitees string, leaderId string, members string, partyId string) error

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 (lobbyService *LobbyServiceWebsocket) PartyJoinResponse(code int64, id string, invitationToken string, invitees string, leaderId string, members string, partyId string) error

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 (lobbyService *LobbyServiceWebsocket) PartyPromoteLeaderResponse(code int64, id string, invitationToken string, invitees string, leaderId string, members string, partyId string) error

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 (lobbyService *LobbyServiceWebsocket) PersonalChatHistoryResponse(chat string, code int64, friendId string, id string) error

func (*LobbyServiceWebsocket) PersonalChatNotif

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

func (*LobbyServiceWebsocket) PersonalChatRequest

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

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 (lobbyService *LobbyServiceWebsocket) SetSessionAttributeRequest(id *string, key *string, namespace *string, value *string) error

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 (lobbyService *LobbyServiceWebsocket) StartMatchmakingRequest(extraAttributes *string, gameMode *string, id *string, partyAttributes string, priority *int64, tempParty *string) error

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 (lobbyService *LobbyServiceWebsocket) UnblockPlayerResponse(code int64, id string, namespace string, unblockedUserId string) error

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

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

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 NotificationService

type NotificationService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*NotificationService) CreateNotificationTemplateV1Admin deprecated

func (aaa *NotificationService) CreateNotificationTemplateV1Admin(input *notification.CreateNotificationTemplateV1AdminParams) error

Deprecated: 2022-01-10 - Please use CreateNotificationTemplateV1AdminShort instead.

func (*NotificationService) CreateNotificationTemplateV1AdminShort

func (aaa *NotificationService) CreateNotificationTemplateV1AdminShort(input *notification.CreateNotificationTemplateV1AdminParams) error

func (*NotificationService) CreateNotificationTopicV1Admin deprecated

func (aaa *NotificationService) CreateNotificationTopicV1Admin(input *notification.CreateNotificationTopicV1AdminParams) error

Deprecated: 2022-01-10 - Please use CreateNotificationTopicV1AdminShort instead.

func (*NotificationService) CreateNotificationTopicV1AdminShort

func (aaa *NotificationService) CreateNotificationTopicV1AdminShort(input *notification.CreateNotificationTopicV1AdminParams) error

func (*NotificationService) CreateTopic deprecated

func (aaa *NotificationService) CreateTopic(input *notification.CreateTopicParams) error

Deprecated: 2022-01-10 - Please use CreateTopicShort instead.

func (*NotificationService) CreateTopicShort

func (aaa *NotificationService) CreateTopicShort(input *notification.CreateTopicParams) error

func (*NotificationService) DeleteNotificationTemplateSlugV1Admin deprecated

func (aaa *NotificationService) DeleteNotificationTemplateSlugV1Admin(input *notification.DeleteNotificationTemplateSlugV1AdminParams) error

Deprecated: 2022-01-10 - Please use DeleteNotificationTemplateSlugV1AdminShort instead.

func (*NotificationService) DeleteNotificationTemplateSlugV1AdminShort

func (aaa *NotificationService) DeleteNotificationTemplateSlugV1AdminShort(input *notification.DeleteNotificationTemplateSlugV1AdminParams) error

func (*NotificationService) DeleteNotificationTopicV1Admin deprecated

func (aaa *NotificationService) DeleteNotificationTopicV1Admin(input *notification.DeleteNotificationTopicV1AdminParams) error

Deprecated: 2022-01-10 - Please use DeleteNotificationTopicV1AdminShort instead.

func (*NotificationService) DeleteNotificationTopicV1AdminShort

func (aaa *NotificationService) DeleteNotificationTopicV1AdminShort(input *notification.DeleteNotificationTopicV1AdminParams) error

func (*NotificationService) DeleteTemplateLocalizationV1Admin deprecated

func (aaa *NotificationService) DeleteTemplateLocalizationV1Admin(input *notification.DeleteTemplateLocalizationV1AdminParams) error

Deprecated: 2022-01-10 - Please use DeleteTemplateLocalizationV1AdminShort instead.

func (*NotificationService) DeleteTemplateLocalizationV1AdminShort

func (aaa *NotificationService) DeleteTemplateLocalizationV1AdminShort(input *notification.DeleteTemplateLocalizationV1AdminParams) error

func (*NotificationService) DeleteTopicByTopicName deprecated

func (aaa *NotificationService) DeleteTopicByTopicName(input *notification.DeleteTopicByTopicNameParams) error

Deprecated: 2022-01-10 - Please use DeleteTopicByTopicNameShort instead.

func (*NotificationService) DeleteTopicByTopicNameShort

func (aaa *NotificationService) DeleteTopicByTopicNameShort(input *notification.DeleteTopicByTopicNameParams) error

func (*NotificationService) FreeFormNotificationByUserID deprecated

func (aaa *NotificationService) FreeFormNotificationByUserID(input *notification.FreeFormNotificationByUserIDParams) error

Deprecated: 2022-01-10 - Please use FreeFormNotificationByUserIDShort instead.

func (*NotificationService) FreeFormNotificationByUserIDShort

func (aaa *NotificationService) FreeFormNotificationByUserIDShort(input *notification.FreeFormNotificationByUserIDParams) error

func (*NotificationService) GetAllNotificationTemplatesV1Admin deprecated

Deprecated: 2022-01-10 - Please use GetAllNotificationTemplatesV1AdminShort instead.

func (*NotificationService) GetAllNotificationTopicsV1Admin deprecated

Deprecated: 2022-01-10 - Please use GetAllNotificationTopicsV1AdminShort instead.

func (*NotificationService) GetAuthSession

func (aaa *NotificationService) GetAuthSession() auth.Session

func (*NotificationService) GetNotificationTopicV1Admin deprecated

Deprecated: 2022-01-10 - Please use GetNotificationTopicV1AdminShort instead.

func (*NotificationService) GetSingleTemplateLocalizationV1Admin deprecated

Deprecated: 2022-01-10 - Please use GetSingleTemplateLocalizationV1AdminShort instead.

func (*NotificationService) GetTemplateSlugLocalizationsTemplateV1Admin deprecated

Deprecated: 2022-01-10 - Please use GetTemplateSlugLocalizationsTemplateV1AdminShort instead.

func (*NotificationService) GetTopicByNamespace deprecated

Deprecated: 2022-01-10 - Please use GetTopicByNamespaceShort instead.

func (*NotificationService) GetTopicByTopicName deprecated

Deprecated: 2022-01-10 - Please use GetTopicByTopicNameShort instead.

func (*NotificationService) NotificationWithTemplateByUserID deprecated

func (aaa *NotificationService) NotificationWithTemplateByUserID(input *notification.NotificationWithTemplateByUserIDParams) error

Deprecated: 2022-01-10 - Please use NotificationWithTemplateByUserIDShort instead.

func (*NotificationService) NotificationWithTemplateByUserIDShort

func (aaa *NotificationService) NotificationWithTemplateByUserIDShort(input *notification.NotificationWithTemplateByUserIDParams) error

func (*NotificationService) PublishTemplateLocalizationV1Admin deprecated

func (aaa *NotificationService) PublishTemplateLocalizationV1Admin(input *notification.PublishTemplateLocalizationV1AdminParams) error

Deprecated: 2022-01-10 - Please use PublishTemplateLocalizationV1AdminShort instead.

func (*NotificationService) PublishTemplateLocalizationV1AdminShort

func (aaa *NotificationService) PublishTemplateLocalizationV1AdminShort(input *notification.PublishTemplateLocalizationV1AdminParams) error

func (*NotificationService) SendMultipleUsersFreeformNotificationV1Admin deprecated

func (aaa *NotificationService) SendMultipleUsersFreeformNotificationV1Admin(input *notification.SendMultipleUsersFreeformNotificationV1AdminParams) error

Deprecated: 2022-01-10 - Please use SendMultipleUsersFreeformNotificationV1AdminShort instead.

func (*NotificationService) SendMultipleUsersFreeformNotificationV1AdminShort

func (aaa *NotificationService) SendMultipleUsersFreeformNotificationV1AdminShort(input *notification.SendMultipleUsersFreeformNotificationV1AdminParams) error

func (*NotificationService) SendPartyFreeformNotificationV1Admin deprecated

func (aaa *NotificationService) SendPartyFreeformNotificationV1Admin(input *notification.SendPartyFreeformNotificationV1AdminParams) error

Deprecated: 2022-01-10 - Please use SendPartyFreeformNotificationV1AdminShort instead.

func (*NotificationService) SendPartyFreeformNotificationV1AdminShort

func (aaa *NotificationService) SendPartyFreeformNotificationV1AdminShort(input *notification.SendPartyFreeformNotificationV1AdminParams) error

func (*NotificationService) SendPartyTemplatedNotificationV1Admin deprecated

func (aaa *NotificationService) SendPartyTemplatedNotificationV1Admin(input *notification.SendPartyTemplatedNotificationV1AdminParams) error

Deprecated: 2022-01-10 - Please use SendPartyTemplatedNotificationV1AdminShort instead.

func (*NotificationService) SendPartyTemplatedNotificationV1AdminShort

func (aaa *NotificationService) SendPartyTemplatedNotificationV1AdminShort(input *notification.SendPartyTemplatedNotificationV1AdminParams) error

func (*NotificationService) SendSpecificUserFreeformNotificationV1Admin deprecated

func (aaa *NotificationService) SendSpecificUserFreeformNotificationV1Admin(input *notification.SendSpecificUserFreeformNotificationV1AdminParams) error

Deprecated: 2022-01-10 - Please use SendSpecificUserFreeformNotificationV1AdminShort instead.

func (*NotificationService) SendSpecificUserFreeformNotificationV1AdminShort

func (aaa *NotificationService) SendSpecificUserFreeformNotificationV1AdminShort(input *notification.SendSpecificUserFreeformNotificationV1AdminParams) error

func (*NotificationService) SendSpecificUserTemplatedNotificationV1Admin deprecated

func (aaa *NotificationService) SendSpecificUserTemplatedNotificationV1Admin(input *notification.SendSpecificUserTemplatedNotificationV1AdminParams) error

Deprecated: 2022-01-10 - Please use SendSpecificUserTemplatedNotificationV1AdminShort instead.

func (*NotificationService) SendSpecificUserTemplatedNotificationV1AdminShort

func (aaa *NotificationService) SendSpecificUserTemplatedNotificationV1AdminShort(input *notification.SendSpecificUserTemplatedNotificationV1AdminParams) error

func (*NotificationService) SendUsersFreeformNotificationV1Admin deprecated

func (aaa *NotificationService) SendUsersFreeformNotificationV1Admin(input *notification.SendUsersFreeformNotificationV1AdminParams) error

Deprecated: 2022-01-10 - Please use SendUsersFreeformNotificationV1AdminShort instead.

func (*NotificationService) SendUsersFreeformNotificationV1AdminShort

func (aaa *NotificationService) SendUsersFreeformNotificationV1AdminShort(input *notification.SendUsersFreeformNotificationV1AdminParams) error

func (*NotificationService) SendUsersTemplatedNotificationV1Admin deprecated

func (aaa *NotificationService) SendUsersTemplatedNotificationV1Admin(input *notification.SendUsersTemplatedNotificationV1AdminParams) error

Deprecated: 2022-01-10 - Please use SendUsersTemplatedNotificationV1AdminShort instead.

func (*NotificationService) SendUsersTemplatedNotificationV1AdminShort

func (aaa *NotificationService) SendUsersTemplatedNotificationV1AdminShort(input *notification.SendUsersTemplatedNotificationV1AdminParams) error

func (*NotificationService) UpdateFlightId

func (aaa *NotificationService) UpdateFlightId(flightId string)

func (*NotificationService) UpdateNotificationTopicV1Admin deprecated

func (aaa *NotificationService) UpdateNotificationTopicV1Admin(input *notification.UpdateNotificationTopicV1AdminParams) error

Deprecated: 2022-01-10 - Please use UpdateNotificationTopicV1AdminShort instead.

func (*NotificationService) UpdateNotificationTopicV1AdminShort

func (aaa *NotificationService) UpdateNotificationTopicV1AdminShort(input *notification.UpdateNotificationTopicV1AdminParams) error

func (*NotificationService) UpdateTemplateLocalizationV1Admin deprecated

func (aaa *NotificationService) UpdateTemplateLocalizationV1Admin(input *notification.UpdateTemplateLocalizationV1AdminParams) error

Deprecated: 2022-01-10 - Please use UpdateTemplateLocalizationV1AdminShort instead.

func (*NotificationService) UpdateTemplateLocalizationV1AdminShort

func (aaa *NotificationService) UpdateTemplateLocalizationV1AdminShort(input *notification.UpdateTemplateLocalizationV1AdminParams) error

func (*NotificationService) UpdateTopicByTopicName deprecated

func (aaa *NotificationService) UpdateTopicByTopicName(input *notification.UpdateTopicByTopicNameParams) error

Deprecated: 2022-01-10 - Please use UpdateTopicByTopicNameShort instead.

func (*NotificationService) UpdateTopicByTopicNameShort

func (aaa *NotificationService) UpdateTopicByTopicNameShort(input *notification.UpdateTopicByTopicNameParams) 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 PartyService

type PartyService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PartyService) AdminGetPartyDataV1 deprecated

Deprecated: 2022-01-10 - Please use AdminGetPartyDataV1Short instead.

func (*PartyService) AdminGetPartyDataV1Short

func (aaa *PartyService) AdminGetPartyDataV1Short(input *party.AdminGetPartyDataV1Params) (*lobbyclientmodels.ModelsPartyData, error)

func (*PartyService) AdminGetUserPartyV1 deprecated

Deprecated: 2022-01-10 - Please use AdminGetUserPartyV1Short instead.

func (*PartyService) AdminGetUserPartyV1Short

func (aaa *PartyService) AdminGetUserPartyV1Short(input *party.AdminGetUserPartyV1Params) (*lobbyclientmodels.ModelsPartyData, error)

func (*PartyService) GetAuthSession

func (aaa *PartyService) GetAuthSession() auth.Session

func (*PartyService) PublicGetPartyDataV1 deprecated

Deprecated: 2022-01-10 - Please use PublicGetPartyDataV1Short instead.

func (*PartyService) PublicGetPartyDataV1Short

func (aaa *PartyService) PublicGetPartyDataV1Short(input *party.PublicGetPartyDataV1Params) (*lobbyclientmodels.ModelsPartyData, error)

func (*PartyService) PublicSetPartyLimitV1 deprecated

func (aaa *PartyService) PublicSetPartyLimitV1(input *party.PublicSetPartyLimitV1Params) error

Deprecated: 2022-01-10 - Please use PublicSetPartyLimitV1Short instead.

func (*PartyService) PublicSetPartyLimitV1Short

func (aaa *PartyService) PublicSetPartyLimitV1Short(input *party.PublicSetPartyLimitV1Params) error

func (*PartyService) PublicUpdatePartyAttributesV1 deprecated

func (aaa *PartyService) PublicUpdatePartyAttributesV1(input *party.PublicUpdatePartyAttributesV1Params) (*lobbyclientmodels.ModelsPartyData, error)

Deprecated: 2022-01-10 - Please use PublicUpdatePartyAttributesV1Short instead.

func (*PartyService) PublicUpdatePartyAttributesV1Short

func (aaa *PartyService) PublicUpdatePartyAttributesV1Short(input *party.PublicUpdatePartyAttributesV1Params) (*lobbyclientmodels.ModelsPartyData, error)

func (*PartyService) UpdateFlightId

func (aaa *PartyService) UpdateFlightId(flightId string)

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

type PlayerService

type PlayerService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PlayerService) AdminBulkBlockPlayersV1 deprecated

func (aaa *PlayerService) AdminBulkBlockPlayersV1(input *player.AdminBulkBlockPlayersV1Params) error

Deprecated: 2022-01-10 - Please use AdminBulkBlockPlayersV1Short instead.

func (*PlayerService) AdminBulkBlockPlayersV1Short

func (aaa *PlayerService) AdminBulkBlockPlayersV1Short(input *player.AdminBulkBlockPlayersV1Params) error

func (*PlayerService) AdminGetAllPlayerSessionAttribute deprecated

Deprecated: 2022-01-10 - Please use AdminGetAllPlayerSessionAttributeShort instead.

func (*PlayerService) AdminGetBulkPlayerBlockedPlayersV1 deprecated

Deprecated: 2022-01-10 - Please use AdminGetBulkPlayerBlockedPlayersV1Short instead.

func (*PlayerService) AdminGetLobbyCCU deprecated

Deprecated: 2022-01-10 - Please use AdminGetLobbyCCUShort instead.

func (*PlayerService) AdminGetLobbyCCUShort

func (*PlayerService) AdminGetPlayerBlockedByPlayersV1 deprecated

Deprecated: 2022-01-10 - Please use AdminGetPlayerBlockedByPlayersV1Short instead.

func (*PlayerService) AdminGetPlayerBlockedPlayersV1 deprecated

Deprecated: 2022-01-10 - Please use AdminGetPlayerBlockedPlayersV1Short instead.

func (*PlayerService) AdminGetPlayerSessionAttribute deprecated

Deprecated: 2022-01-10 - Please use AdminGetPlayerSessionAttributeShort instead.

func (*PlayerService) AdminSetPlayerSessionAttribute deprecated

func (aaa *PlayerService) AdminSetPlayerSessionAttribute(input *player.AdminSetPlayerSessionAttributeParams) error

Deprecated: 2022-01-10 - Please use AdminSetPlayerSessionAttributeShort instead.

func (*PlayerService) AdminSetPlayerSessionAttributeShort

func (aaa *PlayerService) AdminSetPlayerSessionAttributeShort(input *player.AdminSetPlayerSessionAttributeParams) error

func (*PlayerService) GetAuthSession

func (aaa *PlayerService) GetAuthSession() auth.Session

func (*PlayerService) PublicGetPlayerBlockedByPlayersV1 deprecated

Deprecated: 2022-01-10 - Please use PublicGetPlayerBlockedByPlayersV1Short instead.

func (*PlayerService) PublicGetPlayerBlockedPlayersV1 deprecated

Deprecated: 2022-01-10 - Please use PublicGetPlayerBlockedPlayersV1Short instead.

func (*PlayerService) PublicPlayerBlockPlayersV1 deprecated

func (aaa *PlayerService) PublicPlayerBlockPlayersV1(input *player.PublicPlayerBlockPlayersV1Params) error

Deprecated: 2022-01-10 - Please use PublicPlayerBlockPlayersV1Short instead.

func (*PlayerService) PublicPlayerBlockPlayersV1Short

func (aaa *PlayerService) PublicPlayerBlockPlayersV1Short(input *player.PublicPlayerBlockPlayersV1Params) error

func (*PlayerService) PublicUnblockPlayerV1 deprecated

func (aaa *PlayerService) PublicUnblockPlayerV1(input *player.PublicUnblockPlayerV1Params) error

Deprecated: 2022-01-10 - Please use PublicUnblockPlayerV1Short instead.

func (*PlayerService) PublicUnblockPlayerV1Short

func (aaa *PlayerService) PublicUnblockPlayerV1Short(input *player.PublicUnblockPlayerV1Params) error

func (*PlayerService) UpdateFlightId

func (aaa *PlayerService) UpdateFlightId(flightId string)

type PresenceService

type PresenceService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PresenceService) GetAuthSession

func (aaa *PresenceService) GetAuthSession() auth.Session

func (*PresenceService) UpdateFlightId

func (aaa *PresenceService) UpdateFlightId(flightId string)

func (*PresenceService) UsersPresenceHandlerV1 deprecated

Deprecated: 2022-01-10 - Please use UsersPresenceHandlerV1Short instead.

type ProfanityService

type ProfanityService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ProfanityService) AdminAddProfanityFilterIntoList deprecated

func (aaa *ProfanityService) AdminAddProfanityFilterIntoList(input *profanity.AdminAddProfanityFilterIntoListParams) error

Deprecated: 2022-01-10 - Please use AdminAddProfanityFilterIntoListShort instead.

func (*ProfanityService) AdminAddProfanityFilterIntoListShort

func (aaa *ProfanityService) AdminAddProfanityFilterIntoListShort(input *profanity.AdminAddProfanityFilterIntoListParams) error

func (*ProfanityService) AdminAddProfanityFilters deprecated

func (aaa *ProfanityService) AdminAddProfanityFilters(input *profanity.AdminAddProfanityFiltersParams) error

Deprecated: 2022-01-10 - Please use AdminAddProfanityFiltersShort instead.

func (*ProfanityService) AdminAddProfanityFiltersShort

func (aaa *ProfanityService) AdminAddProfanityFiltersShort(input *profanity.AdminAddProfanityFiltersParams) error

func (*ProfanityService) AdminCreateProfanityList deprecated

func (aaa *ProfanityService) AdminCreateProfanityList(input *profanity.AdminCreateProfanityListParams) error

Deprecated: 2022-01-10 - Please use AdminCreateProfanityListShort instead.

func (*ProfanityService) AdminCreateProfanityListShort

func (aaa *ProfanityService) AdminCreateProfanityListShort(input *profanity.AdminCreateProfanityListParams) error

func (*ProfanityService) AdminDebugProfanityFilters deprecated

Deprecated: 2022-01-10 - Please use AdminDebugProfanityFiltersShort instead.

func (*ProfanityService) AdminDebugProfanityFiltersShort

func (*ProfanityService) AdminDeleteProfanityFilter deprecated

Deprecated: 2022-01-10 - Please use AdminDeleteProfanityFilterShort instead.

func (*ProfanityService) AdminDeleteProfanityFilterShort

func (*ProfanityService) AdminDeleteProfanityList deprecated

func (aaa *ProfanityService) AdminDeleteProfanityList(input *profanity.AdminDeleteProfanityListParams) error

Deprecated: 2022-01-10 - Please use AdminDeleteProfanityListShort instead.

func (*ProfanityService) AdminDeleteProfanityListShort

func (aaa *ProfanityService) AdminDeleteProfanityListShort(input *profanity.AdminDeleteProfanityListParams) error

func (*ProfanityService) AdminGetProfanityListFiltersV1 deprecated

Deprecated: 2022-01-10 - Please use AdminGetProfanityListFiltersV1Short instead.

func (*ProfanityService) AdminGetProfanityLists deprecated

Deprecated: 2022-01-10 - Please use AdminGetProfanityListsShort instead.

func (*ProfanityService) AdminGetProfanityRule deprecated

Deprecated: 2022-01-10 - Please use AdminGetProfanityRuleShort instead.

func (*ProfanityService) AdminGetProfanityRuleShort

func (*ProfanityService) AdminImportProfanityFiltersFromFile deprecated

func (aaa *ProfanityService) AdminImportProfanityFiltersFromFile(input *profanity.AdminImportProfanityFiltersFromFileParams) error

Deprecated: 2022-01-10 - Please use AdminImportProfanityFiltersFromFileShort instead.

func (*ProfanityService) AdminImportProfanityFiltersFromFileShort

func (aaa *ProfanityService) AdminImportProfanityFiltersFromFileShort(input *profanity.AdminImportProfanityFiltersFromFileParams) error

func (*ProfanityService) AdminSetProfanityRuleForNamespace deprecated

func (aaa *ProfanityService) AdminSetProfanityRuleForNamespace(input *profanity.AdminSetProfanityRuleForNamespaceParams) error

Deprecated: 2022-01-10 - Please use AdminSetProfanityRuleForNamespaceShort instead.

func (*ProfanityService) AdminSetProfanityRuleForNamespaceShort

func (aaa *ProfanityService) AdminSetProfanityRuleForNamespaceShort(input *profanity.AdminSetProfanityRuleForNamespaceParams) error

func (*ProfanityService) AdminUpdateProfanityList deprecated

func (aaa *ProfanityService) AdminUpdateProfanityList(input *profanity.AdminUpdateProfanityListParams) error

Deprecated: 2022-01-10 - Please use AdminUpdateProfanityListShort instead.

func (*ProfanityService) AdminUpdateProfanityListShort

func (aaa *ProfanityService) AdminUpdateProfanityListShort(input *profanity.AdminUpdateProfanityListParams) error

func (*ProfanityService) AdminVerifyMessageProfanityResponse deprecated

Deprecated: 2022-01-10 - Please use AdminVerifyMessageProfanityResponseShort instead.

func (*ProfanityService) GetAuthSession

func (aaa *ProfanityService) GetAuthSession() auth.Session

func (*ProfanityService) UpdateFlightId

func (aaa *ProfanityService) UpdateFlightId(flightId string)

type ThirdPartyService

type ThirdPartyService struct {
	Client           *lobbyclient.JusticeLobbyService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ThirdPartyService) AdminCreateThirdPartyConfig deprecated

Deprecated: 2022-01-10 - Please use AdminCreateThirdPartyConfigShort instead.

func (*ThirdPartyService) AdminDeleteThirdPartyConfig deprecated

func (aaa *ThirdPartyService) AdminDeleteThirdPartyConfig(input *third_party.AdminDeleteThirdPartyConfigParams) (string, error)

Deprecated: 2022-01-10 - Please use AdminDeleteThirdPartyConfigShort instead.

func (*ThirdPartyService) AdminDeleteThirdPartyConfigShort

func (aaa *ThirdPartyService) AdminDeleteThirdPartyConfigShort(input *third_party.AdminDeleteThirdPartyConfigParams) (string, error)

func (*ThirdPartyService) AdminGetThirdPartyConfig deprecated

Deprecated: 2022-01-10 - Please use AdminGetThirdPartyConfigShort instead.

func (*ThirdPartyService) AdminUpdateThirdPartyConfig deprecated

Deprecated: 2022-01-10 - Please use AdminUpdateThirdPartyConfigShort instead.

func (*ThirdPartyService) GetAuthSession

func (aaa *ThirdPartyService) GetAuthSession() auth.Session

func (*ThirdPartyService) UpdateFlightId

func (aaa *ThirdPartyService) UpdateFlightId(flightId string)

Jump to

Keyboard shortcuts

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