Avorion Script API Documentation

BlockStatistics

function BlockStatistics()

This is the default constructor of BlockStatistics. No further arguments are required.

Returns

A new instance of BlockStatistics

property vec3 averageSize[read-only]
property double cargoHold[read-only]
property vec3 centerOfMass[read-only]
property double durability[read-only]
property double energyYield[read-only]
property dvec3 gyroPower[read-only]
property double hangarSpace[read-only]
property double height[read-only]
property double hyperspacePower[read-only]
property double inertiaDampening[read-only]
property double length[read-only]
property double maintenance[read-only]
property double mass[read-only]
property vec3 momentOfInertia[read-only]
property double pitch[read-only]
property double processingPower[read-only]
property double productionCapacity[read-only]
property double radarRadius[read-only]
property double roll[read-only]
property double shield[read-only]
property double storableEnergy[read-only]
property double thrust[read-only]
property vec3 thrusterPower[read-only]
property double torpedoSpace[read-only]
property double volume[read-only]
property double width[read-only]
property double yaw[read-only]

function double getBlockEnergyDrain(int blockIndex)

function unsigned int getBlockNumber(int blockIndex)

function double getBlockVolume(int blockIndex)

function double getTotalEnergyDrain()

Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7