This page has been translated automatically.
Программирование
Fundamentals
Setting Up Development Environment
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Fields Class

Warning
Game Framework is deprecated and no longer supported. We can't guarantee the stable work of the framework.

Implements and describes field methods of the entity.

The Fields class implementation can be found in the data/framework/game/fields.h file.

Fields Class

Members


string getBaseName()

Returns a parent class name.

Return value

Parent class name.

string getClassName()

Returns a class name.

Return value

Class name.

Field getField(variable index)

Returns a class field by its index.

Arguments

  • variable index - Field number if index is an integer; field name if the index is a string.

Return value

Class field.

int getNumFields()

Returns the number of the class fields.

Return value

Number of class fields.

Fields(variable instance)

Constructor. Creates a Fields class instance.

Arguments

  • variable instance - A user class instance with fields methods or a user class name.
Last update: 03.07.2017
Build: ()