This class represents a binding between in-game objects (Implementing IPlannerObject interface) and plan-space World Objects
More...
This class represents a binding between in-game objects (Implementing IPlannerObject interface) and plan-space World Objects
◆ GetObjectByIndex< ObjectClass >()
ObjectClass Grail.Planning.ObjectIndexBinding.GetObjectByIndex< ObjectClass > |
( |
int |
index | ) |
|
|
inline |
Attempts to get IPlannerObject corresponding to the given WorldObject index and cast it to the specified ObjectClass
- Type Constraints
-
ObjectClass | : | class | |
ObjectClass | : | IPlannerObject | |
◆ TryGetIndexOfObject()
bool Grail.Planning.ObjectIndexBinding.TryGetIndexOfObject |
( |
IPlannerObject |
plannerObject, |
|
|
out int |
index |
|
) |
| |
|
inline |
Attempts to get WorldObject index corresponding to the given IPlannerObject Returns true if a proper value has been assigned to outIndex, false otherwise
The documentation for this class was generated from the following file:
- GrailPlanners/source/Planning/ObjectIndexBinding.cs