Alta.Api.DataTransferModels
Types in the Alta.Api.DataTransferModels assembly: requests, responses and shared models of Alta's web API. 277 types, 4 with a hand-written page.
See the overview for what the columns mean and how this list is made.
Alta.Api.DataTransferModels.Constants
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
CustomClaimTypes | static class | 13 | Names of the claims and policies found in Alta API JWT tokens. |
Alta.Api.DataTransferModels.Converters
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ForceDefaultConverter | class | JsonConverter | 5 | A JSON converter that can neither read nor write, so Json.NET falls back to default handling for a property marked with it. Its methods all throw. |
IPAddressJsonConverter | class | JsonConverter | 3 | JSON converter that writes an IPAddress as its string and parses it back. |
JwtSecurityTokenJsonConverter | class | JsonConverter | 3 | JSON converter that stores a JwtSecurityToken as its encoded string. |
JWTUtility | static class | 1 | Builds a JwtSecurityToken from a raw token string without checking its signature. | |
RegionEndpointJsonConverter | class | JsonConverter | 3 | JSON converter that stores a Region as its short name. |
SensitiveStringConverter | class | JsonConverter | 3 | JSON converter for strings that masks secrets: any value whose JSON path contains password, token or nonce is written as *. Meant for logging. |
Alta.Api.DataTransferModels.Enums
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AssignableRoles | enum | 1 | Account roles the Alta API lets you assign. Only PreAlphaPlayer. | |
GameServerStatus | enum | 3 | Online state of a game server in the Alta API: forced offline, offline or online. | |
GameServerWebsocketResponseType | enum | 3 | Kind of GameServerWebsocketResponse sent over the game server websocket: system message, subscription event or command result. | |
ImageType | enum | 5 | Which slot a shop item image fills (primary, hover, carousel, detailed or gallery). Used by LowLevelApiClient.AddImageToItemAsync. | |
PermissionType | enum | 8 | Flags for what a user may do with an Alta web API form: edit, respond, view responses or comments, comment, resolve and unresolve. | |
Region | enum | 2 | Which Alta platform region an account belongs to: Global or China. | |
ServerType | enum | 2 | Alta server type: Normal or World. | |
ShopTransactionStatus | enum | 11 | State of an Alta shop purchase, from started and processing to successful or refunded, with values for each kind of failure. |
Alta.Api.DataTransferModels.Enums.Alta.WebApi.Models
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
FormQueryType | enum | 11 | Kind of question in an Alta web API form, such as boolean, text, rating, choice, or a pick of an item, server or player. |
Alta.Api.DataTransferModels.Errors
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ApiError | class | 11 | Error body returned by the Alta web API: message, error code, request validation errors and optional context. | |
ErrorCode | enum | 60 | Error codes the Alta web API returns, covering shop, accounts, bans, groups, servers and login failures. | |
NotFoundApiError | class | ApiError | 1 | An ApiError preset for a missing object: message Not found, code ObjectNotFound. |
ValidationError | class | 5 | One field-level validation error in an API error response. |
Alta.Api.DataTransferModels.Exceptions
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ApiErrorException | class | Exception | 4 | Exception that carries an ApiError and an HTTP status code (500 unless given). |
AuthorizationException | class | Exception | 3 | Exception for a failed authorization in the API client. |
ForbiddenException | class | Exception | 3 | Thrown when an API call returns 403 Forbidden. |
HttpException | class | Exception | 4 | Thrown when an API call fails with an HTTP status other than 400 or 403. Carries the status and the response. |
OfflineException | class | Exception | 1 | Thrown when an API method is called while the client is in offline mode. The message names the calling method. |
Alta.Api.DataTransferModels.Extensions
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
EnumerableExtensions | static class | 6 | Small collection helpers used by the API models. | |
GuidExtensions | static class | 3 | Helpers for turning GUIDs into short strings. | |
HttpClientExtensions | static class | 7 | HttpClient helpers for the API client: JSON post, put, patch and delete, with debug logging of requests and responses. | |
HttpClientExtensions.JsonContent | class | StringContent | 1 | HTTP string content holding an object serialized to UTF-8 JSON. Used by the JSON post, put, patch and delete helpers. |
HttpContentExtensions | static class | 1 | Reads HTTP response content as JSON. | |
HttpResponseExtensionMethods | static class | 4 | Turns API responses into results or exceptions, and logs them. | |
QueryExtensions | static class | 1 | Builds URL query strings. | |
WebRequestExtensions | static class | 3 | Turns request bodies and response headers into readable strings for the API client's logs, hiding secrets. |
Alta.Api.DataTransferModels.Helpers
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ShopHelper | static class | 3 | Helpers for shop SKUs. Item sets are told apart from single items by a set_ prefix on the SKU. |
Alta.Api.DataTransferModels.Interfaces
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
IIdentifiable | interface | 1 | An API model with an integer database id. |
Alta.Api.DataTransferModels.Models.Agones
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AgonesAllocationFailureType | enum | 5 | Why allocating an Agones game server failed: no access to the cluster, web request failed, could not allocate, or server locked. | |
AgonesGameServer | class | AgonesObject | 3 | An Agones GameServer Kubernetes object, as sent to or read from the Agones API. |
AgonesObject | abstract class | 6 | Base for Agones (Kubernetes game server manager) objects as the Alta API reads and writes them in JSON. | |
AgonesServerList | class | 1 | A list of Agones game servers as returned by Kubernetes. | |
AllocationResult | class | 4 | Result of asking Agones (the game server hosting system) for a server: whether one was allocated and how to connect. | |
DictionaryExtension | static class | 1 | Dictionary lookup helper used with the Agones models. | |
GameServerAllocation | class | AgonesObject | 2 | An Agones GameServerAllocation request, which asks Agones for a ready game server. |
GameServerAllocationSpec | class | 4 | Spec of an Agones game server allocation request: which servers may be picked and metadata to set on the chosen one. | |
GameServerAllocationSpec.RequiredSpec | class | 1 | Label selector in an Agones game server allocation request. | |
GameServerSpec | class | 2 | Spec of an Agones game server: its ports and pod template. | |
GameServerSpec.GameServerTemplate | class | 1 | Pod template inside an Agones game server spec. | |
GameServerSpec.GameServerTemplate.GameServerTemplateSpec | class | 1 | Pod spec inside an Agones game server template. | |
GameServerSpec.GameServerTemplate.GameServerTemplateSpec.ContainerConfig | class | 2 | One container in an Agones game server pod. | |
Metadata | class | 7 | Kubernetes object metadata as used in Agones requests and responses. | |
PortConfig | class | 2 | A named port in an Agones game server's status. | |
SpecPortConfig | class | 4 | A port in an Agones game server spec. | |
Status | class | 5 | Status of an Agones game server: its state, address and ports. | |
Status.GameServerState | enum | 11 | Lifecycle state of an Agones game server, from Creating through Ready and Allocated to Shutdown or Unhealthy. |
Alta.Api.DataTransferModels.Models.Requests
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AccountLinkData | class | 3 | Platform account details sent when registering an Oculus or Pico user, so the new Alta account is linked to it. | |
AccountRequestBase | class | 3 | Web API request body for Oculus account linking: the platform account ID, its proof token and the region. Built by OculusClient. | |
AllocationRequest | class | 1 | Body of the Alta web API call that allocates a server for migration (AllocateServerForMigration). | |
BanRequest | class | 7 | Body of an Alta web API request to ban a user. | |
BooleanRequest | class | 1 | Request body holding a single true or false, sent as value. | |
BufferChangeRequest | class | 3 | Request body for LowLevelApiClient.RequestBufferChange, which asked Alta's API to change the number of spare servers kept for a fleet and region. | |
ChangeBalanceRequest | class | 1 | Request body for changing a balance by an amount, probably a user's virtual currency. | |
ChangePasswordRequest | class | 4 | Body of an Alta web API request to change the account password. Sends hashes, not plain passwords. | |
ChangeUsernameRequest | class | 4 | Body of an Alta web API request to change the account's username, confirmed with the password hash. | |
ConsoleCommandRequest | class | 1 | Request body carrying one console command to run, probably on a game server. | |
CreateGroupAndServerRequest | class | QuickCreateRequest | 4 | Body for the API's groups quick-create call, which makes a group and its server together. The launch region comes from QuickCreateRequest. |
CreateGroupRequest | class | 3 | Request body for creating a group. | |
CreateGroupServerRequest | class | 3 | Request body for creating a game server for a group. | |
CreatePresetRequest | class | 3 | Body of the Alta web API call that saves a cosmetic preset (CreateCosmeticPreset). | |
CreateReportRequest | class | 3 | Body of an Alta web API request to report a player. | |
DeleteItemRequest | class | 1 | Request body naming a shop item to delete. | |
EditGroupRequest | class | 5 | Body for updating a group's details on the Alta web API. | |
EditGroupRoleRequest | class | 4 | Request body for changing a group role. | |
EmailAndUsernameRequest | class | 2 | Request body holding an email and a username. | |
EmailValidationRequest | class | 1 | Body of an Alta web API request to check an email address. | |
FutureUserActionCreateRequest | class | 4 | Body of the Alta web API call that queues an action to apply to a user later (CreateFutureUserActions). | |
FutureUserActionType | enum | 2 | Kind of future user action stored for an outside user: add a friend or invite to a group. | |
GameServerCreateRequest | class | 9 | Request body for creating a game server through Alta's web API. | |
GameServerWebsocketRequest | struct | 2 | A command sent to a game server over its WebSocket, with an id to match the reply to. | |
GenerateSignUpCodeRequest | class | 5 | Body of an Alta web API request to generate a sign-up code for someone. | |
GetShardsTokenRequest | class | 2 | Request body for getting a payment token to buy a shards package. | |
GetSubscriptionTokenRequest | class | 1 | Request body for getting a payment token for a subscription plan. | |
GiveRoleRequest | class | 1 | Body of an Alta web API request to give a user a role. | |
GroupPermissionsCheckRequest | class | 1 | Body for asking the API whether a user has permissions in a group or on a server. | |
GroupRoleRequest | class | 2 | Request body for a group role with a name and permissions. | |
IdentityTokenRequest | class | 1 | Body of the Alta web API call that generates an identity token (GenerateIdentityTokenAsync). | |
IdentityTokenValidationRequest | class | 3 | Body of an Alta web API request to check an identity token. | |
InstallationEventRequest | class | 5 | Request body reporting an install or update event to the API, probably from the launcher. | |
ItemDeleteRequest | class | ItemPurchaseRequest | 1 | An ItemPurchaseRequest with a reason, used to remove an item. |
ItemPurchaseRequest | class | PurchaseRequest | 1 | Request body for buying a shop item with a payment method. |
ItemSetRequest | class | 3 | Request body for creating or updating a shop item set (a bundle) through Alta's web API. | |
JoinServerRequest | class | 5 | Body for joining a server or connecting the console through the Alta web API. | |
LaunchInstanceRequest | class | 5 | Request body for launching a game server instance. | |
LaunchLocalServerRequest | class | 8 | Body of the Alta web API call a locally run server makes to start a session (StartLocalServer), with its addresses and ports. | |
LinkAccountRequest | class | AccountRequestBase | 2 | Body of an Alta web API request to link an outside account to an Alta user. |
LoginRequest | class | LoginRequestBase | 3 | Body of an Alta web API login with a username, password hash and device id. |
LoginRequestBase | class | RefreshRequest | 3 | Base for login request bodies: a password hash plus the device id and platform target from RefreshRequest. |
LoginViaLinkedAccountRequest | class | AccountRequestBase | 1 | Body for logging in with a linked platform account (used for Oculus and Pico). |
LoginWithEmailRequest | class | LoginRequestBase | 3 | Body of an Alta web API login with an email, password hash and device id. |
LogoutRequest | class | 3 | Request body for logging out, which hands back the refresh token. | |
MatchMakingRequirements | class | 2 | Body of the Alta web API call that picks the best server to join (GetBestServer). | |
MigrateWebsocketRequest | class | 1 | Request body carrying a token for moving a WebSocket session, probably to another connection. | |
ModifyReportRequest | class | 1 | Body of an Alta web API request to change a report's status. | |
OculusFriendsList | class | 1 | Body of an Alta web API request that sends the user's Oculus friends. | |
PurchaseCouponRequest | class | 2 | Request body for buying coupons for a currency package. | |
PurchaseItemTokenRequest | class | 2 | Alta web API request body for buying a shop item. | |
PurchaseRequest | class | 1 | Base request body for a purchase: which saved payment method to charge. | |
QuickCreateRequest | class | 1 | Request body for quickly creating a server in a region. | |
RecentPlayerInteractionRequest | class | 2 | One recent player interaction sent to the Alta web API. Queued through ApiBatchRequestService and sent in batches. | |
RedeemCouponRequest | class | 1 | Request body for redeeming a coupon code. | |
RefreshRequest | class | 2 | Request body for refreshing login tokens, and the base of the login requests. | |
RegisterRequest | class | EmailAndUsernameRequest, IRequest<UserInfo>, IBaseRequest | 4 | Body of an Alta web API request to create an account, with optional Oculus or Pico links. |
RequestPasswordResetRequest | class | 3 | Body of an Alta web API request to send a password reset email. | |
RequestShopTokenRequest | class | 0 | Empty body of the Alta web API call that gets a shop token (GetShopTokenAsync). | |
ResetPasswordRequest | class | 2 | Body of an Alta web API request that sets a new password with a reset token. | |
SearchByUsernameRequest | class | 1 | Body of an Alta web API request to find users by username. | |
SendMessageRequest | class | 2 | Request body for sending a message to a list of users. | |
ServerSaveFileRequest | class | 1 | Request body asking for a server's save files by path; the matching answer is probably a ServerSaveFileResponse. | |
ServerStatusRequest | class | 1 | Request body for setting a game server's status. | |
SetGroupPermissionsRequest | class | 1 | Request body for setting group permissions with the older Member, Moderator and Admin flags. | |
SetGroupPermissionsRequest.OldGroupPermission | enum | 3 | Old flag-style group permission levels (member, moderator, admin), still used by GroupMemberInfo.Permissions. | |
SetServersOnlinePlayersRequest | class | 2 | Body of the Alta web API call a server makes to report who is online (SetOnlinePlayers). | |
ShopItemsRequest | class | 1 | Request body listing shop item ids. | |
StatProgress | class | 3 | Progress on one achievement action stat, read from and sent to the web API by the achievement client. | |
StopInstanceRequest | class | 1 | Request body for stopping a game server instance. | |
UnlinkAccountRequest | class | 1 | Body of an Alta web API request to unlink an outside account. | |
UpdateAchievementRequest | class | 2 | Body for updating one achievement for a user on the Alta web API. | |
UpdateActionStatRequest | class | 3 | Alta web API request body for updating a user's action stats. | |
UpdateUserInfoRequest | class | EmailAndUsernameRequest | 0 | Request body for changing a user's email and username. Adds nothing to EmailAndUsernameRequest. |
UsernameValidationRequest | class | 1 | Body of an Alta web API request to check a username. | |
UserType | enum | 3 | Which kind of account a user id belongs to: Alta, Oculus or Discord. | |
ValidateItemOwnershipRequest | class | 3 | Body of an Alta web API request to check whether a user owns some shop items. | |
ValidateUsersJoinRequest | class | 4 | Request body for checking that a player may join a game server, probably sent by the server when someone connects. | |
VerificationEmailRequest | class | 1 | Body for sending a user a verification email. | |
VerifyUserRequest | class | 3 | Body of an Alta web API request to verify an account with a token. | |
VirtualCurrencyPurchaseRequest | class | PurchaseRequest | 1 | Request body for buying a virtual currency package with a payment method. |
VoiceChatTokenRequest | class | 2 | Body of an Alta web API request for a voice chat token, to log in or to join a server's channel. | |
VoiceChatTokenRequestType | enum | 2 | What a voice chat token is for: Login or JoinChannel. | |
WebhookPayload | class | 1 | Body of a webhook call carrying one message. | |
WebsocketMessageBody | class | 5 | A message sent to the Alta API over its WebSocket: an HTTP-style request with method, path and JSON content. | |
WebsocketResponseBody | class | 5 | A message received from the Alta API over its WebSocket, either a reply or a subscription event. |
Alta.Api.DataTransferModels.Models.Requests.DTOs.Requests
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
FriendRequestResponse | class | 1 | Request body answering a friend request. |
Alta.Api.DataTransferModels.Models.Responses
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AltaApiResponse<T> | class | 3 | A list response from the Alta API: the items plus query metadata. | |
BanInfo | class | 10 | API model for a ban on a user, IP address or device, with its reason, scope and end time. | |
BooleanResponse | class | 2 | A web API response that wraps a single true or false value. | |
ClaimOculusItemsResponse | class | 2 | Alta web API reply to claiming all of a user's Oculus purchases (ConsumeAllOculusPurchases). | |
Comment | class | 7 | A comment from the Alta web API, with its author and whether it is hidden or posted by the system. | |
Condition | class | 3 | A condition from the Alta web API on a query (probably a form question), with allowed and blocked answers. | |
ConnectionInfo | class | 9 | Server settings | |
CouponRedeemedResponse | class | 3 | The API's answer after a coupon is redeemed: what it gave. | |
CreateCheckResponse | class | 3 | Alta web API reply to CanCreateGroups: how many more groups the user may create on each platform. | |
DiscordSupporterRoleVerificationResults | class | 3 | Result of checking supporters against the Discord supporter role: who gained it and who lost it. | |
FleetInfo | class | 4 | Info about a fleet of game servers. | |
Form | class | 10 | A form served by the Alta API, with its pages of questions and the dates it's open. | |
FormResponse | class | FormResponseSummary | 4 | A full submitted answer to a Form: the answers per page plus staff comments. |
FormResponseSummary | class | 6 | Short info about a submitted form response, without the answers. | |
FriendRequestedType | enum | 4 | Outcome of a friend request: befriended, request sent, already friends or already requested. | |
FriendshipInfo | class | UserInfo | 3 | A user returned by the Alta web API's friends endpoints, with when the friendship started and its state. |
FriendshipType | enum | 4 | State of a friendship between two accounts in the Alta API: none, waiting for reply, requested or accepted. | |
GameHomeConfiguration | class | 1 | API response describing what the game's home screen shows. | |
GameServerInfo | class | GameServerInfoMinimal | 30 | Server settings |
GameServerInfoMinimal | class | INamedEntity | 2 | A game server's id and name only, as Alta's web API returned in short lists. |
GameServerWebsocketResponse | class | 6 | A message from a game server over its WebSocket: a system message, a subscription event or a command result. Time-stamped (UTC) when made. | |
GiftResult | class | 3 | Alta API response to gifting a shop item to someone. | |
GiftResultType | enum | 3 | Result of giving a shop item: Failed, AlreadyOwned or Success. | |
GiftRewardComment | class | 1 | A body holding one comment, used when giving a reward. | |
GroupInfo | class | 8 | API model with the basic public info for a group (server group): name, description, type, member count and tags. | |
GroupInfoDetailed | class | GroupInfo | 3 | A group's info from the web API with its servers and roles included. |
GroupMemberInfo | class | 10 | API response describing one member of a group (server group), with their role and permissions. | |
GroupMemberType | enum | 6 | A user's state in a group: banned, requested to join, invited, accepted (a member), left or kicked. | |
GroupPermissions | enum | 12 | Permissions a role can grant in an Alta group (server community): inviting, banning, kicking, managing servers, console access, roles, reports and saves. | |
GroupRoleIdentifier | enum | 4 | Built-in group role ids: Default, Member, Moderator and Owner. | |
GroupRoleInfo | class | 9 | A role in a group: id, name, colour, permissions and allowed console commands. Constants give the fixed ids of the built-in roles. | |
GroupServerInfo | class | 4 | Web API model for one game server as listed inside a group's details (GroupInfoDetailed.Servers). | |
GroupType | enum | 3 | Group join type: Open, Public or Private. Group discovery lists the public and open ones. | |
GroupTypeExtensions | static class | 1 | Maps a group's type to how players join its servers. | |
HomeElement | class | 8 | Web API model for one element of the game's home screen layout (GameHomeConfiguration.Elements). | |
HomeElementPage | class | 3 | Web API model for one page inside a HomeElement on the home screen. | |
IConvertableModel<TModel> | interface | 1 | A response model that can turn itself into another model type. | |
INamedEntity | interface | 2 | Anything from the web API with a numeric ID and a name, such as UserInfo and GameServerInfoMinimal. | |
InvitedGroupInfo | class | GroupInfoDetailed | 1 | Group details from the Alta web API for a group the user was invited to. |
JoinedGroupInfo | class | 2 | Web API model for a group the user has joined, paired with their membership. Returned by LowLevelApiClient.GetJoinedGroups. | |
LauncherGameInfoFull | class | LauncherGameInfoShort | 9 | Full details of a game for Alta's launcher, from LowLevelApiClient.GetLauncherGame. |
LauncherGameInfoShort | class | 6 | Short details of a game for the list in Alta's launcher. LauncherGameInfoFull extends it. | |
LinkedAccountInfo | class | 4 | An external account linked to a user, returned by the web API's Discord account endpoints. | |
MembershipStatusResponse | class | 2 | Whether a user has a supporter membership, from LowLevelApiClient.GetMembershipStatus. | |
MigrationDetailsResponse | class | 3 | A server's latest save storage (EFS) migration, from LowLevelApiClient.GetLatestEfsMigrationForServer. | |
NewComment | class | 2 | Body for adding a comment, which may be hidden. | |
OculusFriendInfo | class | FriendshipInfo | 1 | A friendship returned for an Oculus friends list, from LowLevelApiClient.GetOculusFriendships. |
Option | class | 4 | One choice in a web API form question (Query.Options). | |
Page | class | 3 | One page of a web API form (Form.Pages): its questions and the rules for which page comes next. | |
PageResponse | class | 2 | A user's answers for one form page, part of a FormResponse. | |
PatchNotes | class | 2 | Web API model for the patch notes of a game version, part of LauncherGameInfoFull. | |
PersonalUserInfoResponse | class | PublicUserInfoResponse | 3 | A user's public info plus their private name and email, from the Alta web API. |
PlayerAchievementResponse | class | 1 | Web API model listing the achievements a player has. | |
PlayerActionStatResponse | class | 1 | Web API model listing a player's action stats. | |
PlayerReportInfo | class | 9 | A player report as stored by the web API: who reported whom, on which server, its type and what moderators did. | |
PublicUserInfoResponse | class | UserInfo | 2 | Public user info plus statistics and supporter status. |
PurchaseResult | class | 4 | Alta API response to buying a shop item. | |
PurchaseResultType | enum | 8 | Outcome of a shop purchase, such as success, not enough shards, already owned or premium only. | |
Query | class | 9 | One question on a web API form page (Page.Queries). | |
QueryMeta | class | 4 | Paging info for a list response from the API. | |
QueryResponse | class | 2 | A user's answer to one form question, part of a PageResponse. | |
QuickCreateResponse | class | 2 | Response from the groups quick-create call: the new group and its server. | |
RecentPlayerInteractionInfo | class | 4 | API response for one recent interaction with another player: who, what kind, when and on which server. | |
RecentPlayerInteractionType | enum | 3 | How you recently met another player, in the Alta API: combat, nearby or on the same server. | |
RegionInfo | class | 4 | A server region from the Alta API. | |
ReportStatus | enum | 3 | State of a player report: awaiting action, ignored, or acted on. | |
ReportType | enum | 3 | What a player report is for: griefing, harassment, or cheating and exploits. | |
ResolveComment | class | 2 | Body for adding a comment that also marks something resolved or not. | |
ServerJoinFailResult | enum | 14 | Why the API refused a server join, such as not allowed, not online, banned, wrong game version or player limit reached. | |
ServerJoinResponse | class | 4 | Web API answer to whether a user may join a server, with ban details when they may not. The offline security client always returns allowed. | |
ServerJoinResult | class | 9 | Web API reply to a request to join a game server: whether it's allowed, why not, and the connection details and token if so. | |
ServerJoinType | enum | 7 | Who may join a server: group members, public, open group, supporters only, world instance or public group. PrivateGroup is the same value as GroupMember. | |
ServerOwnerType | enum | 4 | Who owns a server: an individual, a group or the world. GroupAdmins is the same value as Group. | |
ServerSaveFileResponse | class | 1 | The API's answer to a ServerSaveFileRequest: download links for the files. | |
Settings | class | 2 | Settings and files: Where the game keeps its settings and files, and the helpers it uses to read and write them. | |
ShopAccountInfo | class | 4 | Web API reply with a user's shop balance: shards, wallet money and supporter subscription status. | |
ShopAccountInfo.SubscriptionStatus | class | 4 | Supporter subscription state inside ShopAccountInfo.MemberStatus. | |
ShopItemConfiguration | class | 6 | One entry of Alta's shop configuration: an item's discount, shard price or promotion. | |
ShopPageConfiguration | class | 5 | Layout data for one page of the in-game shop as sent by the web API: its subtitle, item slots and graphics. | |
ShopPageConfigurationWithBanner | class | ShopPageConfiguration | 2 | A shop page layout with a banner image taken from the game home configuration. |
ShopTokenResponse | class | 4 | Web API model for a shop purchase token from the Xsolla payment provider. | |
ShopTransactionStatusResponse | class | 1 | The status of a shop transaction. | |
ShutdownReason | class | 6 | Why a game server shut down, as a message and whether the shutdown was expected. | |
SimpleTokenResultResponse | class | 2 | Web API model that wraps a single JWT. | |
SingleTokenResponse | class | 1 | An API response holding a single JWT token. | |
SocialMediaInfo | class | 2 | A social media link shown in the launcher, part of LauncherGameInfoFull.SocialMedia. | |
StartServerSessionResponse | class | 1 | API response when a server session is started. | |
StoreRotationGraphicConfig | class | 3 | One graphic in the shop page's rotation (ShopPageConfiguration.Graphics). | |
SubscriptionRefreshResult | class | 3 | Result of checking for supporter subscription rewards, from CheckForSubscriptionRewardsAsync. The offline shop returns an empty one. | |
SubscriptionRefreshResult.Reward | class | 2 | One reward granted when a supporter subscription is refreshed. | |
TokenResultResponse | class | 4 | Web API model holding the three JWTs a login returns. | |
Transitions | class | 2 | A rule on a form Page that says which page comes next when its conditions are met. | |
UserInfo | class | INamedEntity | 7 | Player: Two are equal when their ids are equal, whatever the names. |
UserInfoWithPermissions | class | UserInfo | 5 | A user plus the policies (permissions) and verified flag read from their Alta JWT. |
UserPresetDataInfo | class | 5 | A saved cosmetics preset from the web API, packed as an array of uint values. | |
UserStatistics | class | 2 | Account stats from the Alta API. | |
ValidateItemOwnershipResponse | class | 1 | Web API answer to ValidateItemsOwnershipAsync, which checks that a user owns a list of shop items. | |
ValidationResultModel | class | 4 | List of field validation errors, attached to an ApiError for a bad request. | |
VersionMarker | class | 2 | A named game version shown in the launcher, part of LauncherGameInfoFull.VersionMarkers. |
Alta.Api.DataTransferModels.Models.Responses.DTOs.Responses
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
FriendRequestResult | class | 3 | The web API's reply to a friend request: what happened, plus the friendship records each way. | |
InstallationEventInfo | class | 8 | A stored install or update event as the API returns it; the read side of InstallationEventRequest. |
Alta.Api.DataTransferModels.Models.Shared
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AnalyticsEventData | class | 9 | One analytics event as sent to the Alta web API. | |
BanMethod | enum | 3 | Flags for what a ban applies to: the user id, the IP address, the device id or any mix. Passed to SecurityApiClient.BanUserAsync. | |
BanType | enum | 3 | Scope of a ban in the web API: one server, global, or public servers (probably). | |
ChargeInfo | class | 2 | How much a subscription plan charges and how often. | |
ClientTokenConfig | class | 3 | OAuth client credentials sent to log in as a client rather than a user. HighLevelApiClient.LoginViaOauth builds one. | |
Duration | class | 3 | A length of time as a count and a unit (day, month or year), used for subscription trial and charge periods. | |
DurationType | enum | 3 | Unit of a Duration: day, month or year. | |
GameVersion | class | IEquatable<GameVersion> | 15 | A game build version: stream plus title, season, major, minor and changeset numbers. |
InstanceInfo | class | 6 | A running server instance in Alta's hosting, as listed by IInstancesClient. | |
ItemCategory | enum | 25 | Category of a cosmetic shop item, from body types and skin colours to clothing, accessories, outfits and bundles. Also set on each customization category. | |
ItemSetType | enum | 2 | Kind of shop item set: an outfit or a bundle. Used when shop editors create or update sets. | |
OwnedShopItem | class | IIdentifiable | 5 | A shop item a user owns, as returned by the web API. |
PriceType | enum | 2 | Currency of a ShopPrice: US dollars or shards. | |
Region | class | 12 | A server region, with the fixed list of known regions. Note the constructor arguments are swapped in the presets: FriendlyName holds the code (USEast1) and ShortName holds the long name. | |
ShopItem | class | IIdentifiable | 9 | An item in Alta's shop, such as a cosmetic or a set. |
ShopItemDetailed | class | ShopItem | 4 | API model for a shop item with its full details: description, category, images and Xsolla id. |
ShopItemDetailedForUser | class | ShopItemDetailed | 2 | A shop item with details for one user: whether they own it and the price they would pay. |
ShopItemIdentifier | class | 3 | Identifies a shop item by its numeric id and SKU. | |
ShopItemImage | class | 6 | An image for a shop item, with optional alternative formats. | |
ShopItemModificationRequest | class | IIdentifiable | 14 | A shop item as staff create or edit it through the API. |
ShopItemSet | class | IIdentifiable | 4 | API model for a set of shop items sold together under one SKU. |
ShopItemSetModificationRequest | class | ShopItemModificationRequest | 1 | A shop item set as staff create or edit it: a shop item plus the items in the set. |
ShopPrice | class | 3 | A price in the shop: an amount and its currency. Defaults to 1 shard. | |
SubscriptionPlanInfo | class | 7 | Web API model for a supporter subscription plan. | |
TownshipItemCategory | class | IIdentifiable | 6 | A shop item category, which can sit under a parent category. |
TownshipItemCategoryModificationRequest | class | TownshipItemCategory | 1 | A shop category as staff create or edit it. Same as TownshipItemCategory but the parent is sent as an id. |
UserRoles | class | 3 | Roles read from a user's identity token by UserRolesUtility.GetRolesFromIdentityToken. | |
UserSubscription | class | 10 | A user's subscription (supporter membership) and its billing dates. | |
UserSubscriptionInfoStatus | enum | 3 | State of a user's subscription: active, cancelled or non-renewing. |
Alta.Api.DataTransferModels.Settings
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
GameServerSettings | static class | 8 | Constants about game servers shared with the Alta API: ping timing, default port and, probably, how servers are ranked for players. | |
NamingSettings | static class | 7 | Length and character limits for names, emails, password hashes and sign-up codes in the Alta API. |
Alta.Api.DataTransferModels.Utility
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
Device | static class | 2 | Static info about this device that the API client sends with logins and joins. ApiAccess fills it at startup. | |
JsonUtility | static class | 3 | Shared Json.NET settings for the Alta API: its converters, ISO UTC dates and nulls left out. | |
JwtTokenHandler | static class | 1 | Turns a JwtSecurityToken back into its encoded string. | |
RetryHandler | class | HttpClientHandler | 2 | HTTP handler for the API client that adds a timeout per attempt and retries failed requests with a doubling delay (2, 4, ... seconds). |
UserRolesUtility | static class | 2 | Reads a user's roles from the policy claims in their identity token. |