UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

30 lines (29 loc) 1.46 kB
"use strict"; // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", { value: true }); exports.DedicatedServerStatus = exports.AuthenticationResult = void 0; var AuthenticationResult; (function (AuthenticationResult) { AuthenticationResult[AuthenticationResult["pending"] = 0] = "pending"; AuthenticationResult[AuthenticationResult["success"] = 1] = "success"; AuthenticationResult[AuthenticationResult["failed"] = 2] = "failed"; AuthenticationResult[AuthenticationResult["error"] = 3] = "error"; })(AuthenticationResult || (exports.AuthenticationResult = AuthenticationResult = {})); var DedicatedServerStatus; (function (DedicatedServerStatus) { DedicatedServerStatus[DedicatedServerStatus["stopped"] = 1] = "stopped"; DedicatedServerStatus[DedicatedServerStatus["deploying"] = 2] = "deploying"; DedicatedServerStatus[DedicatedServerStatus["launching"] = 3] = "launching"; DedicatedServerStatus[DedicatedServerStatus["starting"] = 4] = "starting"; DedicatedServerStatus[DedicatedServerStatus["started"] = 5] = "started"; })(DedicatedServerStatus || (exports.DedicatedServerStatus = DedicatedServerStatus = {})); class CreatorToolsAuthentication { result; permissionLevel; constructor(result, permissionLevel) { this.result = result; this.permissionLevel = permissionLevel; } } exports.default = CreatorToolsAuthentication;