mocks

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFleetManager added in v1.2.9

type MockFleetManager struct {
	mock.Mock
}

MockFleetManager is an autogenerated mock type for the FleetManager type

func NewMockFleetManager added in v1.2.9

func NewMockFleetManager(t mockConstructorTestingTNewMockFleetManager) *MockFleetManager

NewMockFleetManager creates a new instance of MockFleetManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockFleetManager) Create added in v1.2.9

func (_m *MockFleetManager) Create(ctx context.Context, maxPlayers int, userIds []string, latencies []runtime.FleetUserLatencies, metadata map[string]interface{}, callback runtime.FmCreateCallbackFn) error

Create provides a mock function with given fields: ctx, maxPlayers, userIds, latencies, metadata, callback

func (*MockFleetManager) Get added in v1.2.9

Get provides a mock function with given fields: ctx, id

func (*MockFleetManager) Join added in v1.2.9

func (_m *MockFleetManager) Join(ctx context.Context, id string, userIds []string, metadata map[string]string) (*runtime.JoinInfo, error)

Join provides a mock function with given fields: ctx, id, userIds, metadata

func (*MockFleetManager) List added in v1.2.9

func (_m *MockFleetManager) List(ctx context.Context, query string, limit int, previousCursor string) ([]*runtime.InstanceInfo, string, error)

List provides a mock function with given fields: ctx, query, limit, previousCursor

type MockFleetManagerInitializer added in v1.2.9

type MockFleetManagerInitializer struct {
	mock.Mock
}

MockFleetManagerInitializer is an autogenerated mock type for the FleetManagerInitializer type

func NewMockFleetManagerInitializer added in v1.2.9

func NewMockFleetManagerInitializer(t mockConstructorTestingTNewMockFleetManagerInitializer) *MockFleetManagerInitializer

NewMockFleetManagerInitializer creates a new instance of MockFleetManagerInitializer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockFleetManagerInitializer) Create added in v1.2.9

func (_m *MockFleetManagerInitializer) Create(ctx context.Context, maxPlayers int, userIds []string, latencies []runtime.FleetUserLatencies, metadata map[string]interface{}, callback runtime.FmCreateCallbackFn) error

Create provides a mock function with given fields: ctx, maxPlayers, userIds, latencies, metadata, callback

func (*MockFleetManagerInitializer) Delete added in v1.2.9

Delete provides a mock function with given fields: ctx, id

func (*MockFleetManagerInitializer) Get added in v1.2.9

Get provides a mock function with given fields: ctx, id

func (*MockFleetManagerInitializer) Init added in v1.2.9

Init provides a mock function with given fields: nk, callbackHandler

func (*MockFleetManagerInitializer) Join added in v1.2.9

func (_m *MockFleetManagerInitializer) Join(ctx context.Context, id string, userIds []string, metadata map[string]string) (*runtime.JoinInfo, error)

Join provides a mock function with given fields: ctx, id, userIds, metadata

func (*MockFleetManagerInitializer) List added in v1.2.9

func (_m *MockFleetManagerInitializer) List(ctx context.Context, query string, limit int, previousCursor string) ([]*runtime.InstanceInfo, string, error)

List provides a mock function with given fields: ctx, query, limit, previousCursor

func (*MockFleetManagerInitializer) Update added in v1.2.9

func (_m *MockFleetManagerInitializer) Update(ctx context.Context, id string, playerCount int, metadata map[string]interface{}) error

Update provides a mock function with given fields: ctx, id, playerCount, metadata

type MockFmCallbackHandler added in v1.2.9

type MockFmCallbackHandler struct {
	mock.Mock
}

MockFmCallbackHandler is an autogenerated mock type for the FmCallbackHandler type

func NewMockFmCallbackHandler added in v1.2.9

func NewMockFmCallbackHandler(t mockConstructorTestingTNewMockFmCallbackHandler) *MockFmCallbackHandler

NewMockFmCallbackHandler creates a new instance of MockFmCallbackHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockFmCallbackHandler) GenerateCallbackId added in v1.2.9

func (_m *MockFmCallbackHandler) GenerateCallbackId() string

GenerateCallbackId provides a mock function with given fields:

func (*MockFmCallbackHandler) InvokeCallback added in v1.2.9

func (_m *MockFmCallbackHandler) InvokeCallback(callbackId string, status runtime.FmCreateStatus, instanceInfo *runtime.InstanceInfo, sessionInfo []*runtime.SessionInfo, metadata map[string]interface{}, err error)

InvokeCallback provides a mock function with given fields: callbackId, status, instanceInfo, sessionInfo, metadata, err

func (*MockFmCallbackHandler) SetCallback added in v1.2.9

func (_m *MockFmCallbackHandler) SetCallback(callbackId string, fn runtime.FmCreateCallbackFn)

SetCallback provides a mock function with given fields: callbackId, fn

type MockFmCreateCallbackFn added in v1.2.9

type MockFmCreateCallbackFn struct {
	mock.Mock
}

MockFmCreateCallbackFn is an autogenerated mock type for the FmCreateCallbackFn type

func NewMockFmCreateCallbackFn added in v1.2.9

func NewMockFmCreateCallbackFn(t mockConstructorTestingTNewMockFmCreateCallbackFn) *MockFmCreateCallbackFn

NewMockFmCreateCallbackFn creates a new instance of MockFmCreateCallbackFn. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockFmCreateCallbackFn) Execute added in v1.2.9

func (_m *MockFmCreateCallbackFn) Execute(status runtime.FmCreateStatus, instanceInfo *runtime.InstanceInfo, sessionInfo []*runtime.SessionInfo, metadata map[string]interface{}, err error)

Execute provides a mock function with given fields: status, instanceInfo, sessionInfo, metadata, err

type MockInitializer added in v1.2.9

type MockInitializer struct {
	mock.Mock
}

MockInitializer is an autogenerated mock type for the Initializer type

func NewMockInitializer added in v1.2.9

func NewMockInitializer(t mockConstructorTestingTNewMockInitializer) *MockInitializer

NewMockInitializer creates a new instance of MockInitializer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockInitializer) RegisterAfterAddFriends added in v1.2.9

func (_m *MockInitializer) RegisterAfterAddFriends(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AddFriendsRequest) error) error

RegisterAfterAddFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAddGroupUsers added in v1.2.9

func (_m *MockInitializer) RegisterAfterAddGroupUsers(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AddGroupUsersRequest) error) error

RegisterAfterAddGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAuthenticateApple added in v1.2.9

func (_m *MockInitializer) RegisterAfterAuthenticateApple(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Session, *api.AuthenticateAppleRequest) error) error

RegisterAfterAuthenticateApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAuthenticateCustom added in v1.2.9

func (_m *MockInitializer) RegisterAfterAuthenticateCustom(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Session, *api.AuthenticateCustomRequest) error) error

RegisterAfterAuthenticateCustom provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAuthenticateDevice added in v1.2.9

func (_m *MockInitializer) RegisterAfterAuthenticateDevice(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Session, *api.AuthenticateDeviceRequest) error) error

RegisterAfterAuthenticateDevice provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAuthenticateEmail added in v1.2.9

func (_m *MockInitializer) RegisterAfterAuthenticateEmail(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Session, *api.AuthenticateEmailRequest) error) error

RegisterAfterAuthenticateEmail provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAuthenticateFacebook added in v1.2.9

func (_m *MockInitializer) RegisterAfterAuthenticateFacebook(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Session, *api.AuthenticateFacebookRequest) error) error

RegisterAfterAuthenticateFacebook provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAuthenticateFacebookInstantGame added in v1.2.9

func (_m *MockInitializer) RegisterAfterAuthenticateFacebookInstantGame(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Session, *api.AuthenticateFacebookInstantGameRequest) error) error

RegisterAfterAuthenticateFacebookInstantGame provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAuthenticateGameCenter added in v1.2.9

func (_m *MockInitializer) RegisterAfterAuthenticateGameCenter(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Session, *api.AuthenticateGameCenterRequest) error) error

RegisterAfterAuthenticateGameCenter provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAuthenticateGoogle added in v1.2.9

func (_m *MockInitializer) RegisterAfterAuthenticateGoogle(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Session, *api.AuthenticateGoogleRequest) error) error

RegisterAfterAuthenticateGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterAuthenticateSteam added in v1.2.9

func (_m *MockInitializer) RegisterAfterAuthenticateSteam(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Session, *api.AuthenticateSteamRequest) error) error

RegisterAfterAuthenticateSteam provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterBanGroupUsers added in v1.2.9

func (_m *MockInitializer) RegisterAfterBanGroupUsers(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.BanGroupUsersRequest) error) error

RegisterAfterBanGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterBlockFriends added in v1.2.9

func (_m *MockInitializer) RegisterAfterBlockFriends(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.BlockFriendsRequest) error) error

RegisterAfterBlockFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterCreateGroup added in v1.2.9

func (_m *MockInitializer) RegisterAfterCreateGroup(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Group, *api.CreateGroupRequest) error) error

RegisterAfterCreateGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterDeleteAccount added in v1.2.9

func (_m *MockInitializer) RegisterAfterDeleteAccount(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule) error) error

RegisterAfterDeleteAccount provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterDeleteFriends added in v1.2.9

func (_m *MockInitializer) RegisterAfterDeleteFriends(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.DeleteFriendsRequest) error) error

RegisterAfterDeleteFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterDeleteGroup added in v1.2.9

func (_m *MockInitializer) RegisterAfterDeleteGroup(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.DeleteGroupRequest) error) error

RegisterAfterDeleteGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterDeleteLeaderboardRecord added in v1.2.9

func (_m *MockInitializer) RegisterAfterDeleteLeaderboardRecord(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.DeleteLeaderboardRecordRequest) error) error

RegisterAfterDeleteLeaderboardRecord provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterDeleteNotifications added in v1.2.9

func (_m *MockInitializer) RegisterAfterDeleteNotifications(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.DeleteNotificationsRequest) error) error

RegisterAfterDeleteNotifications provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterDeleteStorageObjects added in v1.2.9

func (_m *MockInitializer) RegisterAfterDeleteStorageObjects(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.DeleteStorageObjectsRequest) error) error

RegisterAfterDeleteStorageObjects provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterDeleteTournamentRecord added in v1.2.9

func (_m *MockInitializer) RegisterAfterDeleteTournamentRecord(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.DeleteTournamentRecordRequest) error) error

RegisterAfterDeleteTournamentRecord provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterDemoteGroupUsers added in v1.2.9

func (_m *MockInitializer) RegisterAfterDemoteGroupUsers(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.DemoteGroupUsersRequest) error) error

RegisterAfterDemoteGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterGetAccount added in v1.2.9

func (_m *MockInitializer) RegisterAfterGetAccount(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Account) error) error

RegisterAfterGetAccount provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterGetSubscription added in v1.2.9

RegisterAfterGetSubscription provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterGetUsers added in v1.2.9

RegisterAfterGetUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterImportFacebookFriends added in v1.2.9

