Definition at line 228 of file C4Command.cpp.
◆ ObjectAddWaypoint()
ObjectAddWaypoint::ObjectAddWaypoint |
( |
C4Object * |
obj | ) |
|
|
inlineexplicit |
◆ operator()()
bool ObjectAddWaypoint::operator() |
( |
int32_t |
iX, |
|
|
int32_t |
iY, |
|
|
C4Object * |
TransferTarget |
|
) |
| |
|
inline |
Definition at line 231 of file C4Command.cpp.
233 if (!cObj)
return false;
243 int32_t iUpdate = 25;
bool AdjustSolidOffset(int32_t &rX, int32_t &rY, int32_t iXOff, int32_t iYOff)
bool AddCommand(int32_t iCommand, C4Object *pTarget, C4Value iTx, int32_t iTy=0, int32_t iUpdateInterval=0, C4Object *pTarget2=nullptr, bool fInitEvaluation=true, C4Value iData=C4VNull, bool fAppend=false, int32_t iRetries=0, C4String *szText=nullptr, int32_t iBaseMode=0)
References C4Object::AddCommand(), AdjustSolidOffset(), C4CMD_MoveTo, C4CMD_Transfer, C4Command::Command, C4Object::Command, C4Command::Data, C4Rect::Hgt, C4Object::Shape, and C4Rect::Wdt.
The documentation for this struct was generated from the following file: