rect
Browse its members and the signatures that accept or return this type.
Members
12Expand a member to read its notes or open its full entry. Each overload keeps its own identity.
| Member | Signature and description |
|---|---|
| rect | int rect::left()Returns the first dword of a rect value. |
| rect | int rect::top()Returns the second dword of a rect value. |
| rect | int rect::right()Returns the third dword of a rect value. |
| rect | int rect::bottom()Returns the fourth dword of a rect value. |
| rect | int rect::width()Returns the inclusive width: right minus left plus one. |
| rect | int rect::height()Returns the height of the rectangle, including its boundaries. |
| rect | int& rect::left()Returns an eight-byte reference pair unchanged for point x and rect left. |
| int& rect::top()Preserves the first dword of an encoded reference pair and adds four to its second dword for point y and rect top. |
| rect | int& rect::right()Advances a rect reference address by eight bytes. |
| rect | int& rect::bottom()Advances a rect reference address by twelve bytes. |
| void rect::Set(int, int, int, int)rect::Set pops four integer coordinates and a rect reference pair, writing them into memory in standard left, top, right, bottom offset order. |
| rect | point rect::Center()Returns the integer center point of the rectangle. |
Return this type
3| Member | Signature and description |
|---|---|
IntersectRectsGlobal | rect IntersectRects(rect, rect)IntersectRects returns componentwise signed max,max,min,min of its two four-dword rectangles. |
AddRectsGlobal | rect AddRects(rect, rect)Computes the union of two rectangles with signed integer coordinates. |
GetMapRectGlobal | rect GetMapRect()Returns the map bounds as a rectangle, in left, top, right, bottom order. |
Accept this type
10| Member | Signature and description |
|---|---|
point::InRectpoint | bool point::InRect(rect)Checks whether the point lies inside the rectangle, including its boundaries. |
point::IntoRectpoint | void point::IntoRect(rect)Limits the point's coordinates to the rectangle's boundaries. |
IntersectRectsGlobal | rect IntersectRects(rect, rect)IntersectRects returns componentwise signed max,max,min,min of its two four-dword rectangles. |
AddRectsGlobal | rect AddRects(rect, rect)Computes the union of two rectangles with signed integer coordinates. |
=Global | void =(rect&, rect)Description pendingDescription pending. |
==Global | bool ==(rect, rect)Description pendingDescription pending. |
!=Global | bool !=(rect, rect)Description pendingDescription pending. |
ObjsInRectGlobal | Query ObjsInRect(rect, str)Builds a query from an inclusive rectangle and a resolved script-class filter. |
SetMiniMapRectGlobal | void SetMiniMapRect(rect)Consumes a script rectangle, narrows its coordinates to words, shifts/clamps it against native bounds, and updates an existing minimap. |
_AdvPlaceAreaRectGlobal | void _AdvPlaceAreaRect(str, rect, str, str)Spawns an AdvArea and forwards rectangle, name and string setup. |
Coverage and limits
12 / 12 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.