func (_m *MockInitializer) RegisterAfterImportFacebookFriends(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.ImportFacebookFriendsRequest) error) error

RegisterAfterImportFacebookFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterImportSteamFriends added in v1.2.9

func (_m *MockInitializer) RegisterAfterImportSteamFriends(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.ImportSteamFriendsRequest) error) error

RegisterAfterImportSteamFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterJoinGroup added in v1.2.9

func (_m *MockInitializer) RegisterAfterJoinGroup(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.JoinGroupRequest) error) error

RegisterAfterJoinGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterJoinTournament added in v1.2.9

func (_m *MockInitializer) RegisterAfterJoinTournament(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.JoinTournamentRequest) error) error

RegisterAfterJoinTournament provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterKickGroupUsers added in v1.2.9

func (_m *MockInitializer) RegisterAfterKickGroupUsers(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.KickGroupUsersRequest) error) error

RegisterAfterKickGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLeaveGroup added in v1.2.9

func (_m *MockInitializer) RegisterAfterLeaveGroup(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.LeaveGroupRequest) error) error

RegisterAfterLeaveGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLinkApple added in v1.2.9

func (_m *MockInitializer) RegisterAfterLinkApple(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountApple) error) error

RegisterAfterLinkApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLinkCustom added in v1.2.9

func (_m *MockInitializer) RegisterAfterLinkCustom(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountCustom) error) error

RegisterAfterLinkCustom provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLinkDevice added in v1.2.9

func (_m *MockInitializer) RegisterAfterLinkDevice(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountDevice) error) error

RegisterAfterLinkDevice provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLinkEmail added in v1.2.9

func (_m *MockInitializer) RegisterAfterLinkEmail(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountEmail) error) error

RegisterAfterLinkEmail provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLinkFacebook added in v1.2.9

func (_m *MockInitializer) RegisterAfterLinkFacebook(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.LinkFacebookRequest) error) error

RegisterAfterLinkFacebook provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLinkFacebookInstantGame added in v1.2.9

func (_m *MockInitializer) RegisterAfterLinkFacebookInstantGame(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountFacebookInstantGame) error) error

RegisterAfterLinkFacebookInstantGame provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLinkGameCenter added in v1.2.9

func (_m *MockInitializer) RegisterAfterLinkGameCenter(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountGameCenter) error) error

RegisterAfterLinkGameCenter provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLinkGoogle added in v1.2.9

func (_m *MockInitializer) RegisterAfterLinkGoogle(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountGoogle) error) error

RegisterAfterLinkGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterLinkSteam added in v1.2.9

func (_m *MockInitializer) RegisterAfterLinkSteam(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.LinkSteamRequest) error) error

RegisterAfterLinkSteam provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListChannelMessages added in v1.2.9

RegisterAfterListChannelMessages provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListFriends added in v1.2.9

func (_m *MockInitializer) RegisterAfterListFriends(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.FriendList) error) error

RegisterAfterListFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListFriendsOfFriends added in v1.2.9

func (_m *MockInitializer) RegisterAfterListFriendsOfFriends(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.FriendsOfFriendsList) error) error

RegisterAfterListFriendsOfFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListGroupUsers added in v1.2.9

RegisterAfterListGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListGroups added in v1.2.9

RegisterAfterListGroups provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListLeaderboardRecords added in v1.2.9

RegisterAfterListLeaderboardRecords provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListLeaderboardRecordsAroundOwner added in v1.2.9

RegisterAfterListLeaderboardRecordsAroundOwner provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListMatches added in v1.2.9

RegisterAfterListMatches provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListNotifications added in v1.2.9

RegisterAfterListNotifications provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListStorageObjects added in v1.2.9

RegisterAfterListStorageObjects provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListSubscriptions added in v1.2.9

RegisterAfterListSubscriptions provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListTournamentRecords added in v1.2.9

RegisterAfterListTournamentRecords provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListTournamentRecordsAroundOwner added in v1.2.9

RegisterAfterListTournamentRecordsAroundOwner provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListTournaments added in v1.2.9

RegisterAfterListTournaments provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterListUserGroups added in v1.2.9

RegisterAfterListUserGroups provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterPromoteGroupUsers added in v1.2.9

func (_m *MockInitializer) RegisterAfterPromoteGroupUsers(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.PromoteGroupUsersRequest) error) error

RegisterAfterPromoteGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterReadStorageObjects added in v1.2.9

RegisterAfterReadStorageObjects provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterRt added in v1.2.9

RegisterAfterRt provides a mock function with given fields: id, fn

func (*MockInitializer) RegisterAfterSessionLogout added in v1.2.9

func (_m *MockInitializer) RegisterAfterSessionLogout(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.SessionLogoutRequest) error) error

RegisterAfterSessionLogout provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterSessionRefresh added in v1.2.9

RegisterAfterSessionRefresh provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUnlinkApple added in v1.2.9

func (_m *MockInitializer) RegisterAfterUnlinkApple(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountApple) error) error

RegisterAfterUnlinkApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUnlinkCustom added in v1.2.9

func (_m *MockInitializer) RegisterAfterUnlinkCustom(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountCustom) error) error

RegisterAfterUnlinkCustom provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUnlinkDevice added in v1.2.9

func (_m *MockInitializer) RegisterAfterUnlinkDevice(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountDevice) error) error

RegisterAfterUnlinkDevice provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUnlinkEmail added in v1.2.9

func (_m *MockInitializer) RegisterAfterUnlinkEmail(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountEmail) error) error

RegisterAfterUnlinkEmail provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUnlinkFacebook added in v1.2.9

func (_m *MockInitializer) RegisterAfterUnlinkFacebook(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountFacebook) error) error

RegisterAfterUnlinkFacebook provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUnlinkFacebookInstantGame added in v1.2.9

func (_m *MockInitializer) RegisterAfterUnlinkFacebookInstantGame(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountFacebookInstantGame) error) error

RegisterAfterUnlinkFacebookInstantGame provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUnlinkGameCenter added in v1.2.9

func (_m *MockInitializer) RegisterAfterUnlinkGameCenter(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountGameCenter) error) error

RegisterAfterUnlinkGameCenter provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUnlinkGoogle added in v1.2.9

func (_m *MockInitializer) RegisterAfterUnlinkGoogle(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountGoogle) error) error

RegisterAfterUnlinkGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUnlinkSteam added in v1.2.9

func (_m *MockInitializer) RegisterAfterUnlinkSteam(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountSteam) error) error

RegisterAfterUnlinkSteam provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUpdateAccount added in v1.2.9

func (_m *MockInitializer) RegisterAfterUpdateAccount(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.UpdateAccountRequest) error) error

RegisterAfterUpdateAccount provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterUpdateGroup added in v1.2.9

func (_m *MockInitializer) RegisterAfterUpdateGroup(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.UpdateGroupRequest) error) error

RegisterAfterUpdateGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterValidatePurchaseApple added in v1.2.9

RegisterAfterValidatePurchaseApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterValidatePurchaseFacebookInstant added in v1.2.9

RegisterAfterValidatePurchaseFacebookInstant provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterValidatePurchaseGoogle added in v1.2.9

RegisterAfterValidatePurchaseGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterValidatePurchaseHuawei added in v1.2.9

RegisterAfterValidatePurchaseHuawei provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterValidateSubscriptionApple added in v1.2.9

RegisterAfterValidateSubscriptionApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterValidateSubscriptionGoogle added in v1.2.9

RegisterAfterValidateSubscriptionGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterWriteLeaderboardRecord added in v1.2.9

RegisterAfterWriteLeaderboardRecord provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterWriteStorageObjects added in v1.2.9

RegisterAfterWriteStorageObjects provides a mock function with given fields: fn

func (*MockInitializer) RegisterAfterWriteTournamentRecord added in v1.2.9

RegisterAfterWriteTournamentRecord provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAddFriends added in v1.2.9

RegisterBeforeAddFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAddGroupUsers added in v1.2.9

RegisterBeforeAddGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAuthenticateApple added in v1.2.9

RegisterBeforeAuthenticateApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAuthenticateCustom added in v1.2.9

RegisterBeforeAuthenticateCustom provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAuthenticateDevice added in v1.2.9

RegisterBeforeAuthenticateDevice provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAuthenticateEmail added in v1.2.9

RegisterBeforeAuthenticateEmail provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAuthenticateFacebook added in v1.2.9

RegisterBeforeAuthenticateFacebook provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAuthenticateFacebookInstantGame added in v1.2.9

RegisterBeforeAuthenticateFacebookInstantGame provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAuthenticateGameCenter added in v1.2.9

RegisterBeforeAuthenticateGameCenter provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAuthenticateGoogle added in v1.2.9

RegisterBeforeAuthenticateGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeAuthenticateSteam added in v1.2.9

RegisterBeforeAuthenticateSteam provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeBanGroupUsers added in v1.2.9

RegisterBeforeBanGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeBlockFriends added in v1.2.9

RegisterBeforeBlockFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeCreateGroup added in v1.2.9

RegisterBeforeCreateGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeDeleteAccount added in v1.2.9

func (_m *MockInitializer) RegisterBeforeDeleteAccount(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule) error) error

RegisterBeforeDeleteAccount provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeDeleteFriends added in v1.2.9

RegisterBeforeDeleteFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeDeleteGroup added in v1.2.9

RegisterBeforeDeleteGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeDeleteLeaderboardRecord added in v1.2.9

RegisterBeforeDeleteLeaderboardRecord provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeDeleteNotifications added in v1.2.9

RegisterBeforeDeleteNotifications provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeDeleteStorageObjects added in v1.2.9

RegisterBeforeDeleteStorageObjects provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeDeleteTournamentRecord added in v1.2.9

RegisterBeforeDeleteTournamentRecord provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeDemoteGroupUsers added in v1.2.9

RegisterBeforeDemoteGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeGetAccount added in v1.2.9

func (_m *MockInitializer) RegisterBeforeGetAccount(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule) error) error

RegisterBeforeGetAccount provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeGetSubscription added in v1.2.9

RegisterBeforeGetSubscription provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeGetUsers added in v1.2.9

RegisterBeforeGetUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeImportFacebookFriends added in v1.2.9

RegisterBeforeImportFacebookFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeImportSteamFriends added in v1.2.9

RegisterBeforeImportSteamFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeJoinGroup added in v1.2.9

RegisterBeforeJoinGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeJoinTournament added in v1.2.9

RegisterBeforeJoinTournament provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeKickGroupUsers added in v1.2.9

RegisterBeforeKickGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLeaveGroup added in v1.2.9

RegisterBeforeLeaveGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLinkApple added in v1.2.9

func (_m *MockInitializer) RegisterBeforeLinkApple(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountApple) (*api.AccountApple, error)) error

RegisterBeforeLinkApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLinkCustom added in v1.2.9

func (_m *MockInitializer) RegisterBeforeLinkCustom(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountCustom) (*api.AccountCustom, error)) error

