Obj
Browse its members and the signatures that accept or return this type.
Members
151Expand a member to read its notes or open its full entry. Each overload keeps its own identity.
| Member | Signature and description |
|---|---|
| void Obj::Clear()Clears the Obj reference held by the variable on which it is called, leaving it without an associated object. |
| Obj | Unit Obj::AsUnit()Returns a Unit reference when the object has a compatible unit category. |
| Building Obj::AsBuilding()Returns a Building reference when the object has a compatible building category. |
| Hero Obj::AsHero()Returns a Hero reference when the object has the hero category; otherwise returns a null reference. |
| Druid Obj::AsDruid()Resolves the object reference and attempts a dynamic conversion to Druid. Returns a Druid reference on a match or a null reference otherwise. |
| Ghost Obj::AsGhost()Narrows an Obj reference to the Ghost interface and returns its registered reference. |
| Tower Obj::AsTower()returns a narrowed handle only when the resolved object carries category bit [field]. |
| Wagon Obj::AsWagon()Casts an Obj reference to the Wagon interface and returns a Wagon reference. |
| Catapult Obj::AsCatapult()Attempts a dynamic conversion of an Obj reference to Catapult and returns a Catapult reference on success. |
| ItemHolder Obj::AsItemHolder()Resolves an Obj and queries its ItemHolder interface to build an ItemHolder handle. |
| Barrack Obj::AsBarrack()Narrows an Obj reference to the Barrack interface and returns its registered reference. |
| Sacrifice Obj::AsSacrifice()Resolves an Obj and queries its Sacrifice interface to build a Sacrifice handle. |
| Obj | Ship Obj::AsShip()Casts an Obj reference to the Ship interface and returns a Ship reference. |
| Obj | Flying Obj::AsFlying()Description pendingDescription pending. |
| int Obj::race()Obj::race returns the dword at [field] of the resolved object's template and returns zero for an invalid object. |
| str Obj::raceStr()Returns the canonical race key for the resolved object template race, or an empty string for invalid resolution. |
| str Obj::raceStrPref()Returns the one-character prefix associated with the object's civilization. |
| str Obj::raceStrPrefLow()Returns the civilization prefix in lowercase, or an empty string for an invalid value. |
| int Obj::armor_slash()Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution. |
| int Obj::armor_pierce()Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution. |
| Obj | int Obj::health()Returns the object's current health, or zero for an invalid object. |
| int Obj::stamina()Obj::stamina returns the resolved object's four-byte field at [field] or zero for an invalid handle. |
| Obj | int Obj::maxhealth()Returns the object's maximum health, or zero for an invalid object. |
| int Obj::maxstamina()Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution. |
| int Obj::sight()Obj::sight returns the 32-bit value at resolved object [field] and returns zero for an invalid object. |
| point Obj::pos()Returns the object's position as a point. An invalid object returns zero coordinates. |
| point Obj::posRH()Resolves an Obj handle and returns an eight-byte point from virtual slot [field]. |
| int Obj::damage()Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution. |
| int Obj::attack()Shared native accessor that returns object dword [field] for both damage and attack script members. |
| int Obj::damage_type()Obj::damage_type resolves an Obj, follows its pointer at [field], and returns the dword at [field], with integer 3 as the invalid-object fallback. |
| int Obj::range()Obj::range returns a resolved object's dword at [field] and returns zero for an invalid Obj handle. |
| int Obj::min_range()Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution. |
| int Obj::radius()Obj::radius returns the dword at [field] of the resolved object's template and returns zero for an invalid object. |
| str Obj::name()Description pendingDescription pending. |
| Obj | bool Obj::IsHeirOf(str)Obj::IsHeirOf delegates class ancestry testing for a resolved Obj. |
| Obj | bool Obj::IsSentry()Checks whether the object belongs to the Sentry class or a derived class. |
| Obj | bool Obj::IsGate()Checks whether the object belongs to the Gate class or a derived class. |
| bool Obj::IsRam()Tests whether the resolved object class inherits from the cached RamUnit descriptor. |
| Obj | bool Obj::IsRanged()Resolves an Obj handle and returns a sentinel-based property test. |
| bool Obj::IsMilitary()Checks whether the object belongs to the Military class or a derived class. |
| bool Obj::IsReligious()Tests whether the resolved object class inherits from the cached BaseMage descriptor. |
| Obj | bool Obj::IsPeaceful()Checks whether the object belongs to the Peaceful or Animal class. |
| bool Obj::IsPeasant()Checks whether the object belongs to the Peasant class or a derived class. |
| bool Obj::IsPeasantAmbient()Tests whether the resolved object class inherits from the cached PeasantAmbient descriptor. |
| Obj | void Obj::SetHealth(int)Resolves an Obj and forwards an integer to virtual slot [field]. |
| void Obj::SetMaxHealth(int)SetMaxHealth and SetMaxStamina directly write their integer arguments at object [field] and [field]. |
| void Obj::SetStamina(int)Resolves an Obj handle and delegates an integer stamina value through virtual slot [field]. |
| void Obj::SetMaxStamina(int)SetMaxHealth and SetMaxStamina directly write their integer arguments at object [field] and [field]. |
| void Obj::SetSight(int)Description pendingDescription pending. |
| int Obj::GetStaminaDecTime()GetStaminaDecTime returns max(signed object [field], zero) after an unguarded field dereference. |
| int Obj::CmdCount()Returns the number of commands in the object's queue. Returns zero if the reference cannot be resolved or the object is considered destroyed. |
| Obj | int Obj::CmdCount(str)Counts queued commands with the specified name. |
| void Obj::ClearCommands()Clears commands on an eligible resolved object outside the guarded global mode. |
| void Obj::KillCommand()Cancels or updates a valid object's command state when the local gates allow it. |
| Obj | void Obj::AddCommand(bool, str)creates and enqueues a named command on a target object. |
| Obj | void Obj::AddCommand(bool, str, point)Adds a named command with a point as its target. |
| Obj | void Obj::AddCommand(bool, str, Obj)Adds a named command with an object as its target. |
| void Obj::SneakCommand(str)Creates a named command under local guards, submits two candidates and updates command state. |
| void Obj::SetCommand(str)Creates and submits a named command for the object, without an additional target. |
| void Obj::SetCommand(str, point)Creates and submits a named command for the object with a point as its target. |
| void Obj::SetCommand(str, Obj)Creates and submits a named command for the object with another object as its target. |
| void Obj::ExecDefaultCmd(point, Obj, bool, bool)Builds a one-receiver packet for default-command dispatch with point, target identifier and normalized flags. |
| void Obj::ExecCmd(str, point, Obj, bool)Validates an object and named command, then dispatches it with script arguments. |
| void Obj::CmdDisable(str)Resolves the supplied command name through registry virtual [field] and dispatches nonnegative results through object virtual [field]. |
| void Obj::CmdEnable(str)Resolves the supplied command name through registry virtual [field] and dispatches nonnegative results through object virtual [field]. |
| bool Obj::IsValid()Checks whether the object reference resolves to an available object. This does not describe whether that object is alive. |
| int Obj::DistTo(point)Obj::DistTo computes distance from an Obj to a point and subtracts its template offset. |
| int Obj::DistTo(Obj)Returns the distance between the edges of two objects. The result retains its sign; the distance unit is not specified here. |
| bool Obj::IsEnemy(Obj)Checks whether the objects belong to enemy players. Returns false for allies or invalid objects. |
| bool Obj::IsAlive()Evaluates whether an object is alive by querying its virtual destruction slot at [field] and inverting the result. |
| Obj | bool Obj::IsDead()Returns true when the object is dead or the reference cannot be resolved. |
| bool Obj::IsValidTarget(Obj)Resolves two object handles and tests the target with a receiver virtual predicate. |
| bool Obj::IsValidCaptureTarget(Obj)Description pendingDescription pending. |
| void Obj::SetVisible(bool)Requests a visibility update for the object using the supplied boolean. Conditions that can affect visibility still need a practical explanation. |
| bool Obj::IsVisible()Obj::IsVisible returns the inverse of bit 21 in the resolved object's dword at [field], or false when resolution fails. |
| void Obj::SetMessengerStatus(bool)Resolves an Obj and selects one of two virtual status operations from a boolean argument. |
| Obj | bool Obj::CanSee(Obj)Obj::CanSee combines a target flag with an observer-mask intersection. |
| bool Obj::CanAttack(Obj)Tests the receiver target-eligibility gate and radius-adjusted signed inclusive attack range. |
| Obj | void Obj::Erase()Forwards Obj::Erase to a receiver virtual method. |
| int Obj::player()Obj::player reads the resolved object's owner record index, adds one, and returns minus one for an invalid object. |
| Obj | void Obj::SetPlayer(int)Changes the object's owner. Player numbers start at one. |
| bool Obj::Damage(int)Applies a nonnegative damage amount through an object's virtual damage operation after an optional related-object call. |
| Obj | void Obj::Heal(int)Increases health up to the object's maximum health. |
| void Obj::HealStamina(int)HealStamina forwards a wrap32 stamina sum bounded by a signed maximum comparison to receiver virtual [field]. |
| void Obj::SetPos(point)Description pendingDescription pending. |
| void Obj::SetPosSimple(point)Clamps the supplied point and invokes virtual placement with two true flags. |
| void Obj::SetBlind(bool)Selects one of two virtual operations on a mask according to the supplied boolean. |
| void Obj::Face(point)Initializes an object command context, sets its facing point and conditionally invokes its command-update virtual method. |
| point Obj::GetDir()Returns two 32-bit components from the resolved Obj. If resolution fails, returns the default vector (0, 1). |
| Obj | void Obj::Progress()Implements a VM wait phase around an object's queued command progress. |
| void Obj::Progress(int)Requests a script wait associated with an object's command progress, using the supplied duration. This overload uses the integer argument in the script wait counter and records the progress start and end times. |
| int Obj::cmddelay()Returns the delay-related value read from an object's command queue. Returns zero if the object cannot be resolved or the link to the queried command data is missing. |
| bool Obj::IsInGroup(str)Looks up the string key and returns the normalized result of found-group virtual [field] for the resolved Obj. |
| Obj | void Obj::AddToGroup(str)Adds the object to a named group, creating the group if necessary. |
| void Obj::RemoveFromGroup(str)Looks up the supplied string key and calls [field] with the found object and resolved Obj when lookup status is zero. |
| void Obj::RemoveFromAllGroups()Resolves one Obj reference, visits a temporary query snapshot and invokes a member-removal helper for each snapshot node. |
| void Obj::SetName(str)Passes the string payload pointer and the resolved Obj to an implementation operation. |
| void Obj::Select(int)Adds an eligible Obj to active-player selection when the supplied player matches the current player. |
| void Obj::Deselect(int)Calls the selection helper with mode one only when the supplied player slot matches game [field]. |
| Obj | void Obj::Deselect()Removes the object from the selection. |
| Obj | void Obj::PlayAnim(int, point)Requests a script-object animation and returns the VM suspension code. |
| int Obj::GetAnimTime(int)GetAnimTime decrements its integer index and reads selected descriptor entry [field], returning zero for missing descriptors. |
| Obj | void Obj::StartAnim(int, point)Prepares and requests an animation with an optional target point. |
| void Obj::StartDelayedAnim(int, point, int)Normalizes an equal-current point and forwards a decremented animation identifier with a final integer. |
| int Obj::TimeToActionMoment()Wraps an object action-window query and returns the remaining time to its action moment. |
| int Obj::TimeToAnimFinish()Returns the positive difference between animation finish time and the object's clock. |
| int Obj::GetAnim()Obj::GetAnim returns Obj [field] plus one when nonnegative and zero otherwise. |
| void Obj::SetState(int)Forwards a decremented state identifier and preserves an anomalous invalid-receiver VM zero push. |
| bool Obj::AddItem(str)Attempts to add an item with the specified name and returns whether it succeeded. |
| bool Obj::GiveItem(Item, Obj)Transfers an owned item to another live object. If the destination cannot accept it, the transfer attempts to return it to the source. |
| Obj | bool Obj::OpenItemHolder(ItemHolder)Transfers items from a holder into an eligible object's inventory. |
| Obj | bool Obj::PutItem(Item, ItemHolder)Moves an inventory item into the specified item holder. |
| bool Obj::DropItem(Item, point)Requests that a specified receiver item be dropped at a point while returning false. |
| Item Obj::FindItem(str)Description pendingDescription pending. |
| Obj | void Obj::RemoveItem(int)RemoveItem int dispatches removal after signed one-based bounds. |
| Obj | void Obj::RemoveItem(str)RemoveItem str dispatches removal after nonnegative name lookup. |
| Obj | void Obj::RemoveAllItems()RemoveAllItems repeats virtual removal until count is zero. |
| Obj | bool Obj::ExchangeItem(Item, str)ExchangeItem returns true after a gated replacement dispatch. |
| Obj | Item Obj::GetItem(int)GetItem builds a handle from the virtual lookup result. |
| int Obj::RemoveItemsOfType(str)Removes all inventory items with the specified type name and returns the number removed. |
| Obj | int Obj::GetItemIndex(Item)GetItemIndex increments the virtual index result. |
| Obj | int Obj::items_count()items_count returns virtual slot [field] or zero. |
| Obj | int Obj::free_item_slots()free_item_slots subtracts two virtual values without clamping. |
| int Obj::item_count()Returns the receiver item count through virtual slot [field], or zero for an invalid handle. |
| int Obj::max_items()Returns the resolved object's item-capacity value through virtual slot [field]. |
| point Obj::ClipDestToMap(point)Obj::ClipDestToMap ignores the object handle and clamps the point coordinates to the global map bounding rect at offset [field] of [shared state]. |
| void Obj::pr(str)Formats the supplied HX string under a receiver-field gate and releases it on every normal path. |
| void Obj::pr(int)Formats the supplied integer through chat dispatch when the receiver field matches the global gate. |
| void Obj::pr(Obj)Formats the unresolved payload handle pair when the receiver field matches the global gate. |
| Obj | bool Obj::GetDebug()GetDebug compares resolved object dword [field] with dword[[field]]. |
| void Obj::SetDebug(bool)SetDebug normalizes its byte Boolean to a dword 0/1 and forwards it through object virtual [field]. |
| Obj | str Obj::class()Returns a managed copy of a resolved object's class-template name. |
| str Obj::command()Obj::command copies the resolved object's small-string field at [field] into a managed CKS string, or returns an empty string for an invalid handle. |
| str Obj::command(int)Returns a queued command's name by index, starting at zero. Returns an empty string for an invalid object or index. |
| int Obj::_LastSelectionTime()Returns a 32-bit field of the resolved object, or the all-bits-set 32-bit sentinel if object resolution fails. |
| bool Obj::IsWaterUnit()IsWaterUnit returns whether the dword at object class [field] is nonzero. |
| void Obj::SetCmdEnable(bool)SetCmdEnable writes normalized bool to object [field] only after virtual [field] returns zero. |
| bool Obj::GetCmdEnable()GetCmdEnable tests object [field] only when virtual [field] returns zero. |
| void Obj::AddToStoreBin()Passes the resolved Obj to the next operation without checking for a null reference. |
| void Obj::RemoveFromStoreBin()Passes the resolved Obj to the next operation without checking for a null reference. |
| bool Obj::IsInState()Returns true when a search of the resolved receiver for a particular state entry finds no match. The meaning of that entry is not documented. |
| void Obj::PlaySound(str)Adapts script string and object arguments to the spatial sound playback method [field] and releases the string reference. |
| void Obj::ShowFloatText(str)Submits string payload with a virtual point whose second coordinate is decreased by 120. |
| Gate Obj::AsGate()Queries the resolved Obj for its Gate component and returns a Gate reference or an invalid-reference sentinel. |
| Teleport Obj::AsTeleport()Resolves an Obj and queries its Teleport interface to build a Teleport handle. |
| Obj | int Obj::LSA()Obj::LSA resolves a handle and forwards the full helper result. |
| bool Obj::HasItem(str)Calls a resolved object's virtual item-name lookup and returns whether its integer result is nonnegative. |
| Obj | bool Obj::UseItem(str)Finds a named item on an Obj and runs its OnUse script when present. |
| void Obj::MistAction(int)Processes a temporary collection, accepting nonnull entries only when they carry a particular flag and their registered reference is null or matches the resolved receiver. |
| void Obj::MagicActionEnd()For a nonnull resolved Obj, MagicActionEnd forwards the word at receiver[field] to helper [field]; null resolution skips dispatch. |
| void Obj::CoverOfMercyAction()Consumes one reference and queries an interface derived from the receiver. If that query is nonnull, invokes the corresponding operation on the returned interface. |
Return this type
39| Member | Signature and description |
|---|---|
PlaceGlobal | Obj Place(str, point, int)Creates an object of the named class at a map position for the specified player, when placement is possible. |
PlaceInHolderGlobal | Obj PlaceInHolder(str, str, int)Validates the player and routes a compatible created unit to forced entry in the named holder. |
_PlaceExGlobal | Obj _PlaceEx(str, int, int, int)Clamps a supplied point to map margins and routes placement with an optional script handle. |
SpawnNamedGlobal | Obj SpawnNamed(str)Looks up a named query and routes its current member through spawn and handle allocation. |
NearestObjGlobal | Obj NearestObj(Query, point)Description pendingDescription pending. |
NearestObjGlobal | Obj NearestObj(Query, Obj)Description pendingDescription pending. |
Query::NearestObjQuery | Obj Query::NearestObj(point)Description pendingDescription pending. |
Query::NearestObjQuery | Obj Query::NearestObj(Obj)Description pendingDescription pending. |
NamedObj::objNamedObj | Obj NamedObj::obj()Returns the first stored handle from a NamedObj result list after invoking virtual [field], or an invalid handle for missing or empty results. |
Building::BestTargetBuilding | Obj Building::BestTarget()Selects a target from a spatial search around a Building and returns its CKS handle. |
Building::GetUITargetBuilding | Obj Building::GetUITarget()Building::GetUITarget returns the handle stored at building [field] and returns a null handle when resolution fails. |
Catapult::BestTargetCatapult | Obj Catapult::BestTarget()Evaluates surrounding targets across the spatial index within the catapult's attack range and returns the best candidate object handle. |
Catapult::GetCurrentTargetCatapult | Obj Catapult::GetCurrentTarget()Catapult GetCurrentTarget encodes the stored target word with an unassigned upper halfword and a four-byte invalid result. |
Unit::BestTrainingTargetUnit | Obj Unit::BestTrainingTarget()Searches nearby candidates around a resolved Unit and returns the selected object's handle or an invalid handle. |
Unit::BestTargetInSquadSightMisZeroDamageUnit | Obj Unit::BestTargetInSquadSightMisZeroDamage()Resolves a Unit, verifies it is alive, and queries the squad sight targeting search engine function, returning the best target object handle. |
Unit::BestTargetInSquadSightUnit | Obj Unit::BestTargetInSquadSight()Calls the squad-sight target search with zero option arguments after validating the Unit. |
Unit::BestNoIndependentTargetInSquadSightUnit | Obj Unit::BestNoIndependentTargetInSquadSight()Calls squad-sight target search with the no-independent option set. |
Unit::BestTargetInSquadSightUnit | Obj Unit::BestTargetInSquadSight(str)Finds the best tactical target within squad sight matching the supplied class filter string. |
Unit::BestTargetInSquadSightExclusiveUnit | Obj Unit::BestTargetInSquadSightExclusive(str)Calls squad-sight target search with string data and the exclusive option set. |
Unit::BestTargetInSquadSight_PreferUndiseasedUnit | Obj Unit::BestTargetInSquadSight_PreferUndiseased()Calls squad-sight target search with the prefer-undiseased option set. |
Unit::BestTargetForPosUnit | Obj Unit::BestTargetForPos()searches for the best combat target for a unit using its current position and sight radius. |
Unit::BestTargetInRangeUnit | Obj Unit::BestTargetInRange(point, int)Forwards explicit point coordinates and integer radius to the common target-search helper. |
Unit::RamBestTargetUnit | Obj Unit::RamBestTarget()Runs a bounded spatial candidate query and emits an Obj handle. |
Hero::LastAttackerHero | Obj Hero::LastAttacker()Hero::LastAttacker copies Hero [field] into a returned object's low word and zeroes result dword 1. |
[Global | Obj [(ObjList, int)Description pendingDescription pending. |
ObjList::FindObjList | Obj ObjList::Find(str)Returns the first live ObjList member matching a resolved class-template ancestry test. |
ObjList::FindAllyObjList | Obj ObjList::FindAlly(int, str)Returns the first live class-matching ObjList member with the selected relation bit set. |
ObjList::FindEnemyObjList | Obj ObjList::FindEnemy(int, str)Returns the first live class-matching ObjList member with the selected relation bit clear. |
EnvReadObjGlobal | Obj EnvReadObj(str)Delegates key lookup and writes an eight-byte result with initialized low16 identifier and zero offset. |
EnvReadObjGlobal | Obj EnvReadObj(Settlement, str)Description pendingDescription pending. |
EnvReadObjGlobal | Obj EnvReadObj(Building, str)Formats a building-scoped key and writes an Obj result with initialized low16 identifier and zero offset. |
EnvReadObjGlobal | Obj EnvReadObj(int, str)Description pendingDescription pending. |
FindRuinsGlobal | Obj FindRuins(point, int, int)Scans settlement slots and returns the last randomly accepted matching ruins handle. |
Unit::BestTargetInGAIKAUnit | Obj Unit::BestTargetInGAIKA()Returns a target object handle selected by the GAIKA target search helper for a resolved Unit. |
FindTeleportGlobal | Obj FindTeleport(int, point, point)Finds the shortest usable teleport connection between source and destination regions for a player. |
Unit::BestProtPosUnit | Obj Unit::BestProtPos(int, int, int, int)Scores hostile squad leader neighborhoods by relation-count balance and a product, preferring a normal leader result over a same-player sacrifice override. |
seloGlobal | Obj selo()Selects a candidate, checks that it supports the script-object interface and returns its encoded object reference. |
StarvingArmyPosGlobal | Obj StarvingArmyPos(int)Description pendingDescription pending. |
Squad::GetLastAttackerSquad | Obj Squad::GetLastAttacker()Description pendingDescription pending. |
Accept this type
79| Member | Signature and description |
|---|---|
=Global | void =(Obj&, Obj)Description pendingDescription pending. |
==Global | bool ==(Obj, Obj)Description pendingDescription pending. |
!=Global | bool !=(Obj, Obj)Description pendingDescription pending. |
Obj::AddCommandObj | void Obj::AddCommand(bool, str, Obj)Adds a named command with an object as its target. |
Obj::SetCommandObj | void Obj::SetCommand(str, Obj)Creates and submits a named command for the object with another object as its target. |
Obj::ExecDefaultCmdObj | void Obj::ExecDefaultCmd(point, Obj, bool, bool)Builds a one-receiver packet for default-command dispatch with point, target identifier and normalized flags. |
Obj::ExecCmdObj | void Obj::ExecCmd(str, point, Obj, bool)Validates an object and named command, then dispatches it with script arguments. |
Obj::DistToObj | int Obj::DistTo(Obj)Returns the distance between the edges of two objects. The result retains its sign; the distance unit is not specified here. |
Obj::IsEnemyObj | bool Obj::IsEnemy(Obj)Checks whether the objects belong to enemy players. Returns false for allies or invalid objects. |
Obj::IsValidTargetObj | bool Obj::IsValidTarget(Obj)Resolves two object handles and tests the target with a receiver virtual predicate. |
Obj::IsValidCaptureTargetObj | bool Obj::IsValidCaptureTarget(Obj)Description pendingDescription pending. |
Obj::CanSeeObj | bool Obj::CanSee(Obj)Obj::CanSee combines a target flag with an observer-mask intersection. |
Obj::CanAttackObj | bool Obj::CanAttack(Obj)Tests the receiver target-eligibility gate and radius-adjusted signed inclusive attack range. |
Obj::GiveItemObj | bool Obj::GiveItem(Item, Obj)Transfers an owned item to another live object. If the destination cannot accept it, the transfer attempts to return it to the source. |
Obj::prObj | void Obj::pr(Obj)Formats the unresolved payload handle pair when the receiver field matches the global gate. |
rolloverGlobal | str rollover(Obj, bool)Builds command rollover text from an order description, resource costs, and current affordability. |
rolloverGlobal | str rollover(Obj, str, bool)Builds object rollover text from order costs, class statistics, and optional affordability detail. |
rolloverGlobal | str rollover(Obj, str)Composes rollover text from an order description, a localized supplied key, and a secondary description. |
rollover_descGlobal | str rollover_desc(Obj, str, bool)Composes localized rollover text and conditionally appends the secondary order description. |
SpawnGroupInHolderGlobal | ObjList SpawnGroupInHolder(str, Obj)Resolves a named group and an Obj receiver's virtual holder, forces eligible group units into it, and returns the processed-unit ObjList. |
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. |
Query::AddDefCmdQuery | 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::ContainsQuery | bool Query::Contains(Obj)Passes an Obj value to a resolved Query's membership predicate and returns its boolean result. |
Query::AddCommandQuery | 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. |
Query::SetCommandQuery | void Query::SetCommand(str, Obj)Constructs and installs an object-targeted command for each live member of a resolved Query. |
NearestObjGlobal | Obj NearestObj(Query, Obj)Description pendingDescription pending. |
Query::NearestObjQuery | Obj Query::NearestObj(Obj)Description pendingDescription pending. |
EnemyInRangeGlobal | bool EnemyInRange(point, int, Obj)Builds a wrapped bounding rectangle and returns the spatial callback accumulator as a boolean. |
Building::AttackBuilding | bool Building::Attack(Obj)Executes a guarded, possibly waiting Building attack that spawns an arrow shot on its firing path. |
Building::GetExitPointBuilding | point Building::GetExitPoint(Obj, point)Resolves an exit point from a Building, an Obj template category, and an incoming point. |
Building::SetUITargetBuilding | void Building::SetUITarget(Obj)Building::SetUITarget writes the target object's 16-bit registry slot to Building [field], or 65535 when the target does not resolve. |
Catapult::GetPointOnTargetCatapult | point Catapult::GetPointOnTarget(Obj)Description pendingDescription pending. |
Catapult::SetTargetCatapult | void Catapult::SetTarget(Obj)Stores a target handle on a catapult and propagates it to associated CatapultTower objects. |
Unit::GotoUnit | bool Unit::Goto(Obj, int, int, bool, int)Resolves an optional Obj and required Unit, clears Unit tracking at [field] when set, then delegates the movement state machine to [field]; invalid Unit pushes false. |
Unit::GotoAttackUnit | bool Unit::GotoAttack(Obj, int, bool, int)Prepares target tracking and delegates cooperative attack routing. |
Unit::EnterHolderUnit | void Unit::EnterHolder(Obj)CKS-exposed Unit::EnterHolder, resolving a Building argument's Settlement Holder and force-entering it. |
Unit::TrainAttackUnit | bool Unit::TrainAttack(Obj)A Unit training-attack primitive that can start native attack mode 2 and return VM handler status 3. |
Unit::AttackUnit | bool Unit::Attack(Obj)Implements a cooperative single-target attack sequence using continuation state, eligibility checks, attack dispatch, and wait status. |
Unit::AttackEveryoneUnit | bool Unit::AttackEveryone(Obj)Implements a cooperative attack sequence with range and eligibility checks before dispatch. |
Unit::InRangeUnit | bool Unit::InRange(Obj)Checks a resolved target against a resolved Unit using the common attack-range helper. |
Unit::PathToUnit | int Unit::PathTo(Obj, int, int)Prepares an object-centered path query for a Unit and returns the native pathfinder result code or a sentinel. |
Hero::FormSetupAndMoveToHero | void Hero::FormSetupAndMoveTo(Obj, int, int, bool)After holder-related waits, clears the hero path controller and selects an object destination change or a point destination derived from the object, depending on an object flag. On success, installs a new controller and sets hero state 3. |
ObjList::ContainsObjList | bool ObjList::Contains(Obj)Tests whether a list contains the low-16-bit slot of an Obj handle. |
ObjList::AddObjList | void ObjList::Add(Obj)Appends an Obj's slot to the list if no matching slot is already present. |
ObjList::RemoveObjList | void ObjList::Remove(Obj)Removes the first matching Obj slot from a list. |
ObjList::AddCommandObjList | void ObjList::AddCommand(bool, str, Obj)After validating the supplied Obj handle, creates a named object-target command with selector 2 for each eligible member and submits it through virtual [field] using the Boolean. |
ObjList::ExecDefaultCmdObjList | void ObjList::ExecDefaultCmd(point, Obj, bool, bool)Resolves the optional Obj handle to its object identifier at +8 and delegates the list, point, identifier, two Booleans and -1 to [field]. |
ObjList::ExecCmdObjList | void ObjList::ExecCmd(str, point, Obj, bool)Looks up the supplied command string through the command-order registry virtual [field]; on success passes the resolved command and remaining arguments to [field], while the failure path reports an invalid command. |
ObjList::SetCommandObjList | void ObjList::SetCommand(str, Obj)After validating the receiver and target Obj, calls virtual [field] with zero on each eligible member, creates an object-target command with selector 2, submits it through virtual [field] with false, and updates command state. |
EnvWriteObjGlobal | void EnvWriteObj(str, Obj)Encodes a resolved object identifier as decimal marker text and delegates it with the key. |
EnvWriteObjGlobal | void EnvWriteObj(Settlement, str, Obj)Description pendingDescription pending. |
EnvWriteObjGlobal | void EnvWriteObj(Building, str, Obj)Formats a building-scoped key and encodes an object identifier for the environment writer. |
EnvWriteObjGlobal | void EnvWriteObj(int, str, Obj)Formats a player-scoped key and encodes an object identifier for the environment writer. |
SwapSelectedObjGlobal | void SwapSelectedObj(Obj, Obj)Description pendingDescription pending. |
Item::UseItem | void Item::Use(Obj)Forwards a target object handle to the targeted use helper after resolving the Item base. |
Squad::SetCmdSquad | void Squad::SetCmd(int, int, int, str, Obj)Updates squad command state and submits an object-target command to eligible member units. |
ObjList::SiegeObjList | void ObjList::Siege(Obj, int, int)The handler pops two integers and two object handles. |
Squad::SiegeSquad | void Squad::Siege(Obj, int, int, int)Stores the final state argument before validating the target and delegates member siege planning. |
GetGAIKAGlobal | GAIKA GetGAIKA(Obj)Resolves an Obj handle and pushes the zero-extended low word returned by its object-position GAIKA helper. |
SquadList::TrainSquadList | int SquadList::Train(int, int, int, int, Obj)Partitions squad members and forwards train and enter state arguments to separate regrouping calls. |
AttackSetForTrainingGlobal | bool AttackSetForTraining(Obj, point, int)Selects a prioritized nearby training target and queues approach and engagement commands. |
AIRunGlobal | int AIRun(str, Settlement, ObjList, Obj, int)Starts a typed AI script task in the current script player's AI context and returns its task identifier. |
AIRunGlobal | int AIRun(int, str, Settlement, ObjList, Obj, int)Attempts to start an AI script task for the supplied one-based player and returns its task identifier or -1. |
AIExecCmdGlobal | void AIExecCmd(Obj, str)Description pendingDescription pending. |
Squad::UseTeleportSquad | bool Squad::UseTeleport(Obj, int, str, point)Stores squad state/time and submits teleport plus point commands for live members. |
Squad::InvadeThroughGateSquad | void Squad::InvadeThroughGate(Obj, int)Description pendingDescription pending. |
DumpStatsGlobal | void DumpStats(Obj)DumpStats resolves an Obj and formats its unit statistics. |
WaitObjInQueryGlobal | bool WaitObjInQuery(Obj, Query, int)Implements the registered WaitObjInQuery blocking predicate and timeout paths. |
WaitConvRequestGlobal | bool WaitConvRequest(Query, Query, int, Obj&, Obj&)Description pendingDescription pending. |
WaitConvRequestGlobal | bool WaitConvRequest(Obj, Obj, int)Description pendingDescription pending. |
EndConvSetupGlobal | void EndConvSetup(Obj, Obj)Description pendingDescription pending. |
GetInnStateGlobal | int GetInnState(Obj)Description pendingDescription pending. |
SetInnStateGlobal | void SetInnState(Obj, int)Description pendingDescription pending. |
CatchGlobal | void Catch(Obj)Shared address-taken handler that decrements the VM cursor by eight bytes and returns zero. |
ShowNotificationGlobal | int ShowNotification(str, str, int, str, Obj)Consumes three strings, an integer and an Obj, resolves two strings and conditionally forwards the packet with mode 2 before pushing the helper result. |
ShowHintGlobal | int ShowHint(str, str, Obj)Consumes two strings and an Obj, resolves both strings under a manager gate and submits mode 1 before pushing the helper result. |
ShowTutorialGlobal | int ShowTutorial(str, str, Obj)Consumes two strings and an Obj, applies an additional native gate and submits translated strings with mode 0 before pushing the helper result. |
Coverage and limits
145 / 151 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.