Query
Browse its members and the signatures that accept or return this type.
Members
34Expand a member to read its notes or open its full entry. Each overload keeps its own identity.
| Member | Signature and description |
|---|---|
| void Query::Erase()Invokes a virtual operation on query members that lack a particular object flag. The meaning of that flag is not documented. |
| void Query::SetPlayer(int)Passes the script player value minus one to each live Query member's virtual slot [field]. |
| int Query::Damage(int)Calls virtual damage slot [field] on eligible Query members and counts nonzero call results. |
| void Query::Heal(int)Adds a signed amount to eligible query members' health and clamps each result to maximum health. |
| void Query::HealStamina(int)Adds an integer amount to eligible Query members' stamina and caps it at each member's maximum. |
| void Query::AddDefCmd(point, Obj, bool, bool)Resolves Query and optional Obj, passes point, target ID or 65535 and two normalized flags to the default-command dispatch chain. |
| Query | bool Query::IsValid()Description pendingDescription pending. |
| int Query::count()Returns the result container's count for a resolved Query, or zero for an invalid receiver. |
| bool Query::IsEmpty()Returns whether a resolved Query's virtual emptiness predicate is nonzero, with true for an invalid receiver. |
| bool Query::Contains(Obj)Passes an Obj value to a resolved Query's membership predicate and returns its boolean result. |
| void Query::ClearCommands()For each live member of a resolved Query, calls virtual [field] with zero while the global gate is zero. |
| void Query::KillCommand()For each live Query member, calls [field] with zero while the global gate is zero. |
| void Query::AddCommand(bool, str)Dispatches factory mode zero for each live Query member and installs nonnull results with the normalized bool. |
| void Query::AddCommand(bool, str, point)Dispatches factory mode one with the unchanged point pair for each live Query member and installs nonnull results. |
| void Query::AddCommand(bool, str, Obj)Dispatches factory mode two with the raw Obj pair after validating its low-word registry slot, installing nonnull results on live Query members. |
| void Query::AddCommandOffset(bool, str, point)Transforms each live member position by requested point minus live-member average, then dispatches mode one without local clamping. |
| void Query::SetCommand(str)Calls virtual [field](0) before mode-zero factory dispatch and calls [field](0) after each live member attempt. |
| void Query::SetCommand(str, point)Creates and installs the requested point command on each valid object selected by a Query. |
| void Query::SetCommand(str, Obj)Constructs and installs an object-targeted command for each live member of a resolved Query. |
| void Query::SetCommandOffset(str, point)Translates member positions relative to the live-member average and clamps them before factory mode-one dispatch, after virtual [field](0). |
| ObjList Query::GetObjList()Returns a new ObjList copied from a resolved Query object's list-producing virtual method, or an empty list when resolution fails. |
| Query | Obj Query::NearestObj(point)Description pendingDescription pending. |
| Query | Obj Query::NearestObj(Obj)Description pendingDescription pending. |
| Query | void Query::AddToGroup(str)Dispatches live query members to the named group collection. |
| Query | void Query::RemoveFromGroup(str)Removes each live object in the query from the named group. |
| Query | void Query::RemoveFromAllGroups()Description pendingDescription pending. |
| Query | void Query::Face(point)Applies a face-point command to each live member of a query. |
| void Query::SetFood(int)Assigns a nonnegative food value to every unit-compatible live member of a query. |
| Query | int Query::InHolder(str)Counts the query's units that are inside the named settlement. |
| Query | void Query::AddToHolder(str)Attempts forced holder entry for unit-compatible members of the query. |
| point Query::GetAverageDirection()Returns the average direction of the query's objects, or a zero point for an empty or invalid query. |
| void Query::SetParty(bool)Dispatches unit-compatible query members to a Boolean-selected game virtual operation. |
| void Query::SetMessengerStatus(bool)Dispatches a mask to eligible script objects through a virtual operation selected by the boolean argument. |
| Query | void Query::SetFeeding(bool)Sets or clears a unit flag for eligible query members. |
Return this type
25| Member | Signature and description |
|---|---|
GroupGlobal | Query Group(str)Looks up a named group query and conditionally constructs and registers a replacement before returning its managed Query value. |
UnionGlobal | Query Union(Query, Query)Creates or reuses a composite Query node of operation code zero for two Query operands. |
IntersectGlobal | Query Intersect(Query, Query)Builds a composite Query from two resolved handles using selector 1 and returns its handle. |
SubstractGlobal | Query Substract(Query, Query)Description pendingDescription pending. |
SubtractGlobal | Query Subtract(Query, Query)Creates or reuses a composite Query node of operation code two for two Query operands. |
ClassPlayerAreaObjsGlobal | Query ClassPlayerAreaObjs(str, int, str)Description pendingDescription pending. |
ClassPlayerObjsGlobal | Query ClassPlayerObjs(str, int)Validates a player and class name, then returns a cached or newly built player-class Query. |
BuildingsInSettlementGlobal | Query BuildingsInSettlement(str, str)Description pendingDescription pending. |
UnitsInSettlementGlobal | Query UnitsInSettlement(str, str)Description pendingDescription pending. |
UnitsAroundSettlementGlobal | Query UnitsAroundSettlement(str, str)Description pendingDescription pending. |
UnitsGuardingSettlementGlobal | Query UnitsGuardingSettlement(str, str)Description pendingDescription pending. |
UnitsInSettlementGlobal | Query UnitsInSettlement(Settlement, str)Description pendingDescription pending. |
UnitsAroundSettlementGlobal | Query UnitsAroundSettlement(Settlement, str)Description pendingDescription pending. |
UnitsGuardingSettlementGlobal | Query UnitsGuardingSettlement(Settlement, str)Description pendingDescription pending. |
EnemyObjsGlobal | Query EnemyObjs(int, str)Validates a player and class string, requests a mode-two cached query and returns its managed Query value. |
FriendlyObjsGlobal | Query FriendlyObjs(int, str)Constructs a class-filtered Query for a specified player. |
ControllableObjsGlobal | Query ControllableObjs(int, str)Description pendingDescription pending. |
AreaObjsGlobal | Query AreaObjs(str, str)Returns a query with the objects inside the map area named by its first argument. Works with both rectangular and circular areas. |
ObjsInRectGlobal | Query ObjsInRect(rect, str)Builds a query from an inclusive rectangle and a resolved script-class filter. |
ObjsInCircleGlobal | Query ObjsInCircle(point, int, str)Returns a class-filtered spatial query centered on a point with a supplied radius. |
ObjsInSightGlobal | Query ObjsInSight(Obj, str)Builds a class-filtered query of objects visible to a resolved object. |
VisibleObjsInSightGlobal | Query VisibleObjsInSight(Obj, str)Builds a visibility-mode class-filtered Query around a resolved Obj. |
ObjsInRangeGlobal | Query ObjsInRange(Obj, str, int)Validates an Obj and class name, then returns a cached or newly built object-range Query. |
AttachedUnitsGlobal | Query AttachedUnits(Hero, str)Builds a class-filtered query of units attached to a resolved hero. |
PartyQueryGlobal | Query PartyQuery()Pushes a singleton query handle with its owned VM footer. |
Accept this type
20| Member | Signature and description |
|---|---|
UnionGlobal | Query Union(Query, Query)Creates or reuses a composite Query node of operation code zero for two Query operands. |
IntersectGlobal | Query Intersect(Query, Query)Builds a composite Query from two resolved handles using selector 1 and returns its handle. |
SubstractGlobal | Query Substract(Query, Query)Description pendingDescription pending. |
SubtractGlobal | Query Subtract(Query, Query)Creates or reuses a composite Query node of operation code two for two Query operands. |
=Global | void =(Query&, Query)Description pendingDescription pending. |
DistributeExperienceGlobal | void DistributeExperience(Query, int)Divides an unsigned experience amount across query members and adds the remainder to the first registry-live recipient. |
AttackAreaGlobal | void AttackArea(Query, str)Routes Query and area name to the shared dispatcher with the advance literal. |
MoveToAreaGlobal | void MoveToArea(Query, str)Routes Query and area name to the shared dispatcher with the move literal. |
NearestObjGlobal | Obj NearestObj(Query, point)Description pendingDescription pending. |
NearestObjGlobal | Obj NearestObj(Query, Obj)Description pendingDescription pending. |
WaitIdleGlobal | bool WaitIdle(Query, int)Implements the registered WaitIdle blocking predicate and timeout paths. |
WaitObjInQueryGlobal | bool WaitObjInQuery(Obj, Query, int)Implements the registered WaitObjInQuery blocking predicate and timeout paths. |
WaitQueryCountBetweenGlobal | bool WaitQueryCountBetween(Query, int, int, int)Implements the registered WaitQueryCountBetween blocking predicate and timeout paths. |
WaitCommonObjectsGlobal | bool WaitCommonObjects(Query, Query, int)Implements a blocking wait condition over two queries and schedules a retry interval when required. |
WaitHealthBetweenGlobal | bool WaitHealthBetween(Query, int, int, int)Implements the registered WaitHealthBetween blocking predicate and timeout paths. |
WaitConvRequestGlobal | bool WaitConvRequest(Query, Query, int, Obj&, Obj&)Description pendingDescription pending. |
WaitUnitsInAreaGlobal | bool WaitUnitsInArea(Query, str, int)WaitUnitsInArea tests a nonempty query collection using the area acceptance helper. |
WaitIdleUnitsInAreaGlobal | bool WaitIdleUnitsInArea(Query, str, int)WaitIdleUnitsInArea tests idle names in a nonempty area-filtered collection. |
WaitEmptyQueryGlobal | bool WaitEmptyQuery(Query, int)WaitEmptyQuery completes true when query virtual slot [field] returns nonzero. |
WaitNonEmptyQueryGlobal | bool WaitNonEmptyQuery(Query, int)WaitNonEmptyQuery completes true when query virtual slot [field] returns zero. |
Coverage and limits
30 / 34 members with a published description.
These lists come from published signatures. “Accept” counts explicit parameters, excluding the method receiver; reference variants (&) are included. No inheritance hierarchy is asserted. Undocumented names, units and effects remain unresolved.