/tg/ Station 13 - Modules - TypesVar Details - Proc Details

point_of_interest

Simple helper datum for points of interest.

Vars

poi_typeThe type of POI this datum references.
targetThe specific point of interest this datum references. This won't hard del as the POI element will be removed from the target when it qdels, which will clear this reference.

Procs

compare_toComparison proc used to sort POIs. Override to implement logic used doing binary sort insertions.
validateValidates the POI. Returns TRUE if the POI has valid state, returns FALSE if the POI has invalid state.

Var Details

poi_type

The type of POI this datum references.

target

The specific point of interest this datum references. This won't hard del as the POI element will be removed from the target when it qdels, which will clear this reference.

Proc Details

compare_to

Comparison proc used to sort POIs. Override to implement logic used doing binary sort insertions.

validate

Validates the POI. Returns TRUE if the POI has valid state, returns FALSE if the POI has invalid state.