Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this._rotatable = calculateBooleanTagValue(
calc,
bot,
`aux.context.rotatable`,
true
);
this._inventoryVisible = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.visible`,
true
);
this._inventoryPannable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.pannable`,
false
);
this._inventoryResizable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.resizable`,
true
);
this._inventoryRotatable = calculateBooleanTagValue(
calc,
bot,
private _calculateUserAccountInfo(
context: BotCalculationContext,
bot: Bot
): UserAccountInfo {
return {
username: calculateBotValue(context, bot, 'aux.account.username'),
roles: getBotRoles(context, bot),
locked: calculateBooleanTagValue(
context,
bot,
'aux.account.locked',
false
),
};
}
this._zoomMax = calculateNumericalTagValue(
calc,
bot,
`aux.context.zoomable.max`,
null
);
this._rotatable = calculateBooleanTagValue(
calc,
bot,
`aux.context.rotatable`,
true
);
this._inventoryVisible = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.visible`,
true
);
this._inventoryPannable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.pannable`,
false
);
this._inventoryResizable = calculateBooleanTagValue(
calc,
bot,
this._zoomMin = calculateNumericalTagValue(
calc,
bot,
`aux.context.zoomable.min`,
null
);
this._zoomMax = calculateNumericalTagValue(
calc,
bot,
`aux.context.zoomable.max`,
null
);
this._rotatable = calculateBooleanTagValue(
calc,
bot,
`aux.context.rotatable`,
true
);
this._inventoryVisible = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.visible`,
true
);
this._inventoryPannable = calculateBooleanTagValue(
calc,
bot,
this._inventoryVisible = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.visible`,
true
);
this._inventoryPannable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.pannable`,
false
);
this._inventoryResizable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.resizable`,
true
);
this._inventoryRotatable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.rotatable`,
true
);
this._inventoryZoomable = calculateBooleanTagValue(
calc,
bot,
this._inventoryPannable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.pannable`,
false
);
this._inventoryResizable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.resizable`,
true
);
this._inventoryRotatable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.rotatable`,
true
);
this._inventoryZoomable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.zoomable`,
true
);
this._inventoryHeight = calculateNumericalTagValue(
calc,
bot,
private _calculateUserTokenInfo(
context: BotCalculationContext,
bot: Bot
): UserTokenInfo {
return {
id: bot.id,
token: calculateBotValue(context, bot, 'aux.token'),
username: calculateBotValue(context, bot, 'aux.token.username'),
locked: calculateBooleanTagValue(
context,
bot,
'aux.token.locked',
false
),
};
}
this._inventoryResizable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.resizable`,
true
);
this._inventoryRotatable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.rotatable`,
true
);
this._inventoryZoomable = calculateBooleanTagValue(
calc,
bot,
`aux.context.inventory.zoomable`,
true
);
this._inventoryHeight = calculateNumericalTagValue(
calc,
bot,
`aux.context.inventory.height`,
0
);
this._playerZoom = calculateNumericalTagValue(
calc,
bot,
this._panMinY = calculateNumericalTagValue(
calc,
bot,
`aux.context.pannable.min.y`,
null
);
this._panMaxY = calculateNumericalTagValue(
calc,
bot,
`aux.context.pannable.max.y`,
null
);
this._zoomable = calculateBooleanTagValue(
calc,
bot,
`aux.context.zoomable`,
true
);
this._zoomMin = calculateNumericalTagValue(
calc,
bot,
`aux.context.zoomable.min`,
null
);
this._zoomMax = calculateNumericalTagValue(
calc,
bot,