Simutrans-Squirrel-API
Public Member Functions | List of all members
obj_desc_x Class Reference
Inheritance diagram for obj_desc_x:
extend_get factory_desc_x good_desc_x obj_desc_time_x tree_desc_x building_desc_x obj_desc_transport_x bridge_desc_x sign_desc_x tunnel_desc_x vehicle_desc_x way_desc_x wayobj_desc_x

Public Member Functions

string get_name ()
 
bool is_equal (obj_desc_x other)
 
bool is_valid ()
 

Detailed Description

Base class of all object descriptors.

Definition at line 14 of file api_obj_desc.cc.

Member Function Documentation

◆ get_name()

string obj_desc_x::get_name ( )
Returns
raw (untranslated) name

◆ is_equal()

bool obj_desc_x::is_equal ( obj_desc_x  other)

Checks if two object descriptor are equal.

Parameters
other
Returns
true if this==other

◆ is_valid()

bool obj_desc_x::is_valid ( )
Returns
if object is still valid.

The documentation for this class was generated from the following file: