Component

From Cheat Engine

Jump to: navigation, search

Component class: (Inheritance: Object)

Base class for components.

Contents

[edit] Properties

ComponentCount : integer : Readonly
Number of child components.
Component[index] : Component : Readonly
Array containing the child components. Starts at 0.
ComponentByName[name] : Component : Readonly
Returns a component based on the name.
Name : string
The name of the component.
Tag : integer
Free to use storage space. (Usefull for id's)
Owner : Component
Returns the owner of this object. Nil if it has none.

[edit] Methods

getComponentCount() : integer
Returns the number of components attached to his component.
getComponent(index) : Component
Returns the specific component.
findComponentByName(name) : Component
Returns the component with this name.
getName() : string
Return the name.
setName(newName)
Changes the name.
getTag() : integer
Get the tag value.
setTag(tagValue)
Sets an integer value. You can use this for ID's.
getOwner() : Component
Returns the owner of this component

[edit] See also

[edit] Related Functions

[edit] Related Classes

Personal tools
Toolbox