import {BeltReaderComponent} from 'shapez.io/js/game/components/belt_reader.js'BeltReaderComponent
Extends:
Static Method Summary
| Static Public Methods | ||
| public static |
|
|
| public static |
getSchema(): {"lastItem": *} |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
Which item passed the reader last |
|
| public |
Which items went through the reader, we only store the time |
|
| public |
Stores the last throughput we computed |
|
| public |
Stores when we last computed the throughput |
|
Inherited Summary
| From class BasicSerializableObject | ||
| public static |
|
|
| public static |
getId() |
|
| public static |
Should return the serialization schema |
|
| public static |
|
|
| public |
deserialize(data: any, root: import("./savegame_serializer").GameRoot): string | void |
|
| public |
|
|
| From class Component | ||
| public static |
Returns the components unique id |
|
| public static |
getSchema(): {} Should return the schema used for serialization |
|
| public |
copyAdditionalStateTo(otherComponent: Component) Copy the current state to another component |
|
| public |
Returns a string representing the components data, only in dev builds |
|
Static Public Methods
public static getSchema(): {"lastItem": *} source
Should return the schema used for serialization
Override:
Component#getSchemaReturn:
| {"lastItem": *} |
Public Constructors
public constructor() source
Fixes typeof DerivedComponent is not assignable to typeof Component, compiled out in non-dev builds
