Documentation
¶
Index ¶
- Constants
- func CodeFromError(err error) codes.Code
- func ErrBadRequest(msg string) error
- func LoadJSModules(ctx context.Context, path string, r *goja.Runtime, logger Logger) error
- func LoadLuaModules(ctx context.Context, path string, l *lua.LState, logger Logger) error
- func MapJSNK(r *goja.Runtime, nk RuntimeModule, timeout time.Duration, reg *HookRegistry)
- func MapLuaNK(l *lua.LState, nk RuntimeModule, reg *HookRegistry)
- type Account
- type AccountUpdateParams
- type AddFriendsRequest
- type AddGroupUsersRequest
- type AfterHook
- type AuthenticateAppleRequest
- type AuthenticateCustomRequest
- type AuthenticateDeviceRequest
- type AuthenticateEmailRequest
- type AuthenticateFacebookInstantGameRequest
- type AuthenticateFacebookRequest
- type AuthenticateGameCenterRequest
- type AuthenticateGoogleRequest
- type AuthenticateSteamRequest
- type BanGroupUsersRequest
- type BeforeHook
- type BlockFriendsRequest
- type ChannelMessageAckView
- type ChannelMessageList
- type ChannelMessageView
- type CreateGroupRequest
- type CreateMatchRequest
- type CreatePartyRequest
- type CronClusterLock
- type CronJob
- type CronScheduler
- type DeleteAccountRequest
- type DeleteFriendsRequest
- type DeleteGroupRequest
- type DeleteLeaderboardRecordRequest
- type DeleteNotificationsRequest
- type DeleteStorageObjectsRequest
- type DeleteTournamentRecordRequest
- type DemoteGroupUsersRequest
- type Error
- type Event
- type EventHandler
- type EventRequest
- type FleetManager
- type Friend
- type FriendEdge
- type FriendList
- type FriendOfFriend
- type FriendOfFriendEdge
- type FriendsOfFriendsList
- type GetAccountRequest
- type GetMatchmakerStatsRequest
- type GetSubscriptionRequest
- type GetUsersRequest
- type GetWalletRequest
- type GoRuntimeManager
- type GoRuntimeModule
- type GroupList
- type GroupUser
- type GroupUserList
- type GroupUserView
- type GroupView
- type HookRegistry
- type ImportFacebookFriendsRequest
- type ImportSteamFriendsRequest
- type InitModuleFunc
- type Initializer
- type JoinGroupRequest
- type JoinPartyRequest
- type JoinTournamentRequest
- type KickGroupUsersRequest
- type Leaderboard
- type LeaderboardRecord
- type LeaderboardRecordList
- type LeaderboardResetHandler
- type LeaveGroupRequest
- type LeavePartyRequest
- type LinkAppleRequest
- type LinkCustomRequest
- type LinkDeviceRequest
- type LinkEmailRequest
- type LinkFacebookInstantGameRequest
- type LinkFacebookRequest
- type LinkGameCenterRequest
- type LinkGoogleRequest
- type LinkSteamRequest
- type ListChannelMessagesRequest
- type ListFriendsOfFriendsRequest
- type ListFriendsRequest
- type ListGroupUsersRequest
- type ListGroupsRequest
- type ListLeaderboardRecordsAroundOwnerRequest
- type ListLeaderboardRecordsRequest
- type ListMatchesRequest
- type ListNotificationsRequest
- type ListPartiesRequest
- type ListStorageObjectsRequest
- type ListSubscriptionsRequest
- type ListTournamentRecordsAroundOwnerRequest
- type ListTournamentRecordsRequest
- type ListTournamentsRequest
- type ListUserGroupsRequest
- type ListWalletLedgerRequest
- type Logger
- type Match
- type MatchData
- type MatchHandlerFactory
- type MatchInfo
- type MatchList
- type MatchmakerMatchedHandler
- type MatchmakerOverrideHandler
- type MatchmakerProcessorHandler
- type MatchmakerStatsView
- type NotificationList
- type NotificationSendParams
- type NotificationUpdateParams
- type NotificationView
- type PartyListEntry
- type PartyListView
- type Presence
- type PromoteGroupUsersRequest
- type PurchaseNotificationAppleHandler
- type PurchaseNotificationGoogleHandler
- type RPCHandler
- type ReadStorageObjectsRequest
- type RuntimeHTTPHandler
- type RuntimeModule
- type Session
- type SessionLogoutRequest
- type SessionRefreshRequest
- type ShutdownHandler
- type StorageDelete
- type StorageObject
- type StorageObjectAck
- type StorageObjectAcks
- type StorageObjectList
- type StorageRead
- type StorageWrite
- type SubscriptionList
- type SubscriptionNotificationAppleHandler
- type SubscriptionNotificationGoogleHandler
- type TournamentEndHandler
- type TournamentList
- type TournamentResetHandler
- type TournamentView
- type UnlinkAppleRequest
- type UnlinkCustomRequest
- type UnlinkDeviceRequest
- type UnlinkEmailRequest
- type UnlinkFacebookInstantGameRequest
- type UnlinkFacebookRequest
- type UnlinkGameCenterRequest
- type UnlinkGoogleRequest
- type UnlinkSteamRequest
- type UpdateAccountRequest
- type UpdateGroupRequest
- type UserGroupList
- type UserGroupView
- type UserView
- type UsersList
- type ValidatePurchaseAppleRequest
- type ValidatePurchaseFacebookInstantRequest
- type ValidatePurchaseGoogleRequest
- type ValidatePurchaseHuaweiRequest
- type ValidatePurchaseResponse
- type ValidatePurchaseSamsungRequest
- type ValidateSubscriptionAppleRequest
- type ValidateSubscriptionGoogleRequest
- type ValidateSubscriptionResponse
- type ValidatedPurchaseView
- type ValidatedSubscriptionView
- type WalletLedgerView
- type WalletUpdateParams
- type WalletUpdateResultView
- type WriteLeaderboardRecordRequest
- type WriteStorageObjectsRequest
- type WriteTournamentRecordRequest
Constants ¶
const ( CtxUserID = internalruntime.CtxUserID CtxUsername = internalruntime.CtxUsername CtxVars = internalruntime.CtxVars CtxClientIP = internalruntime.CtxClientIP CtxEnv = internalruntime.CtxEnv CtxQueryParams = internalruntime.CtxQueryParams CtxHeaders = internalruntime.CtxHeaders CtxExecutionMode = internalruntime.CtxExecutionMode // RUNTIME_CTX_USER_ID is a README-compat alias for CtxUserID. RUNTIME_CTX_USER_ID = CtxUserID )
Context keys for RPC / hook execution (string values match reference engine).
Variables ¶
This section is empty.
Functions ¶
func CodeFromError ¶ added in v1.1.2
CodeFromError extracts a gRPC code from err (default Internal).
func ErrBadRequest ¶ added in v1.1.2
ErrBadRequest returns a typed InvalidArgument (3) runtime error.
func LoadJSModules ¶
LoadJSModules loads JavaScript scripts from runtime path.
func LoadLuaModules ¶
LoadLuaModules loads Lua scripts from runtime path.
func MapJSNK ¶
func MapJSNK(r *goja.Runtime, nk RuntimeModule, timeout time.Duration, reg *HookRegistry)
MapJSNK registers JavaScript nk bindings.
func MapLuaNK ¶
func MapLuaNK(l *lua.LState, nk RuntimeModule, reg *HookRegistry)
MapLuaNK registers Lua nk bindings.
Types ¶
type AccountUpdateParams ¶ added in v1.1.2
type AccountUpdateParams = internalruntime.AccountUpdateParams
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AddFriendsRequest ¶ added in v1.1.2
type AddFriendsRequest = internalruntime.AddFriendsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AddGroupUsersRequest ¶ added in v1.1.2
type AddGroupUsersRequest = internalruntime.AddGroupUsersRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AfterHook ¶
type AfterHook = internalruntime.AfterHook
type AuthenticateAppleRequest ¶ added in v1.1.2
type AuthenticateAppleRequest = internalruntime.AuthenticateAppleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AuthenticateCustomRequest ¶ added in v1.1.2
type AuthenticateCustomRequest = internalruntime.AuthenticateCustomRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AuthenticateDeviceRequest ¶ added in v1.1.2
type AuthenticateDeviceRequest = internalruntime.AuthenticateDeviceRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AuthenticateEmailRequest ¶ added in v1.1.2
type AuthenticateEmailRequest = internalruntime.AuthenticateEmailRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AuthenticateFacebookInstantGameRequest ¶ added in v1.1.2
type AuthenticateFacebookInstantGameRequest = internalruntime.AuthenticateFacebookInstantGameRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AuthenticateFacebookRequest ¶ added in v1.1.2
type AuthenticateFacebookRequest = internalruntime.AuthenticateFacebookRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AuthenticateGameCenterRequest ¶ added in v1.1.2
type AuthenticateGameCenterRequest = internalruntime.AuthenticateGameCenterRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AuthenticateGoogleRequest ¶ added in v1.1.2
type AuthenticateGoogleRequest = internalruntime.AuthenticateGoogleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type AuthenticateSteamRequest ¶ added in v1.1.2
type AuthenticateSteamRequest = internalruntime.AuthenticateSteamRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type BanGroupUsersRequest ¶ added in v1.1.2
type BanGroupUsersRequest = internalruntime.BanGroupUsersRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type BeforeHook ¶
type BeforeHook = internalruntime.BeforeHook
type BlockFriendsRequest ¶ added in v1.1.2
type BlockFriendsRequest = internalruntime.BlockFriendsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ChannelMessageAckView ¶ added in v1.1.2
type ChannelMessageAckView = internalruntime.ChannelMessageAckView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ChannelMessageList ¶ added in v1.1.2
type ChannelMessageList = internalruntime.ChannelMessageList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ChannelMessageView ¶ added in v1.1.2
type ChannelMessageView = internalruntime.ChannelMessageView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type CreateGroupRequest ¶ added in v1.1.2
type CreateGroupRequest = internalruntime.CreateGroupRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type CreateMatchRequest ¶ added in v1.1.2
type CreateMatchRequest = internalruntime.CreateMatchRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type CreatePartyRequest ¶ added in v1.1.2
type CreatePartyRequest = internalruntime.CreatePartyRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type CronClusterLock ¶ added in v1.1.2
type CronClusterLock = internalruntime.CronClusterLock
Hook DTOs, handlers, and helpers re-exported for external embedders.
func NewCronClusterLock ¶
func NewCronClusterLock(client *redis.Client, nodeID string) *CronClusterLock
NewCronClusterLock creates a cluster lock backed by Redis.
type CronJob ¶ added in v1.1.2
type CronJob = internalruntime.CronJob
Hook DTOs, handlers, and helpers re-exported for external embedders.
type CronScheduler ¶
type CronScheduler = internalruntime.CronScheduler
CronScheduler manages cron jobs registered in the server runtime.
func NewCronScheduler ¶
func NewCronScheduler(registry *HookRegistry, logger Logger, db *sql.DB, nk RuntimeModule) *CronScheduler
NewCronScheduler constructs a new runtime CronScheduler.
type DeleteAccountRequest ¶ added in v1.1.2
type DeleteAccountRequest = internalruntime.DeleteAccountRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type DeleteFriendsRequest ¶ added in v1.1.2
type DeleteFriendsRequest = internalruntime.DeleteFriendsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type DeleteGroupRequest ¶ added in v1.1.2
type DeleteGroupRequest = internalruntime.DeleteGroupRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type DeleteLeaderboardRecordRequest ¶ added in v1.1.2
type DeleteLeaderboardRecordRequest = internalruntime.DeleteLeaderboardRecordRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type DeleteNotificationsRequest ¶ added in v1.1.2
type DeleteNotificationsRequest = internalruntime.DeleteNotificationsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type DeleteStorageObjectsRequest ¶ added in v1.1.2
type DeleteStorageObjectsRequest = internalruntime.DeleteStorageObjectsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type DeleteTournamentRecordRequest ¶ added in v1.1.2
type DeleteTournamentRecordRequest = internalruntime.DeleteTournamentRecordRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type DemoteGroupUsersRequest ¶ added in v1.1.2
type DemoteGroupUsersRequest = internalruntime.DemoteGroupUsersRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type Error ¶ added in v1.1.2
type Error = internalruntime.Error
Hook DTOs, handlers, and helpers re-exported for external embedders.
type Event ¶ added in v1.1.2
type Event = internalruntime.Event
Hook DTOs, handlers, and helpers re-exported for external embedders.
type EventHandler ¶ added in v1.1.2
type EventHandler = internalruntime.EventHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type EventRequest ¶ added in v1.1.2
type EventRequest = internalruntime.EventRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type FleetManager ¶ added in v1.1.2
type FleetManager = internalruntime.FleetManager
Hook DTOs, handlers, and helpers re-exported for external embedders.
type Friend ¶
type Friend = internalruntime.Friend
type FriendEdge ¶ added in v1.1.2
type FriendEdge = internalruntime.FriendEdge
Hook DTOs, handlers, and helpers re-exported for external embedders.
type FriendList ¶ added in v1.1.2
type FriendList = internalruntime.FriendList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type FriendOfFriend ¶ added in v1.1.2
type FriendOfFriend = internalruntime.FriendOfFriend
Hook DTOs, handlers, and helpers re-exported for external embedders.
type FriendOfFriendEdge ¶ added in v1.1.2
type FriendOfFriendEdge = internalruntime.FriendOfFriendEdge
Hook DTOs, handlers, and helpers re-exported for external embedders.
type FriendsOfFriendsList ¶ added in v1.1.2
type FriendsOfFriendsList = internalruntime.FriendsOfFriendsList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GetAccountRequest ¶ added in v1.1.2
type GetAccountRequest = internalruntime.GetAccountRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GetMatchmakerStatsRequest ¶ added in v1.1.2
type GetMatchmakerStatsRequest = internalruntime.GetMatchmakerStatsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GetSubscriptionRequest ¶ added in v1.1.2
type GetSubscriptionRequest = internalruntime.GetSubscriptionRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GetUsersRequest ¶ added in v1.1.2
type GetUsersRequest = internalruntime.GetUsersRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GetWalletRequest ¶ added in v1.1.2
type GetWalletRequest = internalruntime.GetWalletRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GoRuntimeManager ¶
type GoRuntimeManager = internalruntime.GoRuntimeManager
GoRuntimeManager manages Go runtime plugins and native registrations.
func NewGoRuntimeManager ¶
func NewGoRuntimeManager(logger Logger, db *sql.DB, nk RuntimeModule) *GoRuntimeManager
NewGoRuntimeManager constructs a Go runtime manager.
type GoRuntimeModule ¶ added in v1.1.2
type GoRuntimeModule = internalruntime.GoRuntimeModule
Hook DTOs, handlers, and helpers re-exported for external embedders.
func NewGoRuntimeModule ¶
func NewGoRuntimeModule(dbPool *pgxpool.Pool, logger Logger) *GoRuntimeModule
NewGoRuntimeModule constructs a new GoRuntimeModule instance backed by a DB pool.
type GroupList ¶ added in v1.1.2
type GroupList = internalruntime.GroupList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GroupUser ¶ added in v1.1.2
type GroupUser = internalruntime.GroupUser
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GroupUserList ¶ added in v1.1.2
type GroupUserList = internalruntime.GroupUserList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GroupUserView ¶ added in v1.1.2
type GroupUserView = internalruntime.GroupUserView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type GroupView ¶
type GroupView = internalruntime.GroupView
type HookRegistry ¶
type HookRegistry = internalruntime.HookRegistry
HookRegistry holds all registered RPCs, hooks, and match factories.
type ImportFacebookFriendsRequest ¶ added in v1.1.2
type ImportFacebookFriendsRequest = internalruntime.ImportFacebookFriendsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ImportSteamFriendsRequest ¶ added in v1.1.2
type ImportSteamFriendsRequest = internalruntime.ImportSteamFriendsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type InitModuleFunc ¶
type InitModuleFunc = internalruntime.InitModuleFunc
InitModuleFunc is the entry point function signature for Go game modules.
type Initializer ¶
type Initializer = internalruntime.Initializer
Initializer defines the handler registration interface for Go modules.
type JoinGroupRequest ¶ added in v1.1.2
type JoinGroupRequest = internalruntime.JoinGroupRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type JoinPartyRequest ¶ added in v1.1.2
type JoinPartyRequest = internalruntime.JoinPartyRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type JoinTournamentRequest ¶ added in v1.1.2
type JoinTournamentRequest = internalruntime.JoinTournamentRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type KickGroupUsersRequest ¶ added in v1.1.2
type KickGroupUsersRequest = internalruntime.KickGroupUsersRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type Leaderboard ¶
type Leaderboard = internalruntime.Leaderboard
type LeaderboardRecord ¶
type LeaderboardRecord = internalruntime.LeaderboardRecord
type LeaderboardRecordList ¶ added in v1.1.2
type LeaderboardRecordList = internalruntime.LeaderboardRecordList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LeaderboardResetHandler ¶ added in v1.1.2
type LeaderboardResetHandler = internalruntime.LeaderboardResetHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LeaveGroupRequest ¶ added in v1.1.2
type LeaveGroupRequest = internalruntime.LeaveGroupRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LeavePartyRequest ¶ added in v1.1.2
type LeavePartyRequest = internalruntime.LeavePartyRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LinkAppleRequest ¶ added in v1.1.2
type LinkAppleRequest = internalruntime.LinkAppleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LinkCustomRequest ¶ added in v1.1.2
type LinkCustomRequest = internalruntime.LinkCustomRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LinkDeviceRequest ¶ added in v1.1.2
type LinkDeviceRequest = internalruntime.LinkDeviceRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LinkEmailRequest ¶ added in v1.1.2
type LinkEmailRequest = internalruntime.LinkEmailRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LinkFacebookInstantGameRequest ¶ added in v1.1.2
type LinkFacebookInstantGameRequest = internalruntime.LinkFacebookInstantGameRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LinkFacebookRequest ¶ added in v1.1.2
type LinkFacebookRequest = internalruntime.LinkFacebookRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LinkGameCenterRequest ¶ added in v1.1.2
type LinkGameCenterRequest = internalruntime.LinkGameCenterRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LinkGoogleRequest ¶ added in v1.1.2
type LinkGoogleRequest = internalruntime.LinkGoogleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type LinkSteamRequest ¶ added in v1.1.2
type LinkSteamRequest = internalruntime.LinkSteamRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListChannelMessagesRequest ¶ added in v1.1.2
type ListChannelMessagesRequest = internalruntime.ListChannelMessagesRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListFriendsOfFriendsRequest ¶ added in v1.1.2
type ListFriendsOfFriendsRequest = internalruntime.ListFriendsOfFriendsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListFriendsRequest ¶ added in v1.1.2
type ListFriendsRequest = internalruntime.ListFriendsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListGroupUsersRequest ¶ added in v1.1.2
type ListGroupUsersRequest = internalruntime.ListGroupUsersRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListGroupsRequest ¶ added in v1.1.2
type ListGroupsRequest = internalruntime.ListGroupsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListLeaderboardRecordsAroundOwnerRequest ¶ added in v1.1.2
type ListLeaderboardRecordsAroundOwnerRequest = internalruntime.ListLeaderboardRecordsAroundOwnerRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListLeaderboardRecordsRequest ¶ added in v1.1.2
type ListLeaderboardRecordsRequest = internalruntime.ListLeaderboardRecordsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListMatchesRequest ¶ added in v1.1.2
type ListMatchesRequest = internalruntime.ListMatchesRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListNotificationsRequest ¶ added in v1.1.2
type ListNotificationsRequest = internalruntime.ListNotificationsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListPartiesRequest ¶ added in v1.1.2
type ListPartiesRequest = internalruntime.ListPartiesRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListStorageObjectsRequest ¶ added in v1.1.2
type ListStorageObjectsRequest = internalruntime.ListStorageObjectsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListSubscriptionsRequest ¶ added in v1.1.2
type ListSubscriptionsRequest = internalruntime.ListSubscriptionsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListTournamentRecordsAroundOwnerRequest ¶ added in v1.1.2
type ListTournamentRecordsAroundOwnerRequest = internalruntime.ListTournamentRecordsAroundOwnerRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListTournamentRecordsRequest ¶ added in v1.1.2
type ListTournamentRecordsRequest = internalruntime.ListTournamentRecordsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListTournamentsRequest ¶ added in v1.1.2
type ListTournamentsRequest = internalruntime.ListTournamentsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListUserGroupsRequest ¶ added in v1.1.2
type ListUserGroupsRequest = internalruntime.ListUserGroupsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ListWalletLedgerRequest ¶ added in v1.1.2
type ListWalletLedgerRequest = internalruntime.ListWalletLedgerRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type Match ¶
type Match = internalruntime.Match
Match defines the authoritative multiplayer match interface.
type MatchData ¶
type MatchData = internalruntime.MatchData
MatchData defines match payload messages passed into MatchLoop.
type MatchHandlerFactory ¶ added in v1.1.2
type MatchHandlerFactory = internalruntime.MatchHandlerFactory
Hook DTOs, handlers, and helpers re-exported for external embedders.
type MatchInfo ¶
type MatchInfo = internalruntime.MatchInfo
type MatchList ¶ added in v1.1.2
type MatchList = internalruntime.MatchList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type MatchmakerMatchedHandler ¶ added in v1.1.2
type MatchmakerMatchedHandler = internalruntime.MatchmakerMatchedHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type MatchmakerOverrideHandler ¶ added in v1.1.2
type MatchmakerOverrideHandler = internalruntime.MatchmakerOverrideHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type MatchmakerProcessorHandler ¶ added in v1.1.2
type MatchmakerProcessorHandler = internalruntime.MatchmakerProcessorHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type MatchmakerStatsView ¶ added in v1.1.2
type MatchmakerStatsView = internalruntime.MatchmakerStatsView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type NotificationList ¶ added in v1.1.2
type NotificationList = internalruntime.NotificationList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type NotificationSendParams ¶ added in v1.1.2
type NotificationSendParams = internalruntime.NotificationSendParams
Hook DTOs, handlers, and helpers re-exported for external embedders.
type NotificationUpdateParams ¶ added in v1.1.2
type NotificationUpdateParams = internalruntime.NotificationUpdateParams
Hook DTOs, handlers, and helpers re-exported for external embedders.
type NotificationView ¶
type NotificationView = internalruntime.NotificationView
type PartyListEntry ¶ added in v1.1.2
type PartyListEntry = internalruntime.PartyListEntry
Hook DTOs, handlers, and helpers re-exported for external embedders.
type PartyListView ¶ added in v1.1.2
type PartyListView = internalruntime.PartyListView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type Presence ¶
type Presence = internalruntime.Presence
Presence defines client presence within a match.
type PromoteGroupUsersRequest ¶ added in v1.1.2
type PromoteGroupUsersRequest = internalruntime.PromoteGroupUsersRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type PurchaseNotificationAppleHandler ¶ added in v1.1.2
type PurchaseNotificationAppleHandler = internalruntime.PurchaseNotificationAppleHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type PurchaseNotificationGoogleHandler ¶ added in v1.1.2
type PurchaseNotificationGoogleHandler = internalruntime.PurchaseNotificationGoogleHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type RPCHandler ¶
type RPCHandler = internalruntime.RPCHandler
type ReadStorageObjectsRequest ¶ added in v1.1.2
type ReadStorageObjectsRequest = internalruntime.ReadStorageObjectsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type RuntimeHTTPHandler ¶ added in v1.1.2
type RuntimeHTTPHandler = internalruntime.RuntimeHTTPHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type RuntimeModule ¶
type RuntimeModule = internalruntime.RuntimeModule
RuntimeModule defines the interface exposed to Go game logic (nk).
type Session ¶ added in v1.1.2
type Session = internalruntime.Session
Hook DTOs, handlers, and helpers re-exported for external embedders.
type SessionLogoutRequest ¶ added in v1.1.2
type SessionLogoutRequest = internalruntime.SessionLogoutRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type SessionRefreshRequest ¶ added in v1.1.2
type SessionRefreshRequest = internalruntime.SessionRefreshRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ShutdownHandler ¶ added in v1.1.2
type ShutdownHandler = internalruntime.ShutdownHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type StorageDelete ¶
type StorageDelete = internalruntime.StorageDelete
type StorageObject ¶
type StorageObject = internalruntime.StorageObject
type StorageObjectAck ¶
type StorageObjectAck = internalruntime.StorageObjectAck
type StorageObjectAcks ¶ added in v1.1.2
type StorageObjectAcks = internalruntime.StorageObjectAcks
Hook DTOs, handlers, and helpers re-exported for external embedders.
type StorageObjectList ¶ added in v1.1.2
type StorageObjectList = internalruntime.StorageObjectList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type StorageWrite ¶
type StorageWrite = internalruntime.StorageWrite
type SubscriptionList ¶ added in v1.1.2
type SubscriptionList = internalruntime.SubscriptionList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type SubscriptionNotificationAppleHandler ¶ added in v1.1.2
type SubscriptionNotificationAppleHandler = internalruntime.SubscriptionNotificationAppleHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type SubscriptionNotificationGoogleHandler ¶ added in v1.1.2
type SubscriptionNotificationGoogleHandler = internalruntime.SubscriptionNotificationGoogleHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type TournamentEndHandler ¶ added in v1.1.2
type TournamentEndHandler = internalruntime.TournamentEndHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type TournamentList ¶ added in v1.1.2
type TournamentList = internalruntime.TournamentList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type TournamentResetHandler ¶ added in v1.1.2
type TournamentResetHandler = internalruntime.TournamentResetHandler
Hook DTOs, handlers, and helpers re-exported for external embedders.
type TournamentView ¶
type TournamentView = internalruntime.TournamentView
type UnlinkAppleRequest ¶ added in v1.1.2
type UnlinkAppleRequest = internalruntime.UnlinkAppleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UnlinkCustomRequest ¶ added in v1.1.2
type UnlinkCustomRequest = internalruntime.UnlinkCustomRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UnlinkDeviceRequest ¶ added in v1.1.2
type UnlinkDeviceRequest = internalruntime.UnlinkDeviceRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UnlinkEmailRequest ¶ added in v1.1.2
type UnlinkEmailRequest = internalruntime.UnlinkEmailRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UnlinkFacebookInstantGameRequest ¶ added in v1.1.2
type UnlinkFacebookInstantGameRequest = internalruntime.UnlinkFacebookInstantGameRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UnlinkFacebookRequest ¶ added in v1.1.2
type UnlinkFacebookRequest = internalruntime.UnlinkFacebookRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UnlinkGameCenterRequest ¶ added in v1.1.2
type UnlinkGameCenterRequest = internalruntime.UnlinkGameCenterRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UnlinkGoogleRequest ¶ added in v1.1.2
type UnlinkGoogleRequest = internalruntime.UnlinkGoogleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UnlinkSteamRequest ¶ added in v1.1.2
type UnlinkSteamRequest = internalruntime.UnlinkSteamRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UpdateAccountRequest ¶ added in v1.1.2
type UpdateAccountRequest = internalruntime.UpdateAccountRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UpdateGroupRequest ¶ added in v1.1.2
type UpdateGroupRequest = internalruntime.UpdateGroupRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UserGroupList ¶ added in v1.1.2
type UserGroupList = internalruntime.UserGroupList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UserGroupView ¶ added in v1.1.2
type UserGroupView = internalruntime.UserGroupView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type UserView ¶
type UserView = internalruntime.UserView
type UsersList ¶ added in v1.1.2
type UsersList = internalruntime.UsersList
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidatePurchaseAppleRequest ¶ added in v1.1.2
type ValidatePurchaseAppleRequest = internalruntime.ValidatePurchaseAppleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidatePurchaseFacebookInstantRequest ¶ added in v1.1.2
type ValidatePurchaseFacebookInstantRequest = internalruntime.ValidatePurchaseFacebookInstantRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidatePurchaseGoogleRequest ¶ added in v1.1.2
type ValidatePurchaseGoogleRequest = internalruntime.ValidatePurchaseGoogleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidatePurchaseHuaweiRequest ¶ added in v1.1.2
type ValidatePurchaseHuaweiRequest = internalruntime.ValidatePurchaseHuaweiRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidatePurchaseResponse ¶ added in v1.1.2
type ValidatePurchaseResponse = internalruntime.ValidatePurchaseResponse
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidatePurchaseSamsungRequest ¶ added in v1.1.2
type ValidatePurchaseSamsungRequest = internalruntime.ValidatePurchaseSamsungRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidateSubscriptionAppleRequest ¶ added in v1.1.2
type ValidateSubscriptionAppleRequest = internalruntime.ValidateSubscriptionAppleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidateSubscriptionGoogleRequest ¶ added in v1.1.2
type ValidateSubscriptionGoogleRequest = internalruntime.ValidateSubscriptionGoogleRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidateSubscriptionResponse ¶ added in v1.1.2
type ValidateSubscriptionResponse = internalruntime.ValidateSubscriptionResponse
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidatedPurchaseView ¶ added in v1.1.2
type ValidatedPurchaseView = internalruntime.ValidatedPurchaseView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type ValidatedSubscriptionView ¶ added in v1.1.2
type ValidatedSubscriptionView = internalruntime.ValidatedSubscriptionView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type WalletLedgerView ¶ added in v1.1.2
type WalletLedgerView = internalruntime.WalletLedgerView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type WalletUpdateParams ¶ added in v1.1.2
type WalletUpdateParams = internalruntime.WalletUpdateParams
Hook DTOs, handlers, and helpers re-exported for external embedders.
type WalletUpdateResultView ¶ added in v1.1.2
type WalletUpdateResultView = internalruntime.WalletUpdateResultView
Hook DTOs, handlers, and helpers re-exported for external embedders.
type WriteLeaderboardRecordRequest ¶ added in v1.1.2
type WriteLeaderboardRecordRequest = internalruntime.WriteLeaderboardRecordRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type WriteStorageObjectsRequest ¶ added in v1.1.2
type WriteStorageObjectsRequest = internalruntime.WriteStorageObjectsRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.
type WriteTournamentRecordRequest ¶ added in v1.1.2
type WriteTournamentRecordRequest = internalruntime.WriteTournamentRecordRequest
Hook DTOs, handlers, and helpers re-exported for external embedders.