neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 20.2 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.RawDataTooltip = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function RawDataTooltip(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, TipReference = props.TipReference, BlockGripEquip = props.BlockGripEquip, BlockRemoteEquip = props.BlockRemoteEquip, EquipName = props.EquipName, _overrideActiveTool = props._overrideActiveTool, _gripPosesGenerated = props._gripPosesGenerated, LocalTipOffset = props.LocalTipOffset, LocalTipReference = props.LocalTipReference, UseLaser = props.UseLaser, BlockPrimaryWhenTouching = props.BlockPrimaryWhenTouching, UseSecondary = props.UseSecondary, AllowUseWhenHolding = props.AllowUseWhenHolding, Equipped = props.Equipped, ControllerType = props.ControllerType, ControllerSide = props.ControllerSide, PrimaryStrength = props.PrimaryStrength, SecondaryAxis = props.SecondaryAxis, Primary = props.Primary, Secondary = props.Secondary, _primaryStrengthStream = props._primaryStrengthStream, _secondaryAxisStream = props._secondaryAxisStream, _primaryStream = props._primaryStream, _secondaryStream = props._secondaryStream, _rawStrength = props._rawStrength, _rawAxis = props._rawAxis, _rawPrimary = props._rawPrimary, _rawSecondary = props._rawSecondary, UniqueTutorialKey = props.UniqueTutorialKey, PrimaryTutorialDescription = props.PrimaryTutorialDescription, SecondaryTutorialDescription = props.SecondaryTutorialDescription;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.RawDataTooltip", id: id, persistentId: persistentId, updateOrder: updateOrder, version: 3 }, { 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.SyncRef`1[FrooxEngine.Slot]", name: "TipReference", id: typeof TipReference === "object" && "id" in TipReference ? TipReference === null || TipReference === void 0 ? void 0 : TipReference.id : undefined, value: typeof TipReference === "object" && "value" in TipReference ? TipReference === null || TipReference === void 0 ? void 0 : TipReference.value : TipReference, isRaw: typeof TipReference === "object" && "isRaw" in TipReference && TipReference.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "BlockGripEquip", id: typeof BlockGripEquip === "object" && "id" in BlockGripEquip ? BlockGripEquip === null || BlockGripEquip === void 0 ? void 0 : BlockGripEquip.id : undefined, value: typeof BlockGripEquip === "object" && "value" in BlockGripEquip ? BlockGripEquip === null || BlockGripEquip === void 0 ? void 0 : BlockGripEquip.value : BlockGripEquip, isRaw: typeof BlockGripEquip === "object" && "isRaw" in BlockGripEquip && BlockGripEquip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "BlockRemoteEquip", id: typeof BlockRemoteEquip === "object" && "id" in BlockRemoteEquip ? BlockRemoteEquip === null || BlockRemoteEquip === void 0 ? void 0 : BlockRemoteEquip.id : undefined, value: typeof BlockRemoteEquip === "object" && "value" in BlockRemoteEquip ? BlockRemoteEquip === null || BlockRemoteEquip === void 0 ? void 0 : BlockRemoteEquip.value : BlockRemoteEquip, isRaw: typeof BlockRemoteEquip === "object" && "isRaw" in BlockRemoteEquip && BlockRemoteEquip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "EquipName", id: typeof EquipName === "object" && "id" in EquipName ? EquipName === null || EquipName === void 0 ? void 0 : EquipName.id : undefined, value: typeof EquipName === "object" && "value" in EquipName ? EquipName === null || EquipName === void 0 ? void 0 : EquipName.value : EquipName, isRaw: typeof EquipName === "object" && "isRaw" in EquipName && EquipName.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.CommonTool]", name: "_overrideActiveTool", id: typeof _overrideActiveTool === "object" && "id" in _overrideActiveTool ? _overrideActiveTool === null || _overrideActiveTool === void 0 ? void 0 : _overrideActiveTool.id : undefined, value: typeof _overrideActiveTool === "object" && "value" in _overrideActiveTool ? _overrideActiveTool === null || _overrideActiveTool === void 0 ? void 0 : _overrideActiveTool.value : _overrideActiveTool, isRaw: typeof _overrideActiveTool === "object" && "isRaw" in _overrideActiveTool && _overrideActiveTool.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_gripPosesGenerated", id: typeof _gripPosesGenerated === "object" && "id" in _gripPosesGenerated ? _gripPosesGenerated === null || _gripPosesGenerated === void 0 ? void 0 : _gripPosesGenerated.id : undefined, value: typeof _gripPosesGenerated === "object" && "value" in _gripPosesGenerated ? _gripPosesGenerated === null || _gripPosesGenerated === void 0 ? void 0 : _gripPosesGenerated.value : _gripPosesGenerated, isRaw: typeof _gripPosesGenerated === "object" && "isRaw" in _gripPosesGenerated && _gripPosesGenerated.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "LocalTipOffset", id: typeof LocalTipOffset === "object" && "id" in LocalTipOffset ? LocalTipOffset === null || LocalTipOffset === void 0 ? void 0 : LocalTipOffset.id : undefined, value: typeof LocalTipOffset === "object" && "value" in LocalTipOffset ? LocalTipOffset === null || LocalTipOffset === void 0 ? void 0 : LocalTipOffset.value : LocalTipOffset, isRaw: typeof LocalTipOffset === "object" && "isRaw" in LocalTipOffset && LocalTipOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "LocalTipReference", id: typeof LocalTipReference === "object" && "id" in LocalTipReference ? LocalTipReference === null || LocalTipReference === void 0 ? void 0 : LocalTipReference.id : undefined, value: typeof LocalTipReference === "object" && "value" in LocalTipReference ? LocalTipReference === null || LocalTipReference === void 0 ? void 0 : LocalTipReference.value : LocalTipReference, isRaw: typeof LocalTipReference === "object" && "isRaw" in LocalTipReference && LocalTipReference.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "UseLaser", id: typeof UseLaser === "object" && "id" in UseLaser ? UseLaser === null || UseLaser === void 0 ? void 0 : UseLaser.id : undefined, value: typeof UseLaser === "object" && "value" in UseLaser ? UseLaser === null || UseLaser === void 0 ? void 0 : UseLaser.value : UseLaser, isRaw: typeof UseLaser === "object" && "isRaw" in UseLaser && UseLaser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "BlockPrimaryWhenTouching", id: typeof BlockPrimaryWhenTouching === "object" && "id" in BlockPrimaryWhenTouching ? BlockPrimaryWhenTouching === null || BlockPrimaryWhenTouching === void 0 ? void 0 : BlockPrimaryWhenTouching.id : undefined, value: typeof BlockPrimaryWhenTouching === "object" && "value" in BlockPrimaryWhenTouching ? BlockPrimaryWhenTouching === null || BlockPrimaryWhenTouching === void 0 ? void 0 : BlockPrimaryWhenTouching.value : BlockPrimaryWhenTouching, isRaw: typeof BlockPrimaryWhenTouching === "object" && "isRaw" in BlockPrimaryWhenTouching && BlockPrimaryWhenTouching.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "UseSecondary", id: typeof UseSecondary === "object" && "id" in UseSecondary ? UseSecondary === null || UseSecondary === void 0 ? void 0 : UseSecondary.id : undefined, value: typeof UseSecondary === "object" && "value" in UseSecondary ? UseSecondary === null || UseSecondary === void 0 ? void 0 : UseSecondary.value : UseSecondary, isRaw: typeof UseSecondary === "object" && "isRaw" in UseSecondary && UseSecondary.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "AllowUseWhenHolding", id: typeof AllowUseWhenHolding === "object" && "id" in AllowUseWhenHolding ? AllowUseWhenHolding === null || AllowUseWhenHolding === void 0 ? void 0 : AllowUseWhenHolding.id : undefined, value: typeof AllowUseWhenHolding === "object" && "value" in AllowUseWhenHolding ? AllowUseWhenHolding === null || AllowUseWhenHolding === void 0 ? void 0 : AllowUseWhenHolding.value : AllowUseWhenHolding, isRaw: typeof AllowUseWhenHolding === "object" && "isRaw" in AllowUseWhenHolding && AllowUseWhenHolding.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "Equipped", id: typeof Equipped === "object" && "id" in Equipped ? Equipped === null || Equipped === void 0 ? void 0 : Equipped.id : undefined, value: typeof Equipped === "object" && "value" in Equipped ? Equipped === null || Equipped === void 0 ? void 0 : Equipped.value : Equipped, isRaw: typeof Equipped === "object" && "isRaw" in Equipped && Equipped.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncType", name: "ControllerType", id: typeof ControllerType === "object" && "id" in ControllerType ? ControllerType === null || ControllerType === void 0 ? void 0 : ControllerType.id : undefined, value: typeof ControllerType === "object" && "value" in ControllerType ? ControllerType === null || ControllerType === void 0 ? void 0 : ControllerType.value : ControllerType, isRaw: typeof ControllerType === "object" && "isRaw" in ControllerType && ControllerType.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.Chirality]", name: "ControllerSide", id: typeof ControllerSide === "object" && "id" in ControllerSide ? ControllerSide === null || ControllerSide === void 0 ? void 0 : ControllerSide.id : undefined, value: typeof ControllerSide === "object" && "value" in ControllerSide ? ControllerSide === null || ControllerSide === void 0 ? void 0 : ControllerSide.value : ControllerSide, isRaw: typeof ControllerSide === "object" && "isRaw" in ControllerSide && ControllerSide.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Single]", name: "PrimaryStrength", id: typeof PrimaryStrength === "object" && "id" in PrimaryStrength ? PrimaryStrength === null || PrimaryStrength === void 0 ? void 0 : PrimaryStrength.id : undefined, value: typeof PrimaryStrength === "object" && "value" in PrimaryStrength ? PrimaryStrength === null || PrimaryStrength === void 0 ? void 0 : PrimaryStrength.value : PrimaryStrength, isRaw: typeof PrimaryStrength === "object" && "isRaw" in PrimaryStrength && PrimaryStrength.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[BaseX.float2]", name: "SecondaryAxis", id: typeof SecondaryAxis === "object" && "id" in SecondaryAxis ? SecondaryAxis === null || SecondaryAxis === void 0 ? void 0 : SecondaryAxis.id : undefined, value: typeof SecondaryAxis === "object" && "value" in SecondaryAxis ? SecondaryAxis === null || SecondaryAxis === void 0 ? void 0 : SecondaryAxis.value : SecondaryAxis, isRaw: typeof SecondaryAxis === "object" && "isRaw" in SecondaryAxis && SecondaryAxis.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "Primary", id: typeof Primary === "object" && "id" in Primary ? Primary === null || Primary === void 0 ? void 0 : Primary.id : undefined, value: typeof Primary === "object" && "value" in Primary ? Primary === null || Primary === void 0 ? void 0 : Primary.value : Primary, isRaw: typeof Primary === "object" && "isRaw" in Primary && Primary.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "Secondary", id: typeof Secondary === "object" && "id" in Secondary ? Secondary === null || Secondary === void 0 ? void 0 : Secondary.id : undefined, value: typeof Secondary === "object" && "value" in Secondary ? Secondary === null || Secondary === void 0 ? void 0 : Secondary.value : Secondary, isRaw: typeof Secondary === "object" && "isRaw" in Secondary && Secondary.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ValueStream`1[System.Single]]", name: "_primaryStrengthStream", id: typeof _primaryStrengthStream === "object" && "id" in _primaryStrengthStream ? _primaryStrengthStream === null || _primaryStrengthStream === void 0 ? void 0 : _primaryStrengthStream.id : undefined, value: typeof _primaryStrengthStream === "object" && "value" in _primaryStrengthStream ? _primaryStrengthStream === null || _primaryStrengthStream === void 0 ? void 0 : _primaryStrengthStream.value : _primaryStrengthStream, isRaw: typeof _primaryStrengthStream === "object" && "isRaw" in _primaryStrengthStream && _primaryStrengthStream.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ValueStream`1[BaseX.float2]]", name: "_secondaryAxisStream", id: typeof _secondaryAxisStream === "object" && "id" in _secondaryAxisStream ? _secondaryAxisStream === null || _secondaryAxisStream === void 0 ? void 0 : _secondaryAxisStream.id : undefined, value: typeof _secondaryAxisStream === "object" && "value" in _secondaryAxisStream ? _secondaryAxisStream === null || _secondaryAxisStream === void 0 ? void 0 : _secondaryAxisStream.value : _secondaryAxisStream, isRaw: typeof _secondaryAxisStream === "object" && "isRaw" in _secondaryAxisStream && _secondaryAxisStream.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ValueStream`1[System.Boolean]]", name: "_primaryStream", id: typeof _primaryStream === "object" && "id" in _primaryStream ? _primaryStream === null || _primaryStream === void 0 ? void 0 : _primaryStream.id : undefined, value: typeof _primaryStream === "object" && "value" in _primaryStream ? _primaryStream === null || _primaryStream === void 0 ? void 0 : _primaryStream.value : _primaryStream, isRaw: typeof _primaryStream === "object" && "isRaw" in _primaryStream && _primaryStream.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ValueStream`1[System.Boolean]]", name: "_secondaryStream", id: typeof _secondaryStream === "object" && "id" in _secondaryStream ? _secondaryStream === null || _secondaryStream === void 0 ? void 0 : _secondaryStream.id : undefined, value: typeof _secondaryStream === "object" && "value" in _secondaryStream ? _secondaryStream === null || _secondaryStream === void 0 ? void 0 : _secondaryStream.value : _secondaryStream, isRaw: typeof _secondaryStream === "object" && "isRaw" in _secondaryStream && _secondaryStream.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "_rawStrength", id: typeof _rawStrength === "object" && "id" in _rawStrength ? _rawStrength === null || _rawStrength === void 0 ? void 0 : _rawStrength.id : undefined, value: typeof _rawStrength === "object" && "value" in _rawStrength ? _rawStrength === null || _rawStrength === void 0 ? void 0 : _rawStrength.value : _rawStrength, isRaw: typeof _rawStrength === "object" && "isRaw" in _rawStrength && _rawStrength.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "_rawAxis", id: typeof _rawAxis === "object" && "id" in _rawAxis ? _rawAxis === null || _rawAxis === void 0 ? void 0 : _rawAxis.id : undefined, value: typeof _rawAxis === "object" && "value" in _rawAxis ? _rawAxis === null || _rawAxis === void 0 ? void 0 : _rawAxis.value : _rawAxis, isRaw: typeof _rawAxis === "object" && "isRaw" in _rawAxis && _rawAxis.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_rawPrimary", id: typeof _rawPrimary === "object" && "id" in _rawPrimary ? _rawPrimary === null || _rawPrimary === void 0 ? void 0 : _rawPrimary.id : undefined, value: typeof _rawPrimary === "object" && "value" in _rawPrimary ? _rawPrimary === null || _rawPrimary === void 0 ? void 0 : _rawPrimary.value : _rawPrimary, isRaw: typeof _rawPrimary === "object" && "isRaw" in _rawPrimary && _rawPrimary.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_rawSecondary", id: typeof _rawSecondary === "object" && "id" in _rawSecondary ? _rawSecondary === null || _rawSecondary === void 0 ? void 0 : _rawSecondary.id : undefined, value: typeof _rawSecondary === "object" && "value" in _rawSecondary ? _rawSecondary === null || _rawSecondary === void 0 ? void 0 : _rawSecondary.value : _rawSecondary, isRaw: typeof _rawSecondary === "object" && "isRaw" in _rawSecondary && _rawSecondary.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "UniqueTutorialKey", id: typeof UniqueTutorialKey === "object" && "id" in UniqueTutorialKey ? UniqueTutorialKey === null || UniqueTutorialKey === void 0 ? void 0 : UniqueTutorialKey.id : undefined, value: typeof UniqueTutorialKey === "object" && "value" in UniqueTutorialKey ? UniqueTutorialKey === null || UniqueTutorialKey === void 0 ? void 0 : UniqueTutorialKey.value : UniqueTutorialKey, isRaw: typeof UniqueTutorialKey === "object" && "isRaw" in UniqueTutorialKey && UniqueTutorialKey.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "PrimaryTutorialDescription", id: typeof PrimaryTutorialDescription === "object" && "id" in PrimaryTutorialDescription ? PrimaryTutorialDescription === null || PrimaryTutorialDescription === void 0 ? void 0 : PrimaryTutorialDescription.id : undefined, value: typeof PrimaryTutorialDescription === "object" && "value" in PrimaryTutorialDescription ? PrimaryTutorialDescription === null || PrimaryTutorialDescription === void 0 ? void 0 : PrimaryTutorialDescription.value : PrimaryTutorialDescription, isRaw: typeof PrimaryTutorialDescription === "object" && "isRaw" in PrimaryTutorialDescription && PrimaryTutorialDescription.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "SecondaryTutorialDescription", id: typeof SecondaryTutorialDescription === "object" && "id" in SecondaryTutorialDescription ? SecondaryTutorialDescription === null || SecondaryTutorialDescription === void 0 ? void 0 : SecondaryTutorialDescription.id : undefined, value: typeof SecondaryTutorialDescription === "object" && "value" in SecondaryTutorialDescription ? SecondaryTutorialDescription === null || SecondaryTutorialDescription === void 0 ? void 0 : SecondaryTutorialDescription.value : SecondaryTutorialDescription, isRaw: typeof SecondaryTutorialDescription === "object" && "isRaw" in SecondaryTutorialDescription && SecondaryTutorialDescription.isRaw ? true : undefined })] })));
}
exports.RawDataTooltip = RawDataTooltip;
;