RegisterBeforeLinkCustom provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLinkDevice added in v1.2.9

func (_m *MockInitializer) RegisterBeforeLinkDevice(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountDevice) (*api.AccountDevice, error)) error

RegisterBeforeLinkDevice provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLinkEmail added in v1.2.9

func (_m *MockInitializer) RegisterBeforeLinkEmail(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountEmail) (*api.AccountEmail, error)) error

RegisterBeforeLinkEmail provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLinkFacebook added in v1.2.9

RegisterBeforeLinkFacebook provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLinkFacebookInstantGame added in v1.2.9

RegisterBeforeLinkFacebookInstantGame provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLinkGameCenter added in v1.2.9

RegisterBeforeLinkGameCenter provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLinkGoogle added in v1.2.9

func (_m *MockInitializer) RegisterBeforeLinkGoogle(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountGoogle) (*api.AccountGoogle, error)) error

RegisterBeforeLinkGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeLinkSteam added in v1.2.9

RegisterBeforeLinkSteam provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListChannelMessages added in v1.2.9

RegisterBeforeListChannelMessages provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListFriends added in v1.2.9

RegisterBeforeListFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListFriendsOfFriends added in v1.2.9

RegisterBeforeListFriendsOfFriends provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListGroupUsers added in v1.2.9

RegisterBeforeListGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListGroups added in v1.2.9

RegisterBeforeListGroups provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListLeaderboardRecords added in v1.2.9

RegisterBeforeListLeaderboardRecords provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListLeaderboardRecordsAroundOwner added in v1.2.9

RegisterBeforeListLeaderboardRecordsAroundOwner provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListMatches added in v1.2.9

RegisterBeforeListMatches provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListNotifications added in v1.2.9

RegisterBeforeListNotifications provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListStorageObjects added in v1.2.9

RegisterBeforeListStorageObjects provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListSubscriptions added in v1.2.9

RegisterBeforeListSubscriptions provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListTournamentRecords added in v1.2.9

RegisterBeforeListTournamentRecords provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListTournamentRecordsAroundOwner added in v1.2.9

RegisterBeforeListTournamentRecordsAroundOwner provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListTournaments added in v1.2.9

RegisterBeforeListTournaments provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeListUserGroups added in v1.2.9

RegisterBeforeListUserGroups provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforePromoteGroupUsers added in v1.2.9

RegisterBeforePromoteGroupUsers provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeReadStorageObjects added in v1.2.9

RegisterBeforeReadStorageObjects provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeRt added in v1.2.9

RegisterBeforeRt provides a mock function with given fields: id, fn

func (*MockInitializer) RegisterBeforeSessionLogout added in v1.2.9

RegisterBeforeSessionLogout provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeSessionRefresh added in v1.2.9

RegisterBeforeSessionRefresh provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUnlinkApple added in v1.2.9

func (_m *MockInitializer) RegisterBeforeUnlinkApple(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountApple) (*api.AccountApple, error)) error

RegisterBeforeUnlinkApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUnlinkCustom added in v1.2.9

func (_m *MockInitializer) RegisterBeforeUnlinkCustom(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountCustom) (*api.AccountCustom, error)) error

RegisterBeforeUnlinkCustom provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUnlinkDevice added in v1.2.9

func (_m *MockInitializer) RegisterBeforeUnlinkDevice(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountDevice) (*api.AccountDevice, error)) error

RegisterBeforeUnlinkDevice provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUnlinkEmail added in v1.2.9

func (_m *MockInitializer) RegisterBeforeUnlinkEmail(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountEmail) (*api.AccountEmail, error)) error

RegisterBeforeUnlinkEmail provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUnlinkFacebook added in v1.2.9

func (_m *MockInitializer) RegisterBeforeUnlinkFacebook(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountFacebook) (*api.AccountFacebook, error)) error

RegisterBeforeUnlinkFacebook provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUnlinkFacebookInstantGame added in v1.2.9

RegisterBeforeUnlinkFacebookInstantGame provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUnlinkGameCenter added in v1.2.9

func (_m *MockInitializer) RegisterBeforeUnlinkGameCenter(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountGameCenter) (*api.AccountGameCenter, error)) error

RegisterBeforeUnlinkGameCenter provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUnlinkGoogle added in v1.2.9

func (_m *MockInitializer) RegisterBeforeUnlinkGoogle(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountGoogle) (*api.AccountGoogle, error)) error

RegisterBeforeUnlinkGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUnlinkSteam added in v1.2.9

func (_m *MockInitializer) RegisterBeforeUnlinkSteam(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.AccountSteam) (*api.AccountSteam, error)) error

RegisterBeforeUnlinkSteam provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUpdateAccount added in v1.2.9

RegisterBeforeUpdateAccount provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeUpdateGroup added in v1.2.9

RegisterBeforeUpdateGroup provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeValidatePurchaseApple added in v1.2.9

RegisterBeforeValidatePurchaseApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeValidatePurchaseFacebookInstant added in v1.2.9

RegisterBeforeValidatePurchaseFacebookInstant provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeValidatePurchaseGoogle added in v1.2.9

RegisterBeforeValidatePurchaseGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeValidatePurchaseHuawei added in v1.2.9

RegisterBeforeValidatePurchaseHuawei provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeValidateSubscriptionApple added in v1.2.9

RegisterBeforeValidateSubscriptionApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeValidateSubscriptionGoogle added in v1.2.9

RegisterBeforeValidateSubscriptionGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeWriteLeaderboardRecord added in v1.2.9

RegisterBeforeWriteLeaderboardRecord provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeWriteStorageObjects added in v1.2.9

RegisterBeforeWriteStorageObjects provides a mock function with given fields: fn

func (*MockInitializer) RegisterBeforeWriteTournamentRecord added in v1.2.9

RegisterBeforeWriteTournamentRecord provides a mock function with given fields: fn

func (*MockInitializer) RegisterEvent added in v1.2.9

func (_m *MockInitializer) RegisterEvent(fn func(context.Context, runtime.Logger, *api.Event)) error

RegisterEvent provides a mock function with given fields: fn

func (*MockInitializer) RegisterEventSessionEnd added in v1.2.9

func (_m *MockInitializer) RegisterEventSessionEnd(fn func(context.Context, runtime.Logger, *api.Event)) error

RegisterEventSessionEnd provides a mock function with given fields: fn

func (*MockInitializer) RegisterEventSessionStart added in v1.2.9

func (_m *MockInitializer) RegisterEventSessionStart(fn func(context.Context, runtime.Logger, *api.Event)) error

RegisterEventSessionStart provides a mock function with given fields: fn

func (*MockInitializer) RegisterFleetManager added in v1.2.9

func (_m *MockInitializer) RegisterFleetManager(fleetManagerInit runtime.FleetManagerInitializer) error

RegisterFleetManager provides a mock function with given fields: fleetManagerInit

func (*MockInitializer) RegisterLeaderboardReset added in v1.2.9

func (_m *MockInitializer) RegisterLeaderboardReset(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Leaderboard, int64) error) error

RegisterLeaderboardReset provides a mock function with given fields: fn

func (*MockInitializer) RegisterMatch added in v1.2.9

func (_m *MockInitializer) RegisterMatch(name string, fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule) (runtime.Match, error)) error

RegisterMatch provides a mock function with given fields: name, fn

func (*MockInitializer) RegisterMatchmakerMatched added in v1.2.9

func (_m *MockInitializer) RegisterMatchmakerMatched(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, []runtime.MatchmakerEntry) (string, error)) error

RegisterMatchmakerMatched provides a mock function with given fields: fn

func (*MockInitializer) RegisterMatchmakerOverride added in v1.2.9

RegisterMatchmakerOverride provides a mock function with given fields: fn

func (*MockInitializer) RegisterPurchaseNotificationApple added in v1.2.9

func (_m *MockInitializer) RegisterPurchaseNotificationApple(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.ValidatedPurchase, string) error) error

RegisterPurchaseNotificationApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterPurchaseNotificationGoogle added in v1.2.9

func (_m *MockInitializer) RegisterPurchaseNotificationGoogle(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.ValidatedPurchase, string) error) error

RegisterPurchaseNotificationGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterRpc added in v1.2.9

RegisterRpc provides a mock function with given fields: id, fn

func (*MockInitializer) RegisterShutdown added in v1.2.9

func (_m *MockInitializer) RegisterShutdown(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule)) error

RegisterShutdown provides a mock function with given fields: fn

func (*MockInitializer) RegisterStorageIndex added in v1.2.9

func (_m *MockInitializer) RegisterStorageIndex(name string, collection string, key string, fields []string, sortableFields []string, maxEntries int, indexOnly bool) error

RegisterStorageIndex provides a mock function with given fields: name, collection, key, fields, sortableFields, maxEntries, indexOnly

func (*MockInitializer) RegisterStorageIndexFilter added in v1.2.9

func (_m *MockInitializer) RegisterStorageIndexFilter(indexName string, fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *runtime.StorageWrite) bool) error

RegisterStorageIndexFilter provides a mock function with given fields: indexName, fn

func (*MockInitializer) RegisterSubscriptionNotificationApple added in v1.2.9

func (_m *MockInitializer) RegisterSubscriptionNotificationApple(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.ValidatedSubscription, string) error) error

RegisterSubscriptionNotificationApple provides a mock function with given fields: fn

func (*MockInitializer) RegisterSubscriptionNotificationGoogle added in v1.2.9

func (_m *MockInitializer) RegisterSubscriptionNotificationGoogle(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.ValidatedSubscription, string) error) error

RegisterSubscriptionNotificationGoogle provides a mock function with given fields: fn

func (*MockInitializer) RegisterTournamentEnd added in v1.2.9

func (_m *MockInitializer) RegisterTournamentEnd(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Tournament, int64, int64) error) error

RegisterTournamentEnd provides a mock function with given fields: fn

func (*MockInitializer) RegisterTournamentReset added in v1.2.9

func (_m *MockInitializer) RegisterTournamentReset(fn func(context.Context, runtime.Logger, *sql.DB, runtime.NakamaModule, *api.Tournament, int64, int64) error) error

RegisterTournamentReset provides a mock function with given fields: fn

type MockLogger added in v1.2.9

type MockLogger struct {
	mock.Mock
}

MockLogger is an autogenerated mock type for the Logger type

func NewMockLogger added in v1.2.9

func NewMockLogger(t mockConstructorTestingTNewMockLogger) *MockLogger

NewMockLogger creates a new instance of MockLogger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockLogger) Debug added in v1.2.9

func (_m *MockLogger) Debug(format string, v ...interface{})

Debug provides a mock function with given fields: format, v

func (*MockLogger) Error added in v1.2.9

func (_m *MockLogger) Error(format string, v ...interface{})

Error provides a mock function with given fields: format, v

func (*MockLogger) Fields added in v1.2.9

func (_m *MockLogger) Fields() map[string]interface{}

