neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 10.3 kB
JavaScript
;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FocusedWorldStatus = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function FocusedWorldStatus(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, WorldName = props.WorldName, RawWorldName = props.RawWorldName, SessionId = props.SessionId, IsHost = props.IsHost, CanSave = props.CanSave, ShouldSave = props.ShouldSave, CanClose = props.CanClose, RoleName = props.RoleName, UserCount = props.UserCount, ActiveUserCount = props.ActiveUserCount, MaxUserCount = props.MaxUserCount, AccessLevel = props.AccessLevel, HideFromListing = props.HideFromListing, AwayKickEnabled = props.AwayKickEnabled, AwayKickMinutes = props.AwayKickMinutes, UnsafeMode = props.UnsafeMode;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.FocusedWorldStatus", id: id, persistentId: persistentId, updateOrder: updateOrder }, { children: [(0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "Enabled", id: typeof Enabled === "object" && "id" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.id : undefined, value: typeof Enabled === "object" && "value" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.value : Enabled !== null && Enabled !== void 0 ? Enabled : true, isRaw: typeof Enabled === "object" && "isRaw" in Enabled && Enabled.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "WorldName", id: typeof WorldName === "object" && "id" in WorldName ? WorldName === null || WorldName === void 0 ? void 0 : WorldName.id : undefined, value: typeof WorldName === "object" && "value" in WorldName ? WorldName === null || WorldName === void 0 ? void 0 : WorldName.value : WorldName, isRaw: typeof WorldName === "object" && "isRaw" in WorldName && WorldName.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "RawWorldName", id: typeof RawWorldName === "object" && "id" in RawWorldName ? RawWorldName === null || RawWorldName === void 0 ? void 0 : RawWorldName.id : undefined, value: typeof RawWorldName === "object" && "value" in RawWorldName ? RawWorldName === null || RawWorldName === void 0 ? void 0 : RawWorldName.value : RawWorldName, isRaw: typeof RawWorldName === "object" && "isRaw" in RawWorldName && RawWorldName.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "SessionId", id: typeof SessionId === "object" && "id" in SessionId ? SessionId === null || SessionId === void 0 ? void 0 : SessionId.id : undefined, value: typeof SessionId === "object" && "value" in SessionId ? SessionId === null || SessionId === void 0 ? void 0 : SessionId.value : SessionId, isRaw: typeof SessionId === "object" && "isRaw" in SessionId && SessionId.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "IsHost", id: typeof IsHost === "object" && "id" in IsHost ? IsHost === null || IsHost === void 0 ? void 0 : IsHost.id : undefined, value: typeof IsHost === "object" && "value" in IsHost ? IsHost === null || IsHost === void 0 ? void 0 : IsHost.value : IsHost, isRaw: typeof IsHost === "object" && "isRaw" in IsHost && IsHost.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "CanSave", id: typeof CanSave === "object" && "id" in CanSave ? CanSave === null || CanSave === void 0 ? void 0 : CanSave.id : undefined, value: typeof CanSave === "object" && "value" in CanSave ? CanSave === null || CanSave === void 0 ? void 0 : CanSave.value : CanSave, isRaw: typeof CanSave === "object" && "isRaw" in CanSave && CanSave.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ShouldSave", id: typeof ShouldSave === "object" && "id" in ShouldSave ? ShouldSave === null || ShouldSave === void 0 ? void 0 : ShouldSave.id : undefined, value: typeof ShouldSave === "object" && "value" in ShouldSave ? ShouldSave === null || ShouldSave === void 0 ? void 0 : ShouldSave.value : ShouldSave, isRaw: typeof ShouldSave === "object" && "isRaw" in ShouldSave && ShouldSave.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "CanClose", id: typeof CanClose === "object" && "id" in CanClose ? CanClose === null || CanClose === void 0 ? void 0 : CanClose.id : undefined, value: typeof CanClose === "object" && "value" in CanClose ? CanClose === null || CanClose === void 0 ? void 0 : CanClose.value : CanClose, isRaw: typeof CanClose === "object" && "isRaw" in CanClose && CanClose.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "RoleName", id: typeof RoleName === "object" && "id" in RoleName ? RoleName === null || RoleName === void 0 ? void 0 : RoleName.id : undefined, value: typeof RoleName === "object" && "value" in RoleName ? RoleName === null || RoleName === void 0 ? void 0 : RoleName.value : RoleName, isRaw: typeof RoleName === "object" && "isRaw" in RoleName && RoleName.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "UserCount", id: typeof UserCount === "object" && "id" in UserCount ? UserCount === null || UserCount === void 0 ? void 0 : UserCount.id : undefined, value: typeof UserCount === "object" && "value" in UserCount ? UserCount === null || UserCount === void 0 ? void 0 : UserCount.value : UserCount, isRaw: typeof UserCount === "object" && "isRaw" in UserCount && UserCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "ActiveUserCount", id: typeof ActiveUserCount === "object" && "id" in ActiveUserCount ? ActiveUserCount === null || ActiveUserCount === void 0 ? void 0 : ActiveUserCount.id : undefined, value: typeof ActiveUserCount === "object" && "value" in ActiveUserCount ? ActiveUserCount === null || ActiveUserCount === void 0 ? void 0 : ActiveUserCount.value : ActiveUserCount, isRaw: typeof ActiveUserCount === "object" && "isRaw" in ActiveUserCount && ActiveUserCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "MaxUserCount", id: typeof MaxUserCount === "object" && "id" in MaxUserCount ? MaxUserCount === null || MaxUserCount === void 0 ? void 0 : MaxUserCount.id : undefined, value: typeof MaxUserCount === "object" && "value" in MaxUserCount ? MaxUserCount === null || MaxUserCount === void 0 ? void 0 : MaxUserCount.value : MaxUserCount, isRaw: typeof MaxUserCount === "object" && "isRaw" in MaxUserCount && MaxUserCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[CloudX.Shared.SessionAccessLevel]", name: "AccessLevel", id: typeof AccessLevel === "object" && "id" in AccessLevel ? AccessLevel === null || AccessLevel === void 0 ? void 0 : AccessLevel.id : undefined, value: typeof AccessLevel === "object" && "value" in AccessLevel ? AccessLevel === null || AccessLevel === void 0 ? void 0 : AccessLevel.value : AccessLevel, isRaw: typeof AccessLevel === "object" && "isRaw" in AccessLevel && AccessLevel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "HideFromListing", id: typeof HideFromListing === "object" && "id" in HideFromListing ? HideFromListing === null || HideFromListing === void 0 ? void 0 : HideFromListing.id : undefined, value: typeof HideFromListing === "object" && "value" in HideFromListing ? HideFromListing === null || HideFromListing === void 0 ? void 0 : HideFromListing.value : HideFromListing, isRaw: typeof HideFromListing === "object" && "isRaw" in HideFromListing && HideFromListing.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "AwayKickEnabled", id: typeof AwayKickEnabled === "object" && "id" in AwayKickEnabled ? AwayKickEnabled === null || AwayKickEnabled === void 0 ? void 0 : AwayKickEnabled.id : undefined, value: typeof AwayKickEnabled === "object" && "value" in AwayKickEnabled ? AwayKickEnabled === null || AwayKickEnabled === void 0 ? void 0 : AwayKickEnabled.value : AwayKickEnabled, isRaw: typeof AwayKickEnabled === "object" && "isRaw" in AwayKickEnabled && AwayKickEnabled.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "AwayKickMinutes", id: typeof AwayKickMinutes === "object" && "id" in AwayKickMinutes ? AwayKickMinutes === null || AwayKickMinutes === void 0 ? void 0 : AwayKickMinutes.id : undefined, value: typeof AwayKickMinutes === "object" && "value" in AwayKickMinutes ? AwayKickMinutes === null || AwayKickMinutes === void 0 ? void 0 : AwayKickMinutes.value : AwayKickMinutes, isRaw: typeof AwayKickMinutes === "object" && "isRaw" in AwayKickMinutes && AwayKickMinutes.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "UnsafeMode", id: typeof UnsafeMode === "object" && "id" in UnsafeMode ? UnsafeMode === null || UnsafeMode === void 0 ? void 0 : UnsafeMode.id : undefined, value: typeof UnsafeMode === "object" && "value" in UnsafeMode ? UnsafeMode === null || UnsafeMode === void 0 ? void 0 : UnsafeMode.value : UnsafeMode, isRaw: typeof UnsafeMode === "object" && "isRaw" in UnsafeMode && UnsafeMode.isRaw ? true : undefined })] })));
}
exports.FocusedWorldStatus = FocusedWorldStatus;
;