Module-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
entity node
Link copied to clipboard
Link copied to clipboard
struct node_dto
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val CELLS_TO_IGNORE_PARAM: text = "cells_to_ignore"

Functions

Link copied to clipboard
function _get_required_key(args: map<text, gtv>, attribute_name: text): gtv
Link copied to clipboard
function _place_plot_node(node_prototype_name: text, location: location, rotation: grid_rotation, plot: instance, plot_id: integer): node
Link copied to clipboard
@extendable function deplete_node(node: node, args: map<text, gtv>)
Link copied to clipboard
@extendable function generate_node_attrs(node: node): map<text, gtv>
Link copied to clipboard
@extendable function generate_prototype_attrs(base_node_prototype: base_node_prototype): map<text, gtv>
Link copied to clipboard
function get_active_replenish_duration(configured_replenish_duration: integer): integer
Link copied to clipboard
function get_all_cells_for_plot_node(width: integer, height: integer, location: location, rotation: grid_rotation): set<location>
Link copied to clipboard
Link copied to clipboard
@extendable function on_node_creation(node: node, node_prototype_name: text, args: map<text, gtv>)
Link copied to clipboard
@extendable function on_node_prototype_creation(base_node_prototype: base_node_prototype, args: map<text, gtv>)
Link copied to clipboard
@extendable function on_node_prototype_update(base_node_prototype: base_node_prototype, args: map<text, gtv>)
Link copied to clipboard
@extendable function recharge_node(node: node)
Link copied to clipboard

Queries

Link copied to clipboard
@mount("plot_nodes.get_global_plot_nodes_config") query get_global_plot_nodes_config(): (enabled: boolean,)
Link copied to clipboard
@mount("plot_nodes.get_node_prototypes") query get_node_prototypes(): list<node_prototype_dto>
Link copied to clipboard
@mount("plot_nodes.get_nodes_on_plot") query get_nodes_on_plot(plot_id: integer): list<node_dto>

Operations

Link copied to clipboard
@mount("plot_nodes.create_node_prototype") operation create_node_prototype(node_prototype_type: node_prototype_type, name: text, width: integer, height: integer, args: map<text, gtv>)
Link copied to clipboard
@mount("plot_nodes.place_nodes_on_plot") operation place_nodes_on_plot(plot_id: integer, plot_nodes: list<place_node_dto>)
Link copied to clipboard
@mount("plot_nodes.relocate") operation relocate(account_id: byte_array, auth_descriptor_id: byte_array, relocate_actions: list<relocate_node_dto>)
Link copied to clipboard
@mount("plot_nodes.set_global_plot_nodes_config") operation set_global_plot_nodes_config(enabled: boolean)
Link copied to clipboard
@mount("plot_nodes.update_node_prototype") operation update_node_prototype(name: text, width: integer, height: integer, args: map<text, gtv>)