Fields provides a mock function with given fields:

func (*MockLogger) Info added in v1.2.9

func (_m *MockLogger) Info(format string, v ...interface{})

Info provides a mock function with given fields: format, v

func (*MockLogger) Warn added in v1.2.9

func (_m *MockLogger) Warn(format string, v ...interface{})

Warn provides a mock function with given fields: format, v

func (*MockLogger) WithField added in v1.2.9

func (_m *MockLogger) WithField(key string, v interface{}) runtime.Logger

WithField provides a mock function with given fields: key, v

func (*MockLogger) WithFields added in v1.2.9

func (_m *MockLogger) WithFields(fields map[string]interface{}) runtime.Logger

WithFields provides a mock function with given fields: fields

type MockMatch added in v1.2.9

type MockMatch struct {
	mock.Mock
}

MockMatch is an autogenerated mock type for the Match type

func NewMockMatch added in v1.2.9

func NewMockMatch(t mockConstructorTestingTNewMockMatch) *MockMatch

NewMockMatch creates a new instance of MockMatch. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockMatch) MatchInit added in v1.2.9

func (_m *MockMatch) MatchInit(ctx context.Context, logger runtime.Logger, db *sql.DB, nk runtime.NakamaModule, params map[string]interface{}) (interface{}, int, string)

MatchInit provides a mock function with given fields: ctx, logger, db, nk, params

func (*MockMatch) MatchJoin added in v1.2.9

func (_m *MockMatch) MatchJoin(ctx context.Context, logger runtime.Logger, db *sql.DB, nk runtime.NakamaModule, dispatcher runtime.MatchDispatcher, tick int64, state interface{}, presences []runtime.Presence) interface{}

MatchJoin provides a mock function with given fields: ctx, logger, db, nk, dispatcher, tick, state, presences

func (*MockMatch) MatchJoinAttempt added in v1.2.9

func (_m *MockMatch) MatchJoinAttempt(ctx context.Context, logger runtime.Logger, db *sql.DB, nk runtime.NakamaModule, dispatcher runtime.MatchDispatcher, tick int64, state interface{}, presence runtime.Presence, metadata map[string]string) (interface{}, bool, string)

MatchJoinAttempt provides a mock function with given fields: ctx, logger, db, nk, dispatcher, tick, state, presence, metadata

func (*MockMatch) MatchLeave added in v1.2.9

func (_m *MockMatch) MatchLeave(ctx context.Context, logger runtime.Logger, db *sql.DB, nk runtime.NakamaModule, dispatcher runtime.MatchDispatcher, tick int64, state interface{}, presences []runtime.Presence) interface{}

MatchLeave provides a mock function with given fields: ctx, logger, db, nk, dispatcher, tick, state, presences

func (*MockMatch) MatchLoop added in v1.2.9

func (_m *MockMatch) MatchLoop(ctx context.Context, logger runtime.Logger, db *sql.DB, nk runtime.NakamaModule, dispatcher runtime.MatchDispatcher, tick int64, state interface{}, messages []runtime.MatchData) interface{}

MatchLoop provides a mock function with given fields: ctx, logger, db, nk, dispatcher, tick, state, messages

func (*MockMatch) MatchSignal added in v1.2.9

func (_m *MockMatch) MatchSignal(ctx context.Context, logger runtime.Logger, db *sql.DB, nk runtime.NakamaModule, dispatcher runtime.MatchDispatcher, tick int64, state interface{}, data string) (interface{}, string)

MatchSignal provides a mock function with given fields: ctx, logger, db, nk, dispatcher, tick, state, data

func (*MockMatch) MatchTerminate added in v1.2.9

func (_m *MockMatch) MatchTerminate(ctx context.Context, logger runtime.Logger, db *sql.DB, nk runtime.NakamaModule, dispatcher runtime.MatchDispatcher, tick int64, state interface{}, graceSeconds int) interface{}

MatchTerminate provides a mock function with given fields: ctx, logger, db, nk, dispatcher, tick, state, graceSeconds

type MockMatchData added in v1.2.9

type MockMatchData struct {
	mock.Mock
}

MockMatchData is an autogenerated mock type for the MatchData type

func NewMockMatchData added in v1.2.9

func NewMockMatchData(t mockConstructorTestingTNewMockMatchData) *MockMatchData

NewMockMatchData creates a new instance of MockMatchData. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockMatchData) GetData added in v1.2.9

func (_m *MockMatchData) GetData() []byte

GetData provides a mock function with given fields:

func (*MockMatchData) GetHidden added in v1.2.9

func (_m *MockMatchData) GetHidden() bool

GetHidden provides a mock function with given fields:

func (*MockMatchData) GetNodeId added in v1.2.9

func (_m *MockMatchData) GetNodeId() string

GetNodeId provides a mock function with given fields:

func (*MockMatchData) GetOpCode added in v1.2.9

func (_m *MockMatchData) GetOpCode() int64

GetOpCode provides a mock function with given fields:

func (*MockMatchData) GetPersistence added in v1.2.9

func (_m *MockMatchData) GetPersistence() bool

GetPersistence provides a mock function with given fields:

func (*MockMatchData) GetReason added in v1.2.9

func (_m *MockMatchData) GetReason() runtime.PresenceReason

GetReason provides a mock function with given fields:

func (*MockMatchData) GetReceiveTime added in v1.2.9

func (_m *MockMatchData) GetReceiveTime() int64

GetReceiveTime provides a mock function with given fields:

func (*MockMatchData) GetReliable added in v1.2.9

func (_m *MockMatchData) GetReliable() bool

GetReliable provides a mock function with given fields:

func (*MockMatchData) GetSessionId added in v1.2.9

func (_m *MockMatchData) GetSessionId() string

GetSessionId provides a mock function with given fields:

func (*MockMatchData) GetStatus added in v1.2.9

func (_m *MockMatchData) GetStatus() string

GetStatus provides a mock function with given fields:

func (*MockMatchData) GetUserId added in v1.2.9

func (_m *MockMatchData) GetUserId() string

GetUserId provides a mock function with given fields:

func (*MockMatchData) GetUsername added in v1.2.9

func (_m *MockMatchData) GetUsername() string

GetUsername provides a mock function with given fields:

type MockMatchDispatcher added in v1.2.9

type MockMatchDispatcher struct {
	mock.Mock
}

MockMatchDispatcher is an autogenerated mock type for the MatchDispatcher type

func NewMockMatchDispatcher added in v1.2.9

func NewMockMatchDispatcher(t mockConstructorTestingTNewMockMatchDispatcher) *MockMatchDispatcher

NewMockMatchDispatcher creates a new instance of MockMatchDispatcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockMatchDispatcher) BroadcastMessage added in v1.2.9

func (_m *MockMatchDispatcher) BroadcastMessage(opCode int64, data []byte, presences []runtime.Presence, sender runtime.Presence, reliable bool) error

BroadcastMessage provides a mock function with given fields: opCode, data, presences, sender, reliable

func (*MockMatchDispatcher) BroadcastMessageDeferred added in v1.2.9

func (_m *MockMatchDispatcher) BroadcastMessageDeferred(opCode int64, data []byte, presences []runtime.Presence, sender runtime.Presence, reliable bool) error

BroadcastMessageDeferred provides a mock function with given fields: opCode, data, presences, sender, reliable

func (*MockMatchDispatcher) MatchKick added in v1.2.9

func (_m *MockMatchDispatcher) MatchKick(presences []runtime.Presence) error

MatchKick provides a mock function with given fields: presences

func (*MockMatchDispatcher) MatchLabelUpdate added in v1.2.9

func (_m *MockMatchDispatcher) MatchLabelUpdate(label string) error

MatchLabelUpdate provides a mock function with given fields: label

type MockMatchmakerEntry added in v1.2.9

type MockMatchmakerEntry struct {
	mock.Mock
}

MockMatchmakerEntry is an autogenerated mock type for the MatchmakerEntry type

func NewMockMatchmakerEntry added in v1.2.9

func NewMockMatchmakerEntry(t mockConstructorTestingTNewMockMatchmakerEntry) *MockMatchmakerEntry

NewMockMatchmakerEntry creates a new instance of MockMatchmakerEntry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockMatchmakerEntry) GetPartyId added in v1.2.9

func (_m *MockMatchmakerEntry) GetPartyId() string

GetPartyId provides a mock function with given fields:

func (*MockMatchmakerEntry) GetPresence added in v1.2.9

func (_m *MockMatchmakerEntry) GetPresence() runtime.Presence

GetPresence provides a mock function with given fields:

func (*MockMatchmakerEntry) GetProperties added in v1.2.9

func (_m *MockMatchmakerEntry) GetProperties() map[string]interface{}

GetProperties provides a mock function with given fields:

func (*MockMatchmakerEntry) GetTicket added in v1.2.9

func (_m *MockMatchmakerEntry) GetTicket() string

GetTicket provides a mock function with given fields:

type MockNakamaModule added in v1.2.9

type MockNakamaModule struct {
	mock.Mock
}

MockNakamaModule is an autogenerated mock type for the NakamaModule type

func NewMockNakamaModule added in v1.2.9

func NewMockNakamaModule(t mockConstructorTestingTNewMockNakamaModule) *MockNakamaModule

NewMockNakamaModule creates a new instance of MockNakamaModule. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockNakamaModule) AccountDeleteId added in v1.2.9

func (_m *MockNakamaModule) AccountDeleteId(ctx context.Context, userID string, recorded bool) error

AccountDeleteId provides a mock function with given fields: ctx, userID, recorded

func (*MockNakamaModule) AccountExportId added in v1.2.9

func (_m *MockNakamaModule) AccountExportId(ctx context.Context, userID string) (string, error)

AccountExportId provides a mock function with given fields: ctx, userID

func (*MockNakamaModule) AccountGetId added in v1.2.9

func (_m *MockNakamaModule) AccountGetId(ctx context.Context, userID string) (*api.Account, error)

AccountGetId provides a mock function with given fields: ctx, userID

func (*MockNakamaModule) AccountUpdateId added in v1.2.9

func (_m *MockNakamaModule) AccountUpdateId(ctx context.Context, userID string, username string, metadata map[string]interface{}, displayName string, timezone string, location string, langTag string, avatarUrl string) error

AccountUpdateId provides a mock function with given fields: ctx, userID, username, metadata, displayName, timezone, location, langTag, avatarUrl

func (*MockNakamaModule) AccountsGetId added in v1.2.9

func (_m *MockNakamaModule) AccountsGetId(ctx context.Context, userIDs []string) ([]*api.Account, error)

AccountsGetId provides a mock function with given fields: ctx, userIDs

func (*MockNakamaModule) AuthenticateApple added in v1.2.9

func (_m *MockNakamaModule) AuthenticateApple(ctx context.Context, token string, username string, create bool) (string, string, bool, error)

AuthenticateApple provides a mock function with given fields: ctx, token, username, create

func (*MockNakamaModule) AuthenticateCustom added in v1.2.9

func (_m *MockNakamaModule) AuthenticateCustom(ctx context.Context, id string, username string, create bool) (string, string, bool, error)

