| get_input_count(string) → uint64 or double | Gets the total input count for a given prototype. |
| set_input_count(string, count) | Sets the total input count for a given prototype. |
| get_output_count(string) → uint64 or double | Gets the total output count for a given prototype. |
| set_output_count(string, count) | Sets the total output count for a given prototype. |
| get_flow_count{name=…, input=…, precision_index=…, count=…} → double | Gets the flow count value for the given time frame. |
| on_flow(string, count) | Adds a value to this flow statistics. |
| input_counts :: dictionary string → array of uint64 or double [R] | List of input counts indexed by name <> value. |
| output_counts :: dictionary string → array of uint64 or double [R] | List of output counts indexed by name <> value. |
| force :: LuaForce [R] | The force these statistics belong to. |
| valid :: boolean [R] | Is this object valid? |
| help() → string | All methods, and properties that this object supports. |
Encapsulates statistic data for different parts of the game.
Gets the total input count for a given prototype.
Gets the total output count for a given prototype.
Gets the flow count value for the given time frame.
Adds a value to this flow statistics.
List of input counts indexed by name <> value.
List of output counts indexed by name <> value.
The force these statistics belong to.