AuthenticateCustom provides a mock function with given fields: ctx, id, username, create

func (*MockNakamaModule) AuthenticateDevice added in v1.2.9

func (_m *MockNakamaModule) AuthenticateDevice(ctx context.Context, id string, username string, create bool) (string, string, bool, error)

AuthenticateDevice provides a mock function with given fields: ctx, id, username, create

func (*MockNakamaModule) AuthenticateEmail added in v1.2.9

func (_m *MockNakamaModule) AuthenticateEmail(ctx context.Context, email string, password string, username string, create bool) (string, string, bool, error)

AuthenticateEmail provides a mock function with given fields: ctx, email, password, username, create

func (*MockNakamaModule) AuthenticateFacebook added in v1.2.9

func (_m *MockNakamaModule) AuthenticateFacebook(ctx context.Context, token string, importFriends bool, username string, create bool) (string, string, bool, error)

AuthenticateFacebook provides a mock function with given fields: ctx, token, importFriends, username, create

func (*MockNakamaModule) AuthenticateFacebookInstantGame added in v1.2.9

func (_m *MockNakamaModule) AuthenticateFacebookInstantGame(ctx context.Context, signedPlayerInfo string, username string, create bool) (string, string, bool, error)

AuthenticateFacebookInstantGame provides a mock function with given fields: ctx, signedPlayerInfo, username, create

func (*MockNakamaModule) AuthenticateGameCenter added in v1.2.9

func (_m *MockNakamaModule) AuthenticateGameCenter(ctx context.Context, playerID string, bundleID string, timestamp int64, salt string, signature string, publicKeyUrl string, username string, create bool) (string, string, bool, error)

AuthenticateGameCenter provides a mock function with given fields: ctx, playerID, bundleID, timestamp, salt, signature, publicKeyUrl, username, create

func (*MockNakamaModule) AuthenticateGoogle added in v1.2.9

func (_m *MockNakamaModule) AuthenticateGoogle(ctx context.Context, token string, username string, create bool) (string, string, bool, error)

AuthenticateGoogle provides a mock function with given fields: ctx, token, username, create

func (*MockNakamaModule) AuthenticateSteam added in v1.2.9

func (_m *MockNakamaModule) AuthenticateSteam(ctx context.Context, token string, username string, create bool) (string, string, bool, error)

AuthenticateSteam provides a mock function with given fields: ctx, token, username, create

func (*MockNakamaModule) AuthenticateTokenGenerate added in v1.2.9

func (_m *MockNakamaModule) AuthenticateTokenGenerate(userID string, username string, exp int64, vars map[string]string) (string, int64, error)

AuthenticateTokenGenerate provides a mock function with given fields: userID, username, exp, vars

func (*MockNakamaModule) ChannelIdBuild added in v1.2.9

func (_m *MockNakamaModule) ChannelIdBuild(ctx context.Context, sender string, target string, chanType runtime.ChannelType) (string, error)

ChannelIdBuild provides a mock function with given fields: ctx, sender, target, chanType

func (*MockNakamaModule) ChannelMessageRemove added in v1.2.9

func (_m *MockNakamaModule) ChannelMessageRemove(ctx context.Context, channelId string, messageId string, senderId string, senderUsername string, persist bool) (*rtapi.ChannelMessageAck, error)

ChannelMessageRemove provides a mock function with given fields: ctx, channelId, messageId, senderId, senderUsername, persist

func (*MockNakamaModule) ChannelMessageSend added in v1.2.9

func (_m *MockNakamaModule) ChannelMessageSend(ctx context.Context, channelID string, content map[string]interface{}, senderId string, senderUsername string, persist bool) (*rtapi.ChannelMessageAck, error)

ChannelMessageSend provides a mock function with given fields: ctx, channelID, content, senderId, senderUsername, persist

func (*MockNakamaModule) ChannelMessageUpdate added in v1.2.9

func (_m *MockNakamaModule) ChannelMessageUpdate(ctx context.Context, channelID string, messageID string, content map[string]interface{}, senderId string, senderUsername string, persist bool) (*rtapi.ChannelMessageAck, error)

ChannelMessageUpdate provides a mock function with given fields: ctx, channelID, messageID, content, senderId, senderUsername, persist

func (*MockNakamaModule) ChannelMessagesList added in v1.2.9

func (_m *MockNakamaModule) ChannelMessagesList(ctx context.Context, channelId string, limit int, forward bool, cursor string) ([]*api.ChannelMessage, string, string, error)

ChannelMessagesList provides a mock function with given fields: ctx, channelId, limit, forward, cursor

func (*MockNakamaModule) CronNext added in v1.2.9

func (_m *MockNakamaModule) CronNext(expression string, timestamp int64) (int64, error)

CronNext provides a mock function with given fields: expression, timestamp

func (*MockNakamaModule) CronPrev added in v1.2.9

func (_m *MockNakamaModule) CronPrev(expression string, timestamp int64) (int64, error)

CronPrev provides a mock function with given fields: expression, timestamp

func (*MockNakamaModule) Event added in v1.2.9

func (_m *MockNakamaModule) Event(ctx context.Context, evt *api.Event) error

Event provides a mock function with given fields: ctx, evt

func (*MockNakamaModule) FriendsAdd added in v1.2.9

func (_m *MockNakamaModule) FriendsAdd(ctx context.Context, userID string, username string, ids []string, usernames []string) error

FriendsAdd provides a mock function with given fields: ctx, userID, username, ids, usernames

func (*MockNakamaModule) FriendsBlock added in v1.2.9

func (_m *MockNakamaModule) FriendsBlock(ctx context.Context, userID string, username string, ids []string, usernames []string) error

FriendsBlock provides a mock function with given fields: ctx, userID, username, ids, usernames

func (*MockNakamaModule) FriendsDelete added in v1.2.9

func (_m *MockNakamaModule) FriendsDelete(ctx context.Context, userID string, username string, ids []string, usernames []string) error

FriendsDelete provides a mock function with given fields: ctx, userID, username, ids, usernames

func (*MockNakamaModule) FriendsList added in v1.2.9

func (_m *MockNakamaModule) FriendsList(ctx context.Context, userID string, limit int, state *int, cursor string) ([]*api.Friend, string, error)

FriendsList provides a mock function with given fields: ctx, userID, limit, state, cursor

func (*MockNakamaModule) FriendsOfFriendsList added in v1.2.9

func (_m *MockNakamaModule) FriendsOfFriendsList(ctx context.Context, userID string, limit int, cursor string) ([]*api.FriendsOfFriendsList_FriendOfFriend, string, error)

FriendsOfFriendsList provides a mock function with given fields: ctx, userID, limit, cursor

func (*MockNakamaModule) GetFleetManager added in v1.2.9

func (_m *MockNakamaModule) GetFleetManager() runtime.FleetManager

GetFleetManager provides a mock function with given fields:

func (*MockNakamaModule) GetSatori added in v1.2.9

func (_m *MockNakamaModule) GetSatori() runtime.Satori

GetSatori provides a mock function with given fields:

func (*MockNakamaModule) GroupCreate added in v1.2.9

func (_m *MockNakamaModule) GroupCreate(ctx context.Context, userID string, name string, creatorID string, langTag string, description string, avatarUrl string, open bool, metadata map[string]interface{}, maxCount int) (*api.Group, error)

GroupCreate provides a mock function with given fields: ctx, userID, name, creatorID, langTag, description, avatarUrl, open, metadata, maxCount

func (*MockNakamaModule) GroupDelete added in v1.2.9

func (_m *MockNakamaModule) GroupDelete(ctx context.Context, id string) error

GroupDelete provides a mock function with given fields: ctx, id

func (*MockNakamaModule) GroupUpdate added in v1.2.9

func (_m *MockNakamaModule) GroupUpdate(ctx context.Context, id string, userID string, name string, creatorID string, langTag string, description string, avatarUrl string, open bool, metadata map[string]interface{}, maxCount int) error

GroupUpdate provides a mock function with given fields: ctx, id, userID, name, creatorID, langTag, description, avatarUrl, open, metadata, maxCount

func (*MockNakamaModule) GroupUserJoin added in v1.2.9

func (_m *MockNakamaModule) GroupUserJoin(ctx context.Context, groupID string, userID string, username string) error

GroupUserJoin provides a mock function with given fields: ctx, groupID, userID, username

func (*MockNakamaModule) GroupUserLeave added in v1.2.9

func (_m *MockNakamaModule) GroupUserLeave(ctx context.Context, groupID string, userID string, username string) error

GroupUserLeave provides a mock function with given fields: ctx, groupID, userID, username

func (*MockNakamaModule) GroupUsersAdd added in v1.2.9

func (_m *MockNakamaModule) GroupUsersAdd(ctx context.Context, callerID string, groupID string, userIDs []string) error

GroupUsersAdd provides a mock function with given fields: ctx, callerID, groupID, userIDs

func (*MockNakamaModule) GroupUsersBan added in v1.2.9

func (_m *MockNakamaModule) GroupUsersBan(ctx context.Context, callerID string, groupID string, userIDs []string) error

GroupUsersBan provides a mock function with given fields: ctx, callerID, groupID, userIDs

func (*MockNakamaModule) GroupUsersDemote added in v1.2.9

func (_m *MockNakamaModule) GroupUsersDemote(ctx context.Context, callerID string, groupID string, userIDs []string) error

GroupUsersDemote provides a mock function with given fields: ctx, callerID, groupID, userIDs

func (*MockNakamaModule) GroupUsersKick added in v1.2.9

func (_m *MockNakamaModule) GroupUsersKick(ctx context.Context, callerID string, groupID string, userIDs []string) error

GroupUsersKick provides a mock function with given fields: ctx, callerID, groupID, userIDs

func (*MockNakamaModule) GroupUsersList added in v1.2.9

func (_m *MockNakamaModule) GroupUsersList(ctx context.Context, id string, limit int, state *int, cursor string) ([]*api.GroupUserList_GroupUser, string, error)

GroupUsersList provides a mock function with given fields: ctx, id, limit, state, cursor

func (*MockNakamaModule) GroupUsersPromote added in v1.2.9

func (_m *MockNakamaModule) GroupUsersPromote(ctx context.Context, callerID string, groupID string, userIDs []string) error

GroupUsersPromote provides a mock function with given fields: ctx, callerID, groupID, userIDs

func (*MockNakamaModule) GroupsGetId added in v1.2.9

func (_m *MockNakamaModule) GroupsGetId(ctx context.Context, groupIDs []string) ([]*api.Group, error)

GroupsGetId provides a mock function with given fields: ctx, groupIDs

func (*MockNakamaModule) GroupsGetRandom added in v1.2.9

func (_m *MockNakamaModule) GroupsGetRandom(ctx context.Context, count int) ([]*api.Group, error)

GroupsGetRandom provides a mock function with given fields: ctx, count

func (*MockNakamaModule) GroupsList added in v1.2.9

func (_m *MockNakamaModule) GroupsList(ctx context.Context, name string, langTag string, members *int, open *bool, limit int, cursor string) ([]*api.Group, string, error)

GroupsList provides a mock function with given fields: ctx, name, langTag, members, open, limit, cursor

func (*MockNakamaModule) LeaderboardCreate added in v1.2.9

func (_m *MockNakamaModule) LeaderboardCreate(ctx context.Context, id string, authoritative bool, sortOrder string, operator string, resetSchedule string, metadata map[string]interface{}) error

LeaderboardCreate provides a mock function with given fields: ctx, id, authoritative, sortOrder, operator, resetSchedule, metadata

func (*MockNakamaModule) LeaderboardDelete added in v1.2.9

func (_m *MockNakamaModule) LeaderboardDelete(ctx context.Context, id string) error

LeaderboardDelete provides a mock function with given fields: ctx, id

func (*MockNakamaModule) LeaderboardList added in v1.2.9

func (_m *MockNakamaModule) LeaderboardList(limit int, cursor string) (*api.LeaderboardList, error)

LeaderboardList provides a mock function with given fields: limit, cursor

func (*MockNakamaModule) LeaderboardRecordDelete added in v1.2.9

func (_m *MockNakamaModule) LeaderboardRecordDelete(ctx context.Context, id string, ownerID string) error

LeaderboardRecordDelete provides a mock function with given fields: ctx, id, ownerID

func (*MockNakamaModule) LeaderboardRecordWrite added in v1.2.9

func (_m *MockNakamaModule) LeaderboardRecordWrite(ctx context.Context, id string, ownerID string, username string, score int64, subscore int64, metadata map[string]interface{}, overrideOperator *int) (*api.LeaderboardRecord, error)

LeaderboardRecordWrite provides a mock function with given fields: ctx, id, ownerID, username, score, subscore, metadata, overrideOperator

func (*MockNakamaModule) LeaderboardRecordsHaystack added in v1.2.9

func (_m *MockNakamaModule) LeaderboardRecordsHaystack(ctx context.Context, id string, ownerID string, limit int, cursor string, expiry int64) (*api.LeaderboardRecordList, error)

LeaderboardRecordsHaystack provides a mock function with given fields: ctx, id, ownerID, limit, cursor, expiry

func (*MockNakamaModule) LeaderboardRecordsList added in v1.2.9

func (_m *MockNakamaModule) LeaderboardRecordsList(ctx context.Context, id string, ownerIDs []string, limit int, cursor string, expiry int64) ([]*api.LeaderboardRecord, []*api.LeaderboardRecord, string, string, error)

LeaderboardRecordsList provides a mock function with given fields: ctx, id, ownerIDs, limit, cursor, expiry

func (*MockNakamaModule) LeaderboardRecordsListCursorFromRank added in v1.2.9

func (_m *MockNakamaModule) LeaderboardRecordsListCursorFromRank(id string, rank int64, overrideExpiry int64) (string, error)

LeaderboardRecordsListCursorFromRank provides a mock function with given fields: id, rank, overrideExpiry

func (*MockNakamaModule) LeaderboardsGetId added in v1.2.9

func (_m *MockNakamaModule) LeaderboardsGetId(ctx context.Context, ids []string) ([]*api.Leaderboard, error)

LeaderboardsGetId provides a mock function with given fields: ctx, ids

func (*MockNakamaModule) LinkApple added in v1.2.9

func (_m *MockNakamaModule) LinkApple(ctx context.Context, userID string, token string) error

LinkApple provides a mock function with given fields: ctx, userID, token

func (*MockNakamaModule) LinkCustom added in v1.2.9

func (_m *MockNakamaModule) LinkCustom(ctx context.Context, userID string, customID string) error

LinkCustom provides a mock function with given fields: ctx, userID, customID

func (*MockNakamaModule) LinkDevice added in v1.2.9

func (_m *MockNakamaModule) LinkDevice(ctx context.Context, userID string, deviceID string) error

LinkDevice provides a mock function with given fields: ctx, userID, deviceID

func (*MockNakamaModule) LinkEmail added in v1.2.9

func (_m *MockNakamaModule) LinkEmail(ctx context.Context, userID string, email string, password string) error

LinkEmail provides a mock function with given fields: ctx, userID, email, password

func (*MockNakamaModule) LinkFacebook added in v1.2.9

func (_m *MockNakamaModule) LinkFacebook(ctx context.Context, userID string, username string, token string, importFriends bool) error

LinkFacebook provides a mock function with given fields: ctx, userID, username, token, importFriends

func (*MockNakamaModule) LinkFacebookInstantGame added in v1.2.9

func (_m *MockNakamaModule) LinkFacebookInstantGame(ctx context.Context, userID string, signedPlayerInfo string) error

LinkFacebookInstantGame provides a mock function with given fields: ctx, userID, signedPlayerInfo

func (*MockNakamaModule) LinkGameCenter added in v1.2.9

func (_m *MockNakamaModule) LinkGameCenter(ctx context.Context, userID string, playerID string, bundleID string, timestamp int64, salt string, signature string, publicKeyUrl string) error

LinkGameCenter provides a mock function with given fields: ctx, userID, playerID, bundleID, timestamp, salt, signature, publicKeyUrl

func (*MockNakamaModule) LinkGoogle added in v1.2.9

func (_m *MockNakamaModule) LinkGoogle(ctx context.Context, userID string, token string) error

LinkGoogle provides a mock function with given fields: ctx, userID, token

func (*MockNakamaModule) LinkSteam added in v1.2.9

func (_m *MockNakamaModule) LinkSteam(ctx context.Context, userID string, username string, token string, importFriends bool) error

LinkSteam provides a mock function with given fields: ctx, userID, username, token, importFriends

func (*MockNakamaModule) MatchCreate added in v1.2.9

func (_m *MockNakamaModule) MatchCreate(ctx context.Context, module string, params map[string]interface{}) (string, error)

MatchCreate provides a mock function with given fields: ctx, module, params

func (*MockNakamaModule) MatchGet added in v1.2.9

func (_m *MockNakamaModule) MatchGet(ctx context.Context, id string) (*api.Match, error)

MatchGet provides a mock function with given fields: ctx, id

func (*MockNakamaModule) MatchList added in v1.2.9

func (_m *MockNakamaModule) MatchList(ctx context.Context, limit int, authoritative bool, label string, minSize *int, maxSize *int, query string) ([]*api.Match, error)

MatchList provides a mock function with given fields: ctx, limit, authoritative, label, minSize, maxSize, query

func (*MockNakamaModule) MatchSignal added in v1.2.9

func (_m *MockNakamaModule) MatchSignal(ctx context.Context, id string, data string) (string, error)

MatchSignal provides a mock function with given fields: ctx, id, data

func (*MockNakamaModule) MetricsCounterAdd added in v1.2.9

func (_m *MockNakamaModule) MetricsCounterAdd(name string, tags map[string]string, delta int64)

MetricsCounterAdd provides a mock function with given fields: name, tags, delta

func (*MockNakamaModule) MetricsGaugeSet added in v1.2.9

func (_m *MockNakamaModule) MetricsGaugeSet(name string, tags map[string]string, value float64)

MetricsGaugeSet provides a mock function with given fields: name, tags, value

func (*MockNakamaModule) MetricsTimerRecord added in v1.2.9

func (_m *MockNakamaModule) MetricsTimerRecord(name string, tags map[string]string, value time.Duration)

MetricsTimerRecord provides a mock function with given fields: name, tags, value

func (*MockNakamaModule) MultiUpdate added in v1.2.9

func (_m *MockNakamaModule) MultiUpdate(ctx context.Context, accountUpdates []*runtime.AccountUpdate, storageWrites []*runtime.StorageWrite, storageDeletes []*runtime.StorageDelete, walletUpdates []*runtime.WalletUpdate, updateLedger bool) ([]*api.StorageObjectAck, []*runtime.WalletUpdateResult, error)

MultiUpdate provides a mock function with given fields: ctx, accountUpdates, storageWrites, storageDeletes, walletUpdates, updateLedger

func (*MockNakamaModule) NotificationSend added in v1.2.9

func (_m *MockNakamaModule) NotificationSend(ctx context.Context, userID string, subject string, content map[string]interface{}, code int, sender string, persistent bool) error

NotificationSend provides a mock function with given fields: ctx, userID, subject, content, code, sender, persistent

func (*MockNakamaModule) NotificationSendAll added in v1.2.9

func (_m *MockNakamaModule) NotificationSendAll(ctx context.Context, subject string, content map[string]interface{}, code int, persistent bool) error

NotificationSendAll provides a mock function with given fields: ctx, subject, content, code, persistent

func (*MockNakamaModule) NotificationsDelete added in v1.2.9

func (_m *MockNakamaModule) NotificationsDelete(ctx context.Context, notifications []*runtime.NotificationDelete) error

NotificationsDelete provides a mock function with given fields: ctx, notifications

func (*MockNakamaModule) NotificationsSend added in v1.2.9

func (_m *MockNakamaModule) NotificationsSend(ctx context.Context, notifications []*runtime.NotificationSend) error

NotificationsSend provides a mock function with given fields: ctx, notifications

func (*MockNakamaModule) PurchaseGetByTransactionId added in v1.2.9

func (_m *MockNakamaModule) PurchaseGetByTransactionId(ctx context.Context, transactionID string) (*api.ValidatedPurchase, error)

PurchaseGetByTransactionId provides a mock function with given fields: ctx, transactionID

func (*MockNakamaModule) PurchaseValidateApple added in v1.2.9

func (_m *MockNakamaModule) PurchaseValidateApple(ctx context.Context, userID string, receipt string, persist bool, passwordOverride ...string) (*api.ValidatePurchaseResponse, error)

PurchaseValidateApple provides a mock function with given fields: ctx, userID, receipt, persist, passwordOverride

func (*MockNakamaModule) PurchaseValidateFacebookInstant added in v1.2.9

func (_m *MockNakamaModule) PurchaseValidateFacebookInstant(ctx context.Context, userID string, signedRequest string, persist bool) (*api.ValidatePurchaseResponse, error)

PurchaseValidateFacebookInstant provides a mock function with given fields: ctx, userID, signedRequest, persist

func (*MockNakamaModule) PurchaseValidateGoogle added in v1.2.9

func (_m *MockNakamaModule) PurchaseValidateGoogle(ctx context.Context, userID string, receipt string, persist bool, overrides ...struct {
	ClientEmail string
	PrivateKey  string
}) (*api.ValidatePurchaseResponse, error)

PurchaseValidateGoogle provides a mock function with given fields: ctx, userID, receipt, persist, overrides

func (*MockNakamaModule) PurchaseValidateHuawei added in v1.2.9

func (_m *MockNakamaModule) PurchaseValidateHuawei(ctx context.Context, userID string, signature string, inAppPurchaseData string, persist bool) (*api.ValidatePurchaseResponse, error)

PurchaseValidateHuawei provides a mock function with given fields: ctx, userID, signature, inAppPurchaseData, persist

func (*MockNakamaModule) PurchasesList added in v1.2.9

func (_m *MockNakamaModule) PurchasesList(ctx context.Context, userID string, limit int, cursor string) (*api.PurchaseList, error)

PurchasesList provides a mock function with given fields: ctx, userID, limit, cursor

func (*MockNakamaModule) ReadFile added in v1.2.9

func (_m *MockNakamaModule) ReadFile(path string) (*os.File, error)

ReadFile provides a mock function with given fields: path

func (*MockNakamaModule) SessionDisconnect added in v1.2.9

func (_m *MockNakamaModule) SessionDisconnect(ctx context.Context, sessionID string, reason ...runtime.PresenceReason) error

SessionDisconnect provides a mock function with given fields: ctx, sessionID, reason

func (*MockNakamaModule) SessionLogout added in v1.2.9

func (_m *MockNakamaModule) SessionLogout(userID string, token string, refreshToken string) error

SessionLogout provides a mock function with given fields: userID, token, refreshToken

func (*MockNakamaModule) StorageDelete added in v1.2.9

func (_m *MockNakamaModule) StorageDelete(ctx context.Context, deletes []*runtime.StorageDelete) error

StorageDelete provides a mock function with given fields: ctx, deletes

func (*MockNakamaModule) StorageIndexList added in v1.2.9

func (_m *MockNakamaModule) StorageIndexList(ctx context.Context, callerID string, indexName string, query string, limit int, order []string) (*api.StorageObjects, error)

StorageIndexList provides a mock function with given fields: ctx, callerID, indexName, query, limit, order

func (*MockNakamaModule) StorageList added in v1.2.9

func (_m *MockNakamaModule) StorageList(ctx context.Context, callerID string, userID string, collection string, limit int, cursor string) ([]*api.StorageObject, string, error)

StorageList provides a mock function with given fields: ctx, callerID, userID, collection, limit, cursor

func (*MockNakamaModule) StorageRead added in v1.2.9

func (_m *MockNakamaModule) StorageRead(ctx context.Context, reads []*runtime.StorageRead) ([]*api.StorageObject, error)

StorageRead provides a mock function with given fields: ctx, reads

func (*MockNakamaModule) StorageWrite added in v1.2.9

func (_m *MockNakamaModule) StorageWrite(ctx context.Context, writes []*runtime.StorageWrite) ([]*api.StorageObjectAck, error)

StorageWrite provides a mock function with given fields: ctx, writes

func (*MockNakamaModule) StreamClose added in v1.2.9

func (_m *MockNakamaModule) StreamClose(mode uint8, subject string, subcontext string, label string) error

StreamClose provides a mock function with given fields: mode, subject, subcontext, label

func (*MockNakamaModule) StreamCount added in v1.2.9

func (_m *MockNakamaModule) StreamCount(mode uint8, subject string, subcontext string, label string) (int, error)

StreamCount provides a mock function with given fields: mode, subject, subcontext, label

func (*MockNakamaModule) StreamSend added in v1.2.9

func (_m *MockNakamaModule) StreamSend(mode uint8, subject string, subcontext string, label string, data string, presences []runtime.Presence, reliable bool) error

StreamSend provides a mock function with given fields: mode, subject, subcontext, label, data, presences, reliable

func (*MockNakamaModule) StreamSendRaw added in v1.2.9

func (_m *MockNakamaModule) StreamSendRaw(mode uint8, subject string, subcontext string, label string, msg *rtapi.Envelope, presences []runtime.Presence, reliable bool) error

StreamSendRaw provides a mock function with given fields: mode, subject, subcontext, label, msg, presences, reliable

func (*MockNakamaModule) StreamUserGet added in v1.2.9

func (_m *MockNakamaModule) StreamUserGet(mode uint8, subject string, subcontext string, label string, userID string, sessionID string) (runtime.PresenceMeta, error)

StreamUserGet provides a mock function with given fields: mode, subject, subcontext, label, userID, sessionID

func (*MockNakamaModule) StreamUserJoin added in v1.2.9

func (_m *MockNakamaModule) StreamUserJoin(mode uint8, subject string, subcontext string, label string, userID string, sessionID string, hidden bool, persistence bool, status string) (bool, error)

StreamUserJoin provides a mock function with given fields: mode, subject, subcontext, label, userID, sessionID, hidden, persistence, status

func (*MockNakamaModule) StreamUserKick added in v1.2.9

func (_m *MockNakamaModule) StreamUserKick(mode uint8, subject string, subcontext string, label string, presence runtime.Presence) error

StreamUserKick provides a mock function with given fields: mode, subject, subcontext, label, presence

func (*MockNakamaModule) StreamUserLeave added in v1.2.9

func (_m *MockNakamaModule) StreamUserLeave(mode uint8, subject string, subcontext string, label string, userID string, sessionID string) error

StreamUserLeave provides a mock function with given fields: mode, subject, subcontext, label, userID, sessionID

func (*MockNakamaModule) StreamUserList added in v1.2.9

func (_m *MockNakamaModule) StreamUserList(mode uint8, subject string, subcontext string, label string, includeHidden bool, includeNotHidden bool) ([]runtime.Presence, error)

StreamUserList provides a mock function with given fields: mode, subject, subcontext, label, includeHidden, includeNotHidden

func (*MockNakamaModule) StreamUserUpdate added in v1.2.9

func (_m *MockNakamaModule) StreamUserUpdate(mode uint8, subject string, subcontext string, label string, userID string, sessionID string, hidden bool, persistence bool, status string) error

StreamUserUpdate provides a mock function with given fields: mode, subject, subcontext, label, userID, sessionID, hidden, persistence, status

func (*MockNakamaModule) SubscriptionGetByProductId added in v1.2.9

func (_m *MockNakamaModule) SubscriptionGetByProductId(ctx context.Context, userID string, productID string) (*api.ValidatedSubscription, error)

SubscriptionGetByProductId provides a mock function with given fields: ctx, userID, productID

func (*MockNakamaModule) SubscriptionValidateApple added in v1.2.9

func (_m *MockNakamaModule) SubscriptionValidateApple(ctx context.Context, userID string, receipt string, persist bool, passwordOverride ...string) (*api.ValidateSubscriptionResponse, error)

SubscriptionValidateApple provides a mock function with given fields: ctx, userID, receipt, persist, passwordOverride

func (*MockNakamaModule) SubscriptionValidateGoogle added in v1.2.9

func (_m *MockNakamaModule) SubscriptionValidateGoogle(ctx context.Context, userID string, receipt string, persist bool, overrides ...struct {
	ClientEmail string
	PrivateKey  string
}) (*api.ValidateSubscriptionResponse, error)

SubscriptionValidateGoogle provides a mock function with given fields: ctx, userID, receipt, persist, overrides

func (*MockNakamaModule) SubscriptionsList added in v1.2.9

func (_m *MockNakamaModule) SubscriptionsList(ctx context.Context, userID string, limit int, cursor string) (*api.SubscriptionList, error)

SubscriptionsList provides a mock function with given fields: ctx, userID, limit, cursor

func (*MockNakamaModule) TournamentAddAttempt added in v1.2.9

func (_m *MockNakamaModule) TournamentAddAttempt(ctx context.Context, id string, ownerID string, count int) error

TournamentAddAttempt provides a mock function with given fields: ctx, id, ownerID, count

func (*MockNakamaModule) TournamentCreate added in v1.2.9

func (_m *MockNakamaModule) TournamentCreate(ctx context.Context, id string, authoritative bool, sortOrder string, operator string, resetSchedule string, metadata map[string]interface{}, title string, description string, category int, startTime int, endTime int, duration int, maxSize int, maxNumScore int, joinRequired bool) error

TournamentCreate provides a mock function with given fields: ctx, id, authoritative, sortOrder, operator, resetSchedule, metadata, title, description, category, startTime, endTime, duration, maxSize, maxNumScore, joinRequired

func (*MockNakamaModule) TournamentDelete added in v1.2.9

func (_m *MockNakamaModule) TournamentDelete(ctx context.Context, id string) error

TournamentDelete provides a mock function with given fields: ctx, id

func (*MockNakamaModule) TournamentJoin added in v1.2.9

func (_m *MockNakamaModule) TournamentJoin(ctx context.Context, id string, ownerID string, username string) error

TournamentJoin provides a mock function with given fields: ctx, id, ownerID, username

func (*MockNakamaModule) TournamentList added in v1.2.9

func (_m *MockNakamaModule) TournamentList(ctx context.Context, categoryStart int, categoryEnd int, startTime int, endTime int, limit int, cursor string) (*api.TournamentList, error)

TournamentList provides a mock function with given fields: ctx, categoryStart, categoryEnd, startTime, endTime, limit, cursor

func (*MockNakamaModule) TournamentRecordDelete added in v1.2.9

func (_m *MockNakamaModule) TournamentRecordDelete(ctx context.Context, id string, ownerID string) error

TournamentRecordDelete provides a mock function with given fields: ctx, id, ownerID

func (*MockNakamaModule) TournamentRecordWrite added in v1.2.9

func (_m *MockNakamaModule) TournamentRecordWrite(ctx context.Context, id string, ownerID string, username string, score int64, subscore int64, metadata map[string]interface{}, operatorOverride *int) (*api.LeaderboardRecord, error)

TournamentRecordWrite provides a mock function with given fields: ctx, id, ownerID, username, score, subscore, metadata, operatorOverride

func (*MockNakamaModule) TournamentRecordsHaystack added in v1.2.9

func (_m *MockNakamaModule) TournamentRecordsHaystack(ctx context.Context, id string, ownerID string, limit int, cursor string, expiry int64) (*api.TournamentRecordList, error)

TournamentRecordsHaystack provides a mock function with given fields: ctx, id, ownerID, limit, cursor, expiry

func (*MockNakamaModule) TournamentRecordsList added in v1.2.9

func (_m *MockNakamaModule) TournamentRecordsList(ctx context.Context, tournamentId string, ownerIDs []string, limit int, cursor string, overrideExpiry int64) ([]*api.LeaderboardRecord, []*api.LeaderboardRecord, string, string, error)

TournamentRecordsList provides a mock function with given fields: ctx, tournamentId, ownerIDs, limit, cursor, overrideExpiry

func (*MockNakamaModule) TournamentsGetId added in v1.2.9

func (_m *MockNakamaModule) TournamentsGetId(ctx context.Context, tournamentIDs []string) ([]*api.Tournament, error)

TournamentsGetId provides a mock function with given fields: ctx, tournamentIDs

func (*MockNakamaModule) UnlinkApple added in v1.2.9

func (_m *MockNakamaModule) UnlinkApple(ctx context.Context, userID string, token string) error

UnlinkApple provides a mock function with given fields: ctx, userID, token

func (*MockNakamaModule) UnlinkCustom added in v1.2.9

func (_m *MockNakamaModule) UnlinkCustom(ctx context.Context, userID string, customID string) error

UnlinkCustom provides a mock function with given fields: ctx, userID, customID

func (*MockNakamaModule) UnlinkDevice added in v1.2.9

func (_m *MockNakamaModule) UnlinkDevice(ctx context.Context, userID string, deviceID string) error

UnlinkDevice provides a mock function with given fields: ctx, userID, deviceID

func (*MockNakamaModule) UnlinkEmail added in v1.2.9

func (_m *MockNakamaModule) UnlinkEmail(ctx context.Context, userID string, email string) error

UnlinkEmail provides a mock function with given fields: ctx, userID, email

func (*MockNakamaModule) UnlinkFacebook added in v1.2.9

func (_m *MockNakamaModule) UnlinkFacebook(ctx context.Context, userID string, token string) error

UnlinkFacebook provides a mock function with given fields: ctx, userID, token

func (*MockNakamaModule) UnlinkFacebookInstantGame added in v1.2.9

func (_m *MockNakamaModule) UnlinkFacebookInstantGame(ctx context.Context, userID string, signedPlayerInfo string) error

UnlinkFacebookInstantGame provides a mock function with given fields: ctx, userID, signedPlayerInfo

func (*MockNakamaModule) UnlinkGameCenter added in v1.2.9

func (_m *MockNakamaModule) UnlinkGameCenter(ctx context.Context, userID string, playerID string, bundleID string, timestamp int64, salt string, signature string, publicKeyUrl string) error

UnlinkGameCenter provides a mock function with given fields: ctx, userID, playerID, bundleID, timestamp, salt, signature, publicKeyUrl

func (*MockNakamaModule) UnlinkGoogle added in v1.2.9

func (_m *MockNakamaModule) UnlinkGoogle(ctx context.Context, userID string, token string) error

UnlinkGoogle provides a mock function with given fields: ctx, userID, token

func (*MockNakamaModule) UnlinkSteam added in v1.2.9

func (_m *MockNakamaModule) UnlinkSteam(ctx context.Context, userID string, token string) error

UnlinkSteam provides a mock function with given fields: ctx, userID, token

func (*MockNakamaModule) UserGroupsList added in v1.2.9

func (_m *MockNakamaModule) UserGroupsList(ctx context.Context, userID string, limit int, state *int, cursor string) ([]*api.UserGroupList_UserGroup, string, error)

UserGroupsList provides a mock function with given fields: ctx, userID, limit, state, cursor

func (*MockNakamaModule) UsersBanId added in v1.2.9

func (_m *MockNakamaModule) UsersBanId(ctx context.Context, userIDs []string) error

UsersBanId provides a mock function with given fields: ctx, userIDs

func (*MockNakamaModule) UsersGetId added in v1.2.9

func (_m *MockNakamaModule) UsersGetId(ctx context.Context, userIDs []string, facebookIDs []string) ([]*api.User, error)

UsersGetId provides a mock function with given fields: ctx, userIDs, facebookIDs

func (*MockNakamaModule) UsersGetRandom added in v1.2.9

func (_m *MockNakamaModule) UsersGetRandom(ctx context.Context, count int) ([]*api.User, error)

UsersGetRandom provides a mock function with given fields: ctx, count

func (*MockNakamaModule) UsersGetUsername added in v1.2.9

func (_m *MockNakamaModule) UsersGetUsername(ctx context.Context, usernames []string) ([]*api.User, error)

UsersGetUsername provides a mock function with given fields: ctx, usernames

func (*MockNakamaModule) UsersUnbanId added in v1.2.9

func (_m *MockNakamaModule) UsersUnbanId(ctx context.Context, userIDs []string) error

UsersUnbanId provides a mock function with given fields: ctx, userIDs

func (*MockNakamaModule) WalletLedgerList added in v1.2.9

func (_m *MockNakamaModule) WalletLedgerList(ctx context.Context, userID string, limit int, cursor string) ([]runtime.WalletLedgerItem, string, error)

WalletLedgerList provides a mock function with given fields: ctx, userID, limit, cursor

func (*MockNakamaModule) WalletLedgerUpdate added in v1.2.9

func (_m *MockNakamaModule) WalletLedgerUpdate(ctx context.Context, itemID string, metadata map[string]interface{}) (runtime.WalletLedgerItem, error)

WalletLedgerUpdate provides a mock function with given fields: ctx, itemID, metadata

func (*MockNakamaModule) WalletUpdate added in v1.2.9

func (_m *MockNakamaModule) WalletUpdate(ctx context.Context, userID string, changeset map[string]int64, metadata map[string]interface{}, updateLedger bool) (map[string]int64, map[string]int64, error)

WalletUpdate provides a mock function with given fields: ctx, userID, changeset, metadata, updateLedger

func (*MockNakamaModule) WalletsUpdate added in v1.2.9

func (_m *MockNakamaModule) WalletsUpdate(ctx context.Context, updates []*runtime.WalletUpdate, updateLedger bool) ([]*runtime.WalletUpdateResult, error)

WalletsUpdate provides a mock function with given fields: ctx, updates, updateLedger

type MockPresence added in v1.2.9

type MockPresence struct {
	mock.Mock
}

MockPresence is an autogenerated mock type for the Presence type

func NewMockPresence added in v1.2.9

func NewMockPresence(t mockConstructorTestingTNewMockPresence) *MockPresence

NewMockPresence creates a new instance of MockPresence. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockPresence) GetHidden added in v1.2.9

func (_m *MockPresence) GetHidden() bool

GetHidden provides a mock function with given fields:

func (*MockPresence) GetNodeId added in v1.2.9

func (_m *MockPresence) GetNodeId() string

GetNodeId provides a mock function with given fields:

func (*MockPresence) GetPersistence added in v1.2.9

func (_m *MockPresence) GetPersistence() bool

GetPersistence provides a mock function with given fields:

func (*MockPresence) GetReason added in v1.2.9

func (_m *MockPresence) GetReason() runtime.PresenceReason

GetReason provides a mock function with given fields:

func (*MockPresence) GetSessionId added in v1.2.9

func (_m *MockPresence) GetSessionId() string

GetSessionId provides a mock function with given fields:

func (*MockPresence) GetStatus added in v1.2.9

func (_m *MockPresence) GetStatus() string

GetStatus provides a mock function with given fields:

func (*MockPresence) GetUserId added in v1.2.9

func (_m *MockPresence) GetUserId() string

GetUserId provides a mock function with given fields:

func (*MockPresence) GetUsername added in v1.2.9

func (_m *MockPresence) GetUsername() string

GetUsername provides a mock function with given fields:

type MockPresenceMeta added in v1.2.9

type MockPresenceMeta struct {
	mock.Mock
}

MockPresenceMeta is an autogenerated mock type for the PresenceMeta type

func NewMockPresenceMeta added in v1.2.9

func NewMockPresenceMeta(t mockConstructorTestingTNewMockPresenceMeta) *MockPresenceMeta

NewMockPresenceMeta creates a new instance of MockPresenceMeta. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockPresenceMeta) GetHidden added in v1.2.9

func (_m *MockPresenceMeta) GetHidden() bool

GetHidden provides a mock function with given fields:

func (*MockPresenceMeta) GetPersistence added in v1.2.9

func (_m *MockPresenceMeta) GetPersistence() bool

GetPersistence provides a mock function with given fields:

func (*MockPresenceMeta) GetReason added in v1.2.9

func (_m *MockPresenceMeta) GetReason() runtime.PresenceReason

GetReason provides a mock function with given fields:

func (*MockPresenceMeta) GetStatus added in v1.2.9

func (_m *MockPresenceMeta) GetStatus() string

GetStatus provides a mock function with given fields:

func (*MockPresenceMeta) GetUsername added in v1.2.9

func (_m *MockPresenceMeta) GetUsername() string

GetUsername provides a mock function with given fields:

type MockSatori added in v1.2.9

type MockSatori struct {
	mock.Mock
}

MockSatori is an autogenerated mock type for the Satori type

func NewMockSatori added in v1.2.9

func NewMockSatori(t mockConstructorTestingTNewMockSatori) *MockSatori

NewMockSatori creates a new instance of MockSatori. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockSatori) Authenticate added in v1.2.9

func (_m *MockSatori) Authenticate(ctx context.Context, id string, ipAddress ...string) error

Authenticate provides a mock function with given fields: ctx, id, ipAddress

func (*MockSatori) EventsPublish added in v1.2.9

func (_m *MockSatori) EventsPublish(ctx context.Context, id string, events []*runtime.Event) error

EventsPublish provides a mock function with given fields: ctx, id, events

func (*MockSatori) ExperimentsList added in v1.2.9

func (_m *MockSatori) ExperimentsList(ctx context.Context, id string, names ...string) (*runtime.ExperimentList, error)

ExperimentsList provides a mock function with given fields: ctx, id, names

func (*MockSatori) FlagsList added in v1.2.9

func (_m *MockSatori) FlagsList(ctx context.Context, id string, names ...string) (*runtime.FlagList, error)

FlagsList provides a mock function with given fields: ctx, id, names

func (*MockSatori) LiveEventsList added in v1.2.9

func (_m *MockSatori) LiveEventsList(ctx context.Context, id string, names ...string) (*runtime.LiveEventList, error)

LiveEventsList provides a mock function with given fields: ctx, id, names

func (*MockSatori) PropertiesGet added in v1.2.9

func (_m *MockSatori) PropertiesGet(ctx context.Context, id string) (*runtime.Properties, error)

PropertiesGet provides a mock function with given fields: ctx, id

func (*MockSatori) PropertiesUpdate added in v1.2.9

func (_m *MockSatori) PropertiesUpdate(ctx context.Context, id string, properties *runtime.PropertiesUpdate) error

PropertiesUpdate provides a mock function with given fields: ctx, id, properties

type MockWalletLedgerItem added in v1.2.9

type MockWalletLedgerItem struct {
	mock.Mock
}

MockWalletLedgerItem is an autogenerated mock type for the WalletLedgerItem type

func NewMockWalletLedgerItem added in v1.2.9

func NewMockWalletLedgerItem(t mockConstructorTestingTNewMockWalletLedgerItem) *MockWalletLedgerItem

NewMockWalletLedgerItem creates a new instance of MockWalletLedgerItem. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockWalletLedgerItem) GetChangeset added in v1.2.9

func (_m *MockWalletLedgerItem) GetChangeset() map[string]int64

GetChangeset provides a mock function with given fields:

func (*MockWalletLedgerItem) GetCreateTime added in v1.2.9

func (_m *MockWalletLedgerItem) GetCreateTime() int64

GetCreateTime provides a mock function with given fields:

func (*MockWalletLedgerItem) GetID added in v1.2.9

func (_m *MockWalletLedgerItem) GetID() string

GetID provides a mock function with given fields:

func (*MockWalletLedgerItem) GetMetadata added in v1.2.9

func (_m *MockWalletLedgerItem) GetMetadata() map[string]interface{}

GetMetadata provides a mock function with given fields:

func (*MockWalletLedgerItem) GetUpdateTime added in v1.2.9

func (_m *MockWalletLedgerItem) GetUpdateTime() int64

GetUpdateTime provides a mock function with given fields:

func (*MockWalletLedgerItem) GetUserID added in v1.2.9

func (_m *MockWalletLedgerItem) GetUserID() string

GetUserID provides a mock function with given fields:

Jump to

Keyboard shortcuts

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