{"schema":"cks-public-reference/v1","languages":["es","en"],"license":"GPL-3.0-or-later","project":{"name":"Imperivm Modding Wiki","url":"https://selu.es/imperivm/","maintainer":"Upercat","independent":true},"credit":{"name":"David Campos Rodríguez","url":"https://david-campos.com/cks/"},"limitations":"Incomplete catalog. Missing descriptions, parameter meanings and units must not be inferred.","entries":[{"id":"api-5c6d0088a612c2","name":"Sleep","member":"Sleep","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void Sleep(int)","summary":{"en":"Pauses the current script. The duration unit is not documented here.","es":"Pausa el script actual. La unidad de duración no se especifica en esta ficha."},"notes":{},"examples":{},"technical":{}},{"id":"api-b0a82bfa0f4c14","name":"KillScript","member":"KillScript","family":"Global","returns":"void","args":[],"kind":"function","signature":"void KillScript()","summary":{"en":"Stops the current script.","es":"Detiene el script actual."},"notes":{},"examples":{},"technical":{}},{"id":"api-36c3faaebdcff3","name":"+=","member":"+=","family":"Global","returns":"int","args":["int&","int"],"kind":"operator","signature":"int +=(int&, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-2b7f7a0ee05956","name":"-=","member":"-=","family":"Global","returns":"int","args":["int&","int"],"kind":"operator","signature":"int -=(int&, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-3e1147e7f537fe","name":"&","member":"&","family":"Global","returns":"int","args":["int","int"],"kind":"operator","signature":"int &(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-f8da2faae47e23","name":"|","member":"|","family":"Global","returns":"int","args":["int","int"],"kind":"operator","signature":"int |(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-0523947631643f","name":"+","member":"+","family":"Global","returns":"int","args":["int","int"],"kind":"operator","signature":"int +(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-0e09735bf8ddb2","name":"-","member":"-","family":"Global","returns":"int","args":["int","int"],"kind":"operator","signature":"int -(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-8c83148c99eeaf","name":"-","member":"-","family":"Global","returns":"int","args":["int"],"kind":"operator","signature":"int -(int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-318c2110608a83","name":"=","member":"=","family":"Global","returns":"void","args":["int&","int"],"kind":"operator","signature":"void =(int&, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-58ba3294519fda","name":"*","member":"*","family":"Global","returns":"int","args":["int","int"],"kind":"operator","signature":"int *(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-41fdb897f5aaa1","name":"/","member":"/","family":"Global","returns":"int","args":["int","int"],"kind":"operator","signature":"int /(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-f396f98f6e7f1a","name":"%","member":"%","family":"Global","returns":"int","args":["int","int"],"kind":"operator","signature":"int %(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-5bfae0e74ff481","name":"==","member":"==","family":"Global","returns":"bool","args":["int","int"],"kind":"operator","signature":"bool ==(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-4814d1d95b9fe4","name":"!=","member":"!=","family":"Global","returns":"bool","args":["int","int"],"kind":"operator","signature":"bool !=(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-a0da9e5e07679f","name":"<","member":"<","family":"Global","returns":"bool","args":["int","int"],"kind":"operator","signature":"bool <(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-73d4e3ee4bfb3d","name":">","member":">","family":"Global","returns":"bool","args":["int","int"],"kind":"operator","signature":"bool >(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-15ecbd57f6851b","name":"<=","member":"<=","family":"Global","returns":"bool","args":["int","int"],"kind":"operator","signature":"bool <=(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-081ab0a8548710","name":">=","member":">=","family":"Global","returns":"bool","args":["int","int"],"kind":"operator","signature":"bool >=(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-b17f54613b413f","name":"abs","member":"abs","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int abs(int)","summary":{"en":"Returns the absolute value of an integer.","es":"Devuelve el valor absoluto de un número entero."},"notes":{},"examples":{},"technical":{}},{"id":"api-d036a0f9ffec18","name":"Write","member":"Write","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void Write(int)","summary":{"en":"Consumes four bytes and delegates the integer to format %ld in the shared formatting buffer.","es":"Consume cuatro bytes y delega el entero al formato %ld del búfer de formato compartido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c6186d3b781190","name":"MIN","member":"MIN","family":"Global","returns":"int","args":["int","int"],"kind":"function","signature":"int MIN(int, int)","summary":{"en":"Returns the smaller of the two values.","es":"Devuelve el menor de los dos valores."},"notes":{},"examples":{},"technical":{}},{"id":"api-2327dbfceb531a","name":"MAX","member":"MAX","family":"Global","returns":"int","args":["int","int"],"kind":"function","signature":"int MAX(int, int)","summary":{"en":"Returns the larger of the two values.","es":"Devuelve el mayor de los dos valores."},"notes":{},"examples":{},"technical":{}},{"id":"api-1d905f1e12ac0b","name":"CLAMP","member":"CLAMP","family":"Global","returns":"int","args":["int","int","int"],"kind":"function","signature":"int CLAMP(int, int, int)","summary":{"en":"Limits a value to the supplied lower and upper bounds.","es":"Limita un valor entre el mínimo y el máximo indicados."},"notes":{},"examples":{},"technical":{}},{"id":"api-b6302d1530c1c9","name":"+","member":"+","family":"Global","returns":"float","args":["float","float"],"kind":"operator","signature":"float +(float, float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-7e7907cddc449d","name":"-","member":"-","family":"Global","returns":"float","args":["float","float"],"kind":"operator","signature":"float -(float, float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-57d064791c1dea","name":"-","member":"-","family":"Global","returns":"float","args":["float"],"kind":"operator","signature":"float -(float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-85564c4775cb61","name":"=","member":"=","family":"Global","returns":"void","args":["float&","float"],"kind":"operator","signature":"void =(float&, float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-20c5f2b2ce3669","name":"*","member":"*","family":"Global","returns":"float","args":["float","float"],"kind":"operator","signature":"float *(float, float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-a489ed12d71eef","name":"/","member":"/","family":"Global","returns":"float","args":["float","float"],"kind":"operator","signature":"float /(float, float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-f7ba1665489507","name":"==","member":"==","family":"Global","returns":"bool","args":["float","float"],"kind":"operator","signature":"bool ==(float, float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-8264927813ba51","name":"!=","member":"!=","family":"Global","returns":"bool","args":["float","float"],"kind":"operator","signature":"bool !=(float, float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-ea89c9fcde3646","name":"<","member":"<","family":"Global","returns":"bool","args":["float","float"],"kind":"operator","signature":"bool <(float, float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-020507da4c0984","name":">","member":">","family":"Global","returns":"bool","args":["float","float"],"kind":"operator","signature":"bool >(float, float)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-0974998c84d7b8","name":"sqrt","member":"sqrt","family":"Global","returns":"float","args":["float"],"kind":"function","signature":"float sqrt(float)","summary":{"en":"Returns the square root of a value.","es":"Devuelve la raíz cuadrada de un valor."},"notes":{},"examples":{},"technical":{}},{"id":"api-ec1836cbed6278","name":"Int","member":"Int","family":"Global","returns":"int","args":["float"],"kind":"function","signature":"int Int(float)","summary":{"en":"Converts the binary64 input to an integer through truncation and retains the 32-bit result.","es":"Convierte la entrada de doble precisión en un entero mediante truncamiento y conserva el resultado de 32 bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6db79a00397db3","name":"Write","member":"Write","family":"Global","returns":"void","args":["float"],"kind":"function","signature":"void Write(float)","summary":{"en":"Consumes an eight-byte floating-point value and formats it with %f in the shared formatting buffer.","es":"Consume un valor de coma flotante de ocho bytes y lo formatea con %f en el búfer compartido de formato."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5e6b13addc5d84","name":"MIN","member":"MIN","family":"Global","returns":"float","args":["float","float"],"kind":"function","signature":"float MIN(float, float)","summary":{"en":"Returns the smaller of the two values.","es":"Devuelve el menor de los dos valores."},"notes":{},"examples":{},"technical":{}},{"id":"api-c70c0ca220144a","name":"MAX","member":"MAX","family":"Global","returns":"float","args":["float","float"],"kind":"function","signature":"float MAX(float, float)","summary":{"en":"Returns the larger of the two values.","es":"Devuelve el mayor de los dos valores."},"notes":{},"examples":{},"technical":{}},{"id":"api-de8fd1876fda9f","name":"CLAMP","member":"CLAMP","family":"Global","returns":"float","args":["float","float","float"],"kind":"function","signature":"float CLAMP(float, float, float)","summary":{"en":"Limits a value to the supplied lower and upper bounds.","es":"Limita un valor entre el mínimo y el máximo indicados."},"notes":{},"examples":{},"technical":{}},{"id":"api-91e6d26a03a14e","name":"=","member":"=","family":"Global","returns":"void","args":["bool&","bool"],"kind":"operator","signature":"void =(bool&, bool)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-5e8916f8e8d04f","name":"!","member":"!","family":"Global","returns":"bool","args":["bool"],"kind":"operator","signature":"bool !(bool)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-fbcba531548cbb","name":"&&","member":"&&","family":"Global","returns":"bool","args":["bool","bool"],"kind":"operator","signature":"bool &&(bool, bool)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-ce80b1d44791bf","name":"||","member":"||","family":"Global","returns":"bool","args":["bool","bool"],"kind":"operator","signature":"bool ||(bool, bool)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-997e874dc7d7e4","name":"^","member":"^","family":"Global","returns":"bool","args":["bool","bool"],"kind":"operator","signature":"bool ^(bool, bool)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-26be568456130b","name":"Write","member":"Write","family":"Global","returns":"void","args":["pstr"],"kind":"function","signature":"void Write(pstr)","summary":{"en":"Consumes 256 bytes, copies the packed string, terminates payload at its unsigned length byte, and delegates format %s.","es":"Consume 256 bytes, copia el texto empaquetado, lo termina según su byte de longitud sin signo y delega el formato %s."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cc5d1ca623bc71","name":"Write","member":"Write","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void Write(str)","summary":{"en":"Consumes the eight-byte managed string cell, delegates its pointer plus four to format %s, then decrements and conditionally releases the reference.","es":"Consume la celda de ocho bytes del texto gestionado, delega su puntero más cuatro al formato %s y después decrementa y libera la referencia si corresponde."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d2114e4d1ba58e","name":"=","member":"=","family":"Global","returns":"void","args":["pstr&","pstr"],"kind":"operator","signature":"void =(pstr&, pstr)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-3c894e8147356b","name":"=","member":"=","family":"Global","returns":"void","args":["str&","str"],"kind":"operator","signature":"void =(str&, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-cb6a4afeeae02d","name":"StrCmp","member":"StrCmp","family":"Global","returns":"int","args":["str","str"],"kind":"function","signature":"int StrCmp(str, str)","summary":{"en":"Compares two strings. Returns a negative number, zero or a positive number; it is not a boolean equality check.","es":"Compara dos textos. Devuelve un número negativo, cero o un número positivo; no es una comprobación booleana de igualdad."},"notes":{},"examples":{},"technical":{}},{"id":"api-98963971cbf4cc","name":"StrCat","member":"StrCat","family":"Global","returns":"void","args":["str&","str"],"kind":"function","signature":"void StrCat(str&, str)","summary":{"en":"Appends the second string to the first, modifying the first string.","es":"Añade el segundo texto al primero y modifica el primero."},"notes":{},"examples":{},"technical":{}},{"id":"api-111c19a6a0f45f","name":"ParseStr","member":"ParseStr","family":"Global","returns":"str","args":["str","str&"],"kind":"function","signature":"str ParseStr(str, str&)","summary":{"en":"Splits text at its first comma, returning a trimmed token and updating the output string.","es":"Separa el texto por la primera coma, devuelve el fragmento sin espacios en los extremos y actualiza el texto de salida."},"notes":{},"examples":{},"technical":{}},{"id":"api-886102e32f022a","name":"StrStr","member":"StrStr","family":"Global","returns":"bool","args":["str","str"],"kind":"function","signature":"bool StrStr(str, str)","summary":{"en":"Checks whether a string contains another string.","es":"Comprueba si un texto contiene otro texto."},"notes":{},"examples":{},"technical":{}},{"id":"api-77eae9b0951b13","name":"GetFromStr","member":"GetFromStr","family":"Global","returns":"str","args":["str","str"],"kind":"function","signature":"str GetFromStr(str, str)","summary":{"en":"Parses comma-delimited entries and compares each source key token against the supplied key for the source token length.","es":"Analiza entradas delimitadas por comas y compara cada fragmento de clave de origen con la clave indicada usando la longitud del fragmento de origen."},"notes":{},"examples":{},"technical":{}},{"id":"api-b27fa20e512cc7","name":"GetFromStrToEOL","member":"GetFromStrToEOL","family":"Global","returns":"str","args":["str","str"],"kind":"function","signature":"str GetFromStrToEOL(str, str)","summary":{"en":"Finds a named space-delimited entry and returns its comma-terminated remainder as a managed string.","es":"Busca una entrada por nombre delimitada por espacios y devuelve como texto gestionado el resto de esa entrada hasta la coma."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d8a177289c8226","name":"+","member":"+","family":"Global","returns":"str","args":["str","str"],"kind":"operator","signature":"str +(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-d23355b1da165c","name":"FindChrPos","member":"FindChrPos","family":"Global","returns":"int","args":["str","int"],"kind":"function","signature":"int FindChrPos(str, int)","summary":{"en":"Returns the position of the first matching character, or -1 if it is not found. The position's indexing convention is not specified here.","es":"Devuelve la posición de la primera aparición del carácter indicado, o -1 si no lo encuentra. Esta ficha todavía no especifica desde qué valor se numeran las posiciones."},"notes":{},"examples":{},"technical":{}},{"id":"api-8d4f1da30943e9","name":"GetChr","member":"GetChr","family":"Global","returns":"int","args":["str","int"],"kind":"function","signature":"int GetChr(str, int)","summary":{"en":"The final int is popped before the eight-byte str.","es":"El último int se extrae de la pila antes que el str de ocho bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3d3733a954c6f6","name":"IsNull","member":"IsNull","family":"Global","returns":"bool","args":["str"],"kind":"function","signature":"bool IsNull(str)","summary":{"en":"Checks whether the string pointer is null. A nonnull string also undergoes reference-count cleanup.","es":"Comprueba si el puntero del texto es nulo. Si no es nulo, también realiza la limpieza del contador de referencias."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bf5876600ca283","name":"StrLen","member":"StrLen","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int StrLen(str)","summary":{"en":"Returns the length of a CKS string in bytes.","es":"Devuelve la longitud de un texto CKS en bytes."},"notes":{},"examples":{},"technical":{}},{"id":"api-153d65cefe4a2a","name":"StrMid","member":"StrMid","family":"Global","returns":"str","args":["str","int","int"],"kind":"function","signature":"str StrMid(str, int, int)","summary":{"en":"Clamps the requested count with signed comparisons and copies from payload plus the unchanged start index.","es":"Limita la cantidad indicada mediante comparaciones con signo y copia desde el contenido más el índice inicial, que no se modifica."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1c20fc85e04252","name":"Str2Int","member":"Str2Int","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int Str2Int(str)","summary":{"en":"Converts a string to an integer. Conversion edge cases are not described here yet.","es":"Convierte un texto en un número entero. Los casos especiales de la conversión todavía no están explicados en esta ficha."},"notes":{},"examples":{},"technical":{}},{"id":"api-58be862b898b06","name":"==","member":"==","family":"Global","returns":"bool","args":["str","str"],"kind":"operator","signature":"bool ==(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-af4d0beae80013","name":"!=","member":"!=","family":"Global","returns":"bool","args":["str","str"],"kind":"operator","signature":"bool !=(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-087027d40f9889","name":"IsFlagSet","member":"IsFlagSet","family":"Global","returns":"bool","args":["int","int"],"kind":"function","signature":"bool IsFlagSet(int, int)","summary":{"en":"Checks whether the two integer values share any set bits.","es":"Comprueba si los dos valores enteros tienen algún bit activo en común."},"notes":{},"examples":{},"technical":{}},{"id":"api-4818909bfe9528","name":"SetFlag","member":"SetFlag","family":"Global","returns":"int","args":["int&","int","bool"],"kind":"function","signature":"int SetFlag(int&, int, bool)","summary":{"en":"Sets or clears the requested bits in an integer passed by reference.","es":"Activa o desactiva los bits indicados en un entero pasado por referencia."},"notes":{},"examples":{},"technical":{}},{"id":"api-4ec1f3a6936592","name":"Point","member":"Point","family":"Global","returns":"point","args":["int","int"],"kind":"function","signature":"point Point(int, int)","summary":{"en":"Creates a point from its horizontal coordinate x and vertical coordinate y, in that order.","es":"Crea un punto a partir de su coordenada horizontal x y su coordenada vertical y, en ese orden."},"notes":{},"examples":{},"technical":{}},{"id":"api-a1558e4b675580","name":"point::x","member":"x","family":"point","returns":"int&","args":[],"kind":"property","signature":"int& point::x()","summary":{"en":"Returns the horizontal coordinate of the point.","es":"Devuelve la coordenada horizontal del punto."},"notes":{},"examples":{},"technical":{}},{"id":"api-f1b7a8193f2245","name":"point::y","member":"y","family":"point","returns":"int&","args":[],"kind":"property","signature":"int& point::y()","summary":{"en":"The two shared component adapters retain an eight-byte encoded reference pair, with a zero or four-byte adjustment to its second dword.","es":"Los dos adaptadores compartidos de componentes conservan un par de referencia codificado de ocho bytes y ajustan su segundo valor de 32 bits en cero o cuatro bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-de1a3244f04a16","name":"point::x","member":"x","family":"point","returns":"int","args":[],"kind":"property","signature":"int point::x()","summary":{"en":"Returns the horizontal coordinate of the point.","es":"Devuelve la coordenada horizontal del punto."},"notes":{},"examples":{},"technical":{}},{"id":"api-5aeba9ea861f37","name":"point::y","member":"y","family":"point","returns":"int","args":[],"kind":"property","signature":"int point::y()","summary":{"en":"Returns the vertical coordinate of the point.","es":"Devuelve la coordenada vertical del punto."},"notes":{},"examples":{},"technical":{}},{"id":"api-c1f83119e01182","name":"point::Set","member":"Set","family":"point","returns":"point","args":["int","int"],"kind":"method","signature":"point point::Set(int, int)","summary":{"en":"Sets the horizontal and vertical coordinates and returns the updated point.","es":"Establece las coordenadas horizontal y vertical y devuelve el punto actualizado."},"notes":{},"examples":{},"technical":{}},{"id":"api-ef510ff972e19d","name":"point::SetLen","member":"SetLen","family":"point","returns":"void","args":["int"],"kind":"method","signature":"void point::SetLen(int)","summary":{"en":"Rescales the point's integer coordinates toward the requested vector length, modifying the point in place. Integer arithmetic and truncation can make the resulting length differ from the requested value.","es":"Modifica el punto como vector, escalando sus coordenadas enteras hacia la longitud indicada. La aritmética entera y el truncamiento pueden hacer que la longitud resultante difiera de la solicitada."},"notes":{"en":"The argument is the requested length. On the documented calculation path, each coordinate is multiplied by that value and divided with truncation toward zero. Products use 32-bit arithmetic. Behavior with a zero computed divisor, invalid references, or values that cause overflow is not fully documented.","es":"El argumento es la longitud solicitada. En la ruta de cálculo documentada, cada coordenada se multiplica por ese valor y se divide con truncamiento hacia cero. Los productos usan aritmética de 32 bits. No está completamente documentado el comportamiento cuando el divisor calculado es cero, con referencias no válidas o con valores que producen desbordamiento."},"examples":{},"technical":{}},{"id":"api-12471a8a5dc6ec","name":"point::Len","member":"Len","family":"point","returns":"int","args":[],"kind":"method","signature":"int point::Len()","summary":{"en":"Returns the integer square root of the sum of the squared coordinates.","es":"Devuelve la raíz cuadrada entera de la suma de los cuadrados de las coordenadas."},"notes":{},"examples":{},"technical":{}},{"id":"api-97e16016982e0a","name":"point::Rot","member":"Rot","family":"point","returns":"void","args":["int"],"kind":"method","signature":"void point::Rot(int)","summary":{"en":"Rotates a referenced integer point through an integer angle using sine and cosine.","es":"Rota un punto entero pasado por referencia según un ángulo entero, usando seno y coseno."},"notes":{},"examples":{},"technical":{}},{"id":"api-11578665787a22","name":"point::InRect","member":"InRect","family":"point","returns":"bool","args":["rect"],"kind":"method","signature":"bool point::InRect(rect)","summary":{"en":"Checks whether the point lies inside the rectangle, including its boundaries.","es":"Comprueba si el punto está dentro del rectángulo, incluidos sus bordes."},"notes":{},"examples":{},"technical":{}},{"id":"api-929b0604d54109","name":"point::IntoRect","member":"IntoRect","family":"point","returns":"void","args":["rect"],"kind":"method","signature":"void point::IntoRect(rect)","summary":{"en":"Limits the point's coordinates to the rectangle's boundaries.","es":"Ajusta las coordenadas del punto para que queden dentro del rectángulo."},"notes":{},"examples":{},"technical":{}},{"id":"api-fc6f3d2de7f06e","name":"point::Dist","member":"Dist","family":"point","returns":"int","args":["point"],"kind":"method","signature":"int point::Dist(point)","summary":{"en":"returns the integer square root of dx squared plus dy squared.","es":"Devuelve la raíz cuadrada entera de dx al cuadrado más dy al cuadrado."},"notes":{},"examples":{},"technical":{}},{"id":"api-17decb5df532e5","name":"+","member":"+","family":"Global","returns":"point","args":["point","point"],"kind":"operator","signature":"point +(point, point)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-af328b952f66c2","name":"-","member":"-","family":"Global","returns":"point","args":["point","point"],"kind":"operator","signature":"point -(point, point)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-2ecac00199f30f","name":"*","member":"*","family":"Global","returns":"point","args":["point","int"],"kind":"operator","signature":"point *(point, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-38d5955f0ff5ce","name":"/","member":"/","family":"Global","returns":"point","args":["point","int"],"kind":"operator","signature":"point /(point, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-76480aacb365fe","name":"Dist","member":"Dist","family":"Global","returns":"int","args":["point","point"],"kind":"function","signature":"int Dist(point, point)","summary":{"en":"returns the integer square root of dx squared plus dy squared.","es":"Devuelve la raíz cuadrada entera de dx al cuadrado más dy al cuadrado."},"notes":{},"examples":{},"technical":{}},{"id":"api-556fdfc8c1f8ca","name":"=","member":"=","family":"Global","returns":"void","args":["point&","point"],"kind":"operator","signature":"void =(point&, point)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-6b2fbaa790afea","name":"==","member":"==","family":"Global","returns":"bool","args":["point","point"],"kind":"operator","signature":"bool ==(point, point)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-a4cd45ef892e33","name":"!=","member":"!=","family":"Global","returns":"bool","args":["point","point"],"kind":"operator","signature":"bool !=(point, point)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-bc662766a8ef76","name":"rect::left","member":"left","family":"rect","returns":"int","args":[],"kind":"property","signature":"int rect::left()","summary":{"en":"Returns the first dword of a rect value.","es":"Devuelve el primer valor de 32 bits de un rect."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1850be95b61b46","name":"rect::top","member":"top","family":"rect","returns":"int","args":[],"kind":"property","signature":"int rect::top()","summary":{"en":"Returns the second dword of a rect value.","es":"Devuelve el segundo valor de 32 bits de un rect."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-35aef34c603b82","name":"rect::right","member":"right","family":"rect","returns":"int","args":[],"kind":"property","signature":"int rect::right()","summary":{"en":"Returns the third dword of a rect value.","es":"Devuelve el tercer valor de 32 bits de un rect."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bb089ffa8e8266","name":"rect::bottom","member":"bottom","family":"rect","returns":"int","args":[],"kind":"property","signature":"int rect::bottom()","summary":{"en":"Returns the fourth dword of a rect value.","es":"Devuelve el cuarto valor de 32 bits de un rect."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-26ac940225d7d1","name":"rect::width","member":"width","family":"rect","returns":"int","args":[],"kind":"property","signature":"int rect::width()","summary":{"en":"Returns the inclusive width: right minus left plus one.","es":"Devuelve el ancho, incluidos los bordes: derecha menos izquierda más uno."},"notes":{},"examples":{},"technical":{}},{"id":"api-c2579e54caf881","name":"rect::height","member":"height","family":"rect","returns":"int","args":[],"kind":"property","signature":"int rect::height()","summary":{"en":"Returns the height of the rectangle, including its boundaries.","es":"Devuelve la altura del rectángulo, incluidos los bordes."},"notes":{},"examples":{},"technical":{}},{"id":"api-ec19c3bf079cc7","name":"rect::left","member":"left","family":"rect","returns":"int&","args":[],"kind":"property","signature":"int& rect::left()","summary":{"en":"Returns an eight-byte reference pair unchanged for point x and rect left.","es":"Devuelve sin modificar un par de referencia de ocho bytes para x de point y left de rect."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-539373df8a81e5","name":"rect::top","member":"top","family":"rect","returns":"int&","args":[],"kind":"property","signature":"int& rect::top()","summary":{"en":"Preserves the first dword of an encoded reference pair and adds four to its second dword for point y and rect top.","es":"Conserva el primer valor de 32 bits de un par de referencia codificado y añade cuatro al segundo para y de point y top de rect."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9c5996e08c4072","name":"rect::right","member":"right","family":"rect","returns":"int&","args":[],"kind":"property","signature":"int& rect::right()","summary":{"en":"Advances a rect reference address by eight bytes.","es":"Avanza ocho bytes la dirección de una referencia rect."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5f964117ee4880","name":"rect::bottom","member":"bottom","family":"rect","returns":"int&","args":[],"kind":"property","signature":"int& rect::bottom()","summary":{"en":"Advances a rect reference address by twelve bytes.","es":"Avanza doce bytes la dirección de una referencia rect."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-49ae0a3056c437","name":"rect::Set","member":"Set","family":"rect","returns":"void","args":["int","int","int","int"],"kind":"method","signature":"void rect::Set(int, int, int, int)","summary":{"en":"rect::Set pops four integer coordinates and a rect reference pair, writing them into memory in standard left, top, right, bottom offset order.","es":"rect::Set extrae de la pila cuatro coordenadas enteras y un par de referencia rect, y los escribe en memoria en el orden habitual: izquierda, arriba, derecha y abajo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ea605829c233aa","name":"rect::Center","member":"Center","family":"rect","returns":"point","args":[],"kind":"method","signature":"point rect::Center()","summary":{"en":"Returns the integer center point of the rectangle.","es":"Devuelve el punto central del rectángulo con coordenadas enteras."},"notes":{},"examples":{},"technical":{}},{"id":"api-54f75ede7b5e75","name":"IntersectRects","member":"IntersectRects","family":"Global","returns":"rect","args":["rect","rect"],"kind":"function","signature":"rect IntersectRects(rect, rect)","summary":{"en":"IntersectRects returns componentwise signed max,max,min,min of its two four-dword rectangles.","es":"IntersectRects devuelve, componente a componente, los valores con signo máximo, máximo, mínimo y mínimo de sus dos rectángulos de cuatro valores de 32 bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5b58852cb1367c","name":"AddRects","member":"AddRects","family":"Global","returns":"rect","args":["rect","rect"],"kind":"function","signature":"rect AddRects(rect, rect)","summary":{"en":"Computes the union of two rectangles with signed integer coordinates.","es":"Calcula la unión de dos rectángulos con coordenadas enteras con signo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2fec30b6d26555","name":"=","member":"=","family":"Global","returns":"void","args":["rect&","rect"],"kind":"operator","signature":"void =(rect&, rect)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-848b0f592e0dbc","name":"==","member":"==","family":"Global","returns":"bool","args":["rect","rect"],"kind":"operator","signature":"bool ==(rect, rect)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-c6e9586fdd1cd7","name":"!=","member":"!=","family":"Global","returns":"bool","args":["rect","rect"],"kind":"operator","signature":"bool !=(rect, rect)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-304686d807e7ee","name":"=","member":"=","family":"Global","returns":"void","args":["IntArray&","IntArray&"],"kind":"operator","signature":"void =(IntArray&, IntArray&)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-e8ade355bd1b23","name":"[","member":"[","family":"Global","returns":"int&","args":["IntArray&","int"],"kind":"operator","signature":"int& [(IntArray&, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-7cad9a478f486b","name":"IntArray::resize","member":"resize","family":"IntArray","returns":"void","args":["int"],"kind":"method","signature":"void IntArray::resize(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-f8e1fa56f50df1","name":"IntArray::size","member":"size","family":"IntArray","returns":"int","args":[],"kind":"property","signature":"int IntArray::size()","summary":{"en":"IntArray size returns -1 for a null begin pointer and otherwise returns the four-byte slot span minus one.","es":"La propiedad size de IntArray devuelve -1 si el puntero de inicio es nulo; en otro caso devuelve el número de posiciones de cuatro bytes menos uno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1955078cc2d0c4","name":"IntArray::find","member":"find","family":"IntArray","returns":"int","args":["int"],"kind":"method","signature":"int IntArray::find(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-438b82652fa703","name":"=","member":"=","family":"Global","returns":"void","args":["StrArray&","StrArray&"],"kind":"operator","signature":"void =(StrArray&, StrArray&)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-67a24bed7bf09e","name":"[","member":"[","family":"Global","returns":"str&","args":["StrArray&","int"],"kind":"operator","signature":"str& [(StrArray&, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-4d643b3a3e9f54","name":"StrArray::resize","member":"resize","family":"StrArray","returns":"void","args":["int"],"kind":"method","signature":"void StrArray::resize(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-d8c8399bc900e4","name":"StrArray::size","member":"size","family":"StrArray","returns":"int","args":[],"kind":"property","signature":"int StrArray::size()","summary":{"en":"StrArray size returns native span count minus one.","es":"size de StrArray devuelve el recuento del intervalo interno menos uno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4eeb9916556771","name":"StrArray::find","member":"find","family":"StrArray","returns":"int","args":["str"],"kind":"method","signature":"int StrArray::find(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-186a0baf581815","name":"=","member":"=","family":"Global","returns":"void","args":["StrMap&","StrMap&"],"kind":"operator","signature":"void =(StrMap&, StrMap&)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-ec7b6556c8f8b9","name":"[","member":"[","family":"Global","returns":"str&","args":["StrMap&","str"],"kind":"operator","signature":"str& [(StrMap&, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-697cec314699cb","name":"StrMap::size","member":"size","family":"StrMap","returns":"int","args":[],"kind":"property","signature":"int StrMap::size()","summary":{"en":"StrMap size returns native count field.","es":"size de StrMap devuelve el campo interno de recuento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-41090fbaa7d325","name":"StrMap::erase","member":"erase","family":"StrMap","returns":"void","args":["str"],"kind":"method","signature":"void StrMap::erase(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-f203cf025a1dbe","name":"StrMap::exists","member":"exists","family":"StrMap","returns":"bool","args":["str"],"kind":"method","signature":"bool StrMap::exists(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-91d0d634aba0f4","name":"DumpStack","member":"DumpStack","family":"Global","returns":"void","args":[],"kind":"function","signature":"void DumpStack()","summary":{"en":"Scans the active VM frame bytes and formats them as hexadecimal.","es":"Recorre los bytes del marco activo de la máquina virtual y los muestra en formato hexadecimal."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dba9ee8be8abf1","name":"DumpCode","member":"DumpCode","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void DumpCode(int)","summary":{"en":"Walks a local instruction pointer while formatting diagnostics into a shared buffer.","es":"Recorre un puntero local de instrucciones mientras da formato a diagnósticos en un búfer compartido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c82e94b9f5fe13","name":"GetMapSize","member":"GetMapSize","family":"Global","returns":"point","args":[],"kind":"function","signature":"point GetMapSize()","summary":{"en":"GetMapSize pushes the two 32-bit bound differences plus one from the pointer stored at [field].","es":"GetMapSize introduce en la pila las dos diferencias de límites de 32 bits más uno desde el puntero almacenado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2b6779288688b8","name":"_RandomTerrain2","member":"_RandomTerrain2","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void _RandomTerrain2(str)","summary":{"en":"Routes a managed filename to a map worker and conditionally reports a nonzero return.","es":"Pasa un nombre de archivo gestionado a una tarea del mapa e informa condicionalmente si su resultado es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-89a4dea444555d","name":"=","member":"=","family":"Global","returns":"void","args":["Obj&","Obj"],"kind":"operator","signature":"void =(Obj&, Obj)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-c3ccb44061dc91","name":"=","member":"=","family":"Global","returns":"void","args":["Item&","Item"],"kind":"operator","signature":"void =(Item&, Item)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-e1c9d7b868e13c","name":"==","member":"==","family":"Global","returns":"bool","args":["Obj","Obj"],"kind":"operator","signature":"bool ==(Obj, Obj)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-c7d9ccdd92927e","name":"!=","member":"!=","family":"Global","returns":"bool","args":["Obj","Obj"],"kind":"operator","signature":"bool !=(Obj, Obj)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-eae0bc909cb9f8","name":"Obj::Clear","member":"Clear","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::Clear()","summary":{"en":"Obj::Clear resolves its referenced Obj slot and overwrites it with the null handle representation FFFF:00000000.","es":"Obj::Clear obtiene la posición Obj pasada por referencia y la sobrescribe con la representación de referencia nula FFFF:00000000."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-aaf86de7c62c89","name":"Obj::AsUnit","member":"AsUnit","family":"Obj","returns":"Unit","args":[],"kind":"method","signature":"Unit Obj::AsUnit()","summary":{"en":"Returns a Unit reference when the object has a compatible unit category.","es":"Obtiene una referencia de tipo Unit cuando el objeto tiene una categoría compatible con una unidad."},"notes":{},"examples":{},"technical":{}},{"id":"api-a5c237d04a328a","name":"Obj::AsBuilding","member":"AsBuilding","family":"Obj","returns":"Building","args":[],"kind":"method","signature":"Building Obj::AsBuilding()","summary":{"en":"Returns a Building reference when the object has a compatible building category.","es":"Obtiene una referencia de tipo Building cuando el objeto tiene una categoría compatible con un edificio."},"notes":{},"examples":{},"technical":{}},{"id":"api-96ac84002775ce","name":"Obj::AsHero","member":"AsHero","family":"Obj","returns":"Hero","args":[],"kind":"method","signature":"Hero Obj::AsHero()","summary":{"en":"Returns a Hero reference when the object has the hero category; otherwise returns a null reference.","es":"Obtiene una referencia de tipo Hero cuando el objeto tiene la categoría de héroe; en otro caso devuelve una referencia nula."},"notes":{},"examples":{},"technical":{}},{"id":"api-057511d7043b23","name":"Obj::AsDruid","member":"AsDruid","family":"Obj","returns":"Druid","args":[],"kind":"method","signature":"Druid Obj::AsDruid()","summary":{"en":"Resolves the object reference and attempts a dynamic conversion to Druid. Returns a Druid reference on a match or a null reference otherwise.","es":"Resuelve la referencia del objeto e intenta convertirla dinámicamente a Druid. Devuelve una referencia Druid si es compatible, o una referencia nula en otro caso."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fcbac460fc64ec","name":"Obj::AsGhost","member":"AsGhost","family":"Obj","returns":"Ghost","args":[],"kind":"method","signature":"Ghost Obj::AsGhost()","summary":{"en":"Narrows an Obj reference to the Ghost interface and returns its registered reference.","es":"Convierte una referencia Obj a la interfaz Ghost y devuelve su referencia registrada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-296f013e01a058","name":"Obj::AsTower","member":"AsTower","family":"Obj","returns":"Tower","args":[],"kind":"method","signature":"Tower Obj::AsTower()","summary":{"en":"returns a narrowed handle only when the resolved object carries category bit [field].","es":"Devuelve una referencia convertida a un tipo más específico solo cuando el objeto resuelto tiene el bit de categoría [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d56c2751267063","name":"Obj::AsWagon","member":"AsWagon","family":"Obj","returns":"Wagon","args":[],"kind":"method","signature":"Wagon Obj::AsWagon()","summary":{"en":"Casts an Obj reference to the Wagon interface and returns a Wagon reference.","es":"Convierte una referencia Obj a la interfaz Wagon y devuelve una referencia Wagon."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cbb10979274eaa","name":"Obj::AsCatapult","member":"AsCatapult","family":"Obj","returns":"Catapult","args":[],"kind":"method","signature":"Catapult Obj::AsCatapult()","summary":{"en":"Attempts a dynamic conversion of an Obj reference to Catapult and returns a Catapult reference on success.","es":"Intenta convertir dinámicamente una referencia Obj a Catapult y devuelve una referencia Catapult si tiene éxito."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ad0c71713a797f","name":"Obj::AsItemHolder","member":"AsItemHolder","family":"Obj","returns":"ItemHolder","args":[],"kind":"method","signature":"ItemHolder Obj::AsItemHolder()","summary":{"en":"Resolves an Obj and queries its ItemHolder interface to build an ItemHolder handle.","es":"Obtiene un Obj y consulta su interfaz ItemHolder para construir una referencia ItemHolder."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d047aaa7eb9ae5","name":"Obj::AsBarrack","member":"AsBarrack","family":"Obj","returns":"Barrack","args":[],"kind":"method","signature":"Barrack Obj::AsBarrack()","summary":{"en":"Narrows an Obj reference to the Barrack interface and returns its registered reference.","es":"Convierte una referencia Obj a la interfaz Barrack y devuelve su referencia registrada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-45cba413ce17c6","name":"Obj::AsSacrifice","member":"AsSacrifice","family":"Obj","returns":"Sacrifice","args":[],"kind":"method","signature":"Sacrifice Obj::AsSacrifice()","summary":{"en":"Resolves an Obj and queries its Sacrifice interface to build a Sacrifice handle.","es":"Obtiene un Obj y consulta su interfaz Sacrifice para construir una referencia Sacrifice."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3b9b685ebe7bea","name":"Obj::AsShip","member":"AsShip","family":"Obj","returns":"Ship","args":[],"kind":"method","signature":"Ship Obj::AsShip()","summary":{"en":"Casts an Obj reference to the Ship interface and returns a Ship reference.","es":"Convierte una referencia Obj a la interfaz Ship y devuelve una referencia Ship."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-260807c3f56154","name":"Obj::AsFlying","member":"AsFlying","family":"Obj","returns":"Flying","args":[],"kind":"method","signature":"Flying Obj::AsFlying()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-ad95dcd244da27","name":"GetClassRace","member":"GetClassRace","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int GetClassRace(str)","summary":{"en":"Returns the resolved named class dword at [field], or -1 when lookup returns null.","es":"Devuelve el dword [campo] de la clase resuelta por nombre, o -1 si la búsqueda devuelve null."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cd97f251a298dc","name":"Obj::race","member":"race","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::race()","summary":{"en":"Obj::race returns the dword at [field] of the resolved object's template and returns zero for an invalid object.","es":"Obj::race devuelve el dword [campo] de la plantilla del objeto resuelto; devuelve cero para un objeto no válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-172546f4f2bbbe","name":"Obj::raceStr","member":"raceStr","family":"Obj","returns":"str","args":[],"kind":"property","signature":"str Obj::raceStr()","summary":{"en":"Returns the canonical race key for the resolved object template race, or an empty string for invalid resolution.","es":"Devuelve la clave canónica de civilización correspondiente a la civilización de la plantilla del objeto resuelto, o un texto vacío si no se puede resolver."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c779145ce63343","name":"Obj::raceStrPref","member":"raceStrPref","family":"Obj","returns":"str","args":[],"kind":"property","signature":"str Obj::raceStrPref()","summary":{"en":"Returns the one-character prefix associated with the object's civilization.","es":"Devuelve el prefijo de una letra asociado a la civilización del objeto."},"notes":{},"examples":{},"technical":{}},{"id":"api-439075166c50b9","name":"Obj::raceStrPrefLow","member":"raceStrPrefLow","family":"Obj","returns":"str","args":[],"kind":"property","signature":"str Obj::raceStrPrefLow()","summary":{"en":"Returns the civilization prefix in lowercase, or an empty string for an invalid value.","es":"Devuelve el prefijo de la civilización en minúscula, o un texto vacío si el valor no es válido."},"notes":{},"examples":{},"technical":{}},{"id":"api-8c129944152705","name":"GetRaceStr","member":"GetRaceStr","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str GetRaceStr(int)","summary":{"en":"Converts a race ID to its canonical name and returns it as a CKS string.","es":"Convierte un identificador de civilización en su nombre canónico y lo devuelve como texto CKS."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-01d859d99d4e3f","name":"GetRaceStrPref","member":"GetRaceStrPref","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str GetRaceStrPref(int)","summary":{"en":"Maps race indices zero through seven to one-character strings and returns an empty string otherwise.","es":"Convierte los índices de civilización de cero a siete en textos de un carácter; devuelve un texto vacío en otro caso."},"notes":{},"examples":{},"technical":{}},{"id":"api-97178fb48dd35f","name":"GetRaceStrPrefLow","member":"GetRaceStrPrefLow","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str GetRaceStrPrefLow(int)","summary":{"en":"Maps race indices zero through seven to lowercase single-character strings and returns an empty string otherwise.","es":"Convierte los índices de civilización de cero a siete en textos de un carácter en minúscula; devuelve un texto vacío en otro caso."},"notes":{},"examples":{},"technical":{}},{"id":"api-d2239b7e5bd745","name":"Obj::armor_slash","member":"armor_slash","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::armor_slash()","summary":{"en":"Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution.","es":"Los accesos de combate de Obj devuelven los dwords [campo], [campo], [campo], [campo] y [campo]; devuelven cero si falla la resolución."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4cbf67824cfdd9","name":"Obj::armor_pierce","member":"armor_pierce","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::armor_pierce()","summary":{"en":"Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution.","es":"Los accesos de combate de Obj devuelven los dwords [campo], [campo], [campo], [campo] y [campo]; devuelven cero si falla la resolución."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-19e728f402acd6","name":"Obj::health","member":"health","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::health()","summary":{"en":"Returns the object's current health, or zero for an invalid object.","es":"Devuelve la vida actual del objeto, o cero si el objeto no es válido."},"notes":{},"examples":{},"technical":{}},{"id":"api-996c6e1c1bf512","name":"Obj::stamina","member":"stamina","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::stamina()","summary":{"en":"Obj::stamina returns the resolved object's four-byte field at [field] or zero for an invalid handle.","es":"Obj::stamina devuelve el campo de cuatro bytes [campo] del objeto resuelto, o cero para una referencia no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-15e61e8ff73025","name":"Obj::maxhealth","member":"maxhealth","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::maxhealth()","summary":{"en":"Returns the object's maximum health, or zero for an invalid object.","es":"Devuelve la vida máxima del objeto, o cero si el objeto no es válido."},"notes":{},"examples":{},"technical":{}},{"id":"api-9b03bda1d26330","name":"Obj::maxstamina","member":"maxstamina","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::maxstamina()","summary":{"en":"Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution.","es":"Los accesos de combate de Obj devuelven los dwords [campo], [campo], [campo], [campo] y [campo]; devuelven cero si falla la resolución."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-614b79192e3cfc","name":"Obj::sight","member":"sight","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::sight()","summary":{"en":"Obj::sight returns the 32-bit value at resolved object [field] and returns zero for an invalid object.","es":"Obj::sight devuelve el valor de 32 bits [campo] del objeto resuelto; devuelve cero para un objeto no válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-507a8808b28fc3","name":"Obj::pos","member":"pos","family":"Obj","returns":"point","args":[],"kind":"property","signature":"point Obj::pos()","summary":{"en":"Returns the object's position as a point. An invalid object returns zero coordinates.","es":"Devuelve la posición del objeto como un punto. Si el objeto no es válido, devuelve coordenadas cero."},"notes":{},"examples":{},"technical":{}},{"id":"api-af1d1cc2945c3e","name":"Obj::posRH","member":"posRH","family":"Obj","returns":"point","args":[],"kind":"property","signature":"point Obj::posRH()","summary":{"en":"Resolves an Obj handle and returns an eight-byte point from virtual slot [field].","es":"Resuelve una referencia Obj y devuelve un punto de ocho bytes desde la operación virtual [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f5631ad419fec3","name":"Obj::damage","member":"damage","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::damage()","summary":{"en":"Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution.","es":"Los accesos de combate de Obj devuelven los dwords [campo], [campo], [campo], [campo] y [campo]; devuelven cero si falla la resolución."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bb43a7094e1cab","name":"Obj::attack","member":"attack","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::attack()","summary":{"en":"Shared native accessor that returns object dword [field] for both damage and attack script members.","es":"Acceso interno compartido que devuelve el dword [campo] del objeto tanto para el miembro de script damage como para attack."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bb48cd14d7c60d","name":"Obj::damage_type","member":"damage_type","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::damage_type()","summary":{"en":"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.","es":"Obj::damage_type resuelve un Obj, sigue su puntero [campo] y devuelve el dword [campo]; usa el entero 3 como valor alternativo para un objeto no válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7c55495d773c4f","name":"Obj::range","member":"range","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::range()","summary":{"en":"Obj::range returns a resolved object's dword at [field] and returns zero for an invalid Obj handle.","es":"Obj::range devuelve el dword [campo] del objeto resuelto; devuelve cero para una referencia Obj no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7519302cebc075","name":"Obj::min_range","member":"min_range","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::min_range()","summary":{"en":"Obj combat accessors return dwords at [field], [field], [field], [field] and [field], with zero on failed resolution.","es":"Los accesos de combate de Obj devuelven los dwords [campo], [campo], [campo], [campo] y [campo]; devuelven cero si falla la resolución."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bed182be73a72a","name":"Obj::radius","member":"radius","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::radius()","summary":{"en":"Obj::radius returns the dword at [field] of the resolved object's template and returns zero for an invalid object.","es":"Obj::radius devuelve el dword [campo] de la plantilla del objeto resuelto; devuelve cero para un objeto no válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9f9e9c5470049c","name":"Obj::name","member":"name","family":"Obj","returns":"str","args":[],"kind":"property","signature":"str Obj::name()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-613294e24ad67a","name":"Obj::IsHeirOf","member":"IsHeirOf","family":"Obj","returns":"bool","args":["str"],"kind":"method","signature":"bool Obj::IsHeirOf(str)","summary":{"en":"Obj::IsHeirOf delegates class ancestry testing for a resolved Obj.","es":"Obj::IsHeirOf solicita la comprobación de ascendencia de clase del Obj obtenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7bdc06a2dcfa49","name":"Obj::IsSentry","member":"IsSentry","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsSentry()","summary":{"en":"Checks whether the object belongs to the Sentry class or a derived class.","es":"Comprueba si el objeto pertenece a la clase Sentry o a una clase derivada."},"notes":{},"examples":{},"technical":{}},{"id":"api-0a3dc0dc50bec8","name":"Obj::IsGate","member":"IsGate","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsGate()","summary":{"en":"Checks whether the object belongs to the Gate class or a derived class.","es":"Comprueba si el objeto pertenece a la clase Gate o a una clase derivada."},"notes":{},"examples":{},"technical":{}},{"id":"api-477cf1ce4f97a3","name":"Obj::IsRam","member":"IsRam","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsRam()","summary":{"en":"Tests whether the resolved object class inherits from the cached RamUnit descriptor.","es":"Comprueba si la clase del objeto obtenido deriva del descriptor RamUnit almacenado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-be0ef3ed435882","name":"Obj::IsRanged","member":"IsRanged","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsRanged()","summary":{"en":"Resolves an Obj handle and returns a sentinel-based property test.","es":"Resuelve una referencia Obj y devuelve la comprobación de una propiedad basada en un valor centinela."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4c89260d72f856","name":"Obj::IsMilitary","member":"IsMilitary","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsMilitary()","summary":{"en":"Checks whether the object belongs to the Military class or a derived class.","es":"Comprueba si el objeto pertenece a la clase Military o a una clase derivada."},"notes":{},"examples":{},"technical":{}},{"id":"api-acb958d7a5d15a","name":"Obj::IsReligious","member":"IsReligious","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsReligious()","summary":{"en":"Tests whether the resolved object class inherits from the cached BaseMage descriptor.","es":"Comprueba si la clase del objeto obtenido deriva del descriptor BaseMage almacenado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8d95887c1af187","name":"Obj::IsPeaceful","member":"IsPeaceful","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsPeaceful()","summary":{"en":"Checks whether the object belongs to the Peaceful or Animal class.","es":"Comprueba si el objeto pertenece a la clase Peaceful o Animal."},"notes":{},"examples":{},"technical":{}},{"id":"api-764a35c18aa6c2","name":"Obj::IsPeasant","member":"IsPeasant","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsPeasant()","summary":{"en":"Checks whether the object belongs to the Peasant class or a derived class.","es":"Comprueba si el objeto pertenece a la clase Peasant o a una clase derivada."},"notes":{},"examples":{},"technical":{}},{"id":"api-6a117dc763f24f","name":"Obj::IsPeasantAmbient","member":"IsPeasantAmbient","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsPeasantAmbient()","summary":{"en":"Tests whether the resolved object class inherits from the cached PeasantAmbient descriptor.","es":"Comprueba si la clase del objeto obtenido deriva del descriptor PeasantAmbient almacenado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4fb4b70896be19","name":"Obj::SetHealth","member":"SetHealth","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::SetHealth(int)","summary":{"en":"Resolves an Obj and forwards an integer to virtual slot [field].","es":"Resuelve un Obj y pasa un entero a la operación virtual [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b8f473df44f40c","name":"Obj::SetMaxHealth","member":"SetMaxHealth","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::SetMaxHealth(int)","summary":{"en":"SetMaxHealth and SetMaxStamina directly write their integer arguments at object [field] and [field].","es":"SetMaxHealth y SetMaxStamina escriben directamente sus argumentos enteros en [campo] y [campo] del objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d47f711999aa4d","name":"Obj::SetStamina","member":"SetStamina","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::SetStamina(int)","summary":{"en":"Resolves an Obj handle and delegates an integer stamina value through virtual slot [field].","es":"Resuelve una referencia Obj y pasa un valor entero de resistencia a la operación virtual [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c5f1471d876815","name":"Obj::SetMaxStamina","member":"SetMaxStamina","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::SetMaxStamina(int)","summary":{"en":"SetMaxHealth and SetMaxStamina directly write their integer arguments at object [field] and [field].","es":"SetMaxHealth y SetMaxStamina escriben directamente sus argumentos enteros en [campo] y [campo] del objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0cffe57f59d803","name":"Obj::SetSight","member":"SetSight","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::SetSight(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-b0635e7678aa0a","name":"Obj::GetStaminaDecTime","member":"GetStaminaDecTime","family":"Obj","returns":"int","args":[],"kind":"method","signature":"int Obj::GetStaminaDecTime()","summary":{"en":"GetStaminaDecTime returns max(signed object [field], zero) after an unguarded field dereference.","es":"GetStaminaDecTime devuelve max([campo] con signo del objeto, cero) después de acceder al campo sin una comprobación previa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-71b0f0b205e4f3","name":"Obj::CmdCount","member":"CmdCount","family":"Obj","returns":"int","args":[],"kind":"method","signature":"int Obj::CmdCount()","summary":{"en":"Returns the command count at object [field] when the resolved object is live, otherwise zero.","es":"Devuelve el número de órdenes de [campo] del objeto cuando el objeto resuelto está vivo; en otro caso devuelve cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-df386f3ab8f15e","name":"Obj::CmdCount","member":"CmdCount","family":"Obj","returns":"int","args":["str"],"kind":"method","signature":"int Obj::CmdCount(str)","summary":{"en":"Counts queued commands with the specified name.","es":"Cuenta las órdenes pendientes con el nombre indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-21f94158a84f2d","name":"Obj::ClearCommands","member":"ClearCommands","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::ClearCommands()","summary":{"en":"Clears commands on an eligible resolved object outside the guarded global mode.","es":"Limpia las órdenes de un objeto obtenido y elegible cuando no está activo el modo global protegido por comprobaciones."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8a69fb31e61f3d","name":"Obj::KillCommand","member":"KillCommand","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::KillCommand()","summary":{"en":"Cancels or updates a valid object's command state when the local gates allow it.","es":"Cancela o actualiza el estado de las órdenes de un objeto válido cuando lo permiten las comprobaciones locales."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7a5d02829d0586","name":"Obj::AddCommand","member":"AddCommand","family":"Obj","returns":"void","args":["bool","str"],"kind":"method","signature":"void Obj::AddCommand(bool, str)","summary":{"en":"creates and enqueues a named command on a target object.","es":"Crea y añade a la cola una orden con nombre para un objeto de destino."},"notes":{},"examples":{},"technical":{}},{"id":"api-e3cf9e9093fb42","name":"Obj::AddCommand","member":"AddCommand","family":"Obj","returns":"void","args":["bool","str","point"],"kind":"method","signature":"void Obj::AddCommand(bool, str, point)","summary":{"en":"Adds a named command with a point as its target.","es":"Añade una orden con nombre y un punto como destino."},"notes":{},"examples":{},"technical":{}},{"id":"api-daa38d0046f9eb","name":"Obj::AddCommand","member":"AddCommand","family":"Obj","returns":"void","args":["bool","str","Obj"],"kind":"method","signature":"void Obj::AddCommand(bool, str, Obj)","summary":{"en":"Adds a named command with an object as its target.","es":"Añade una orden con nombre y un objeto como destino."},"notes":{},"examples":{},"technical":{}},{"id":"api-8084a8536cde9b","name":"Obj::SneakCommand","member":"SneakCommand","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::SneakCommand(str)","summary":{"en":"Creates a named command under local guards, submits two candidates and updates command state.","es":"Crea una orden con nombre bajo comprobaciones locales, envía dos candidatos y actualiza el estado de órdenes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-14cc52fe5ae90c","name":"Obj::SetCommand","member":"SetCommand","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::SetCommand(str)","summary":{"en":"Creates and submits a named command for the object, without an additional target.","es":"Crea y envía al objeto una orden con el nombre indicado, sin un destino adicional."},"notes":{},"examples":{},"technical":{}},{"id":"api-b0709aadfc28f5","name":"Obj::SetCommand","member":"SetCommand","family":"Obj","returns":"void","args":["str","point"],"kind":"method","signature":"void Obj::SetCommand(str, point)","summary":{"en":"Creates and submits a named command for the object with a point as its target.","es":"Crea y envía al objeto una orden con el nombre indicado y un punto como destino."},"notes":{},"examples":{},"technical":{}},{"id":"api-88de83caebc37a","name":"Obj::SetCommand","member":"SetCommand","family":"Obj","returns":"void","args":["str","Obj"],"kind":"method","signature":"void Obj::SetCommand(str, Obj)","summary":{"en":"Creates and submits a named command for the object with another object as its target.","es":"Crea y envía al objeto una orden con el nombre indicado y otro objeto como destino."},"notes":{},"examples":{},"technical":{}},{"id":"api-dc6005c1873f39","name":"Obj::ExecDefaultCmd","member":"ExecDefaultCmd","family":"Obj","returns":"void","args":["point","Obj","bool","bool"],"kind":"method","signature":"void Obj::ExecDefaultCmd(point, Obj, bool, bool)","summary":{"en":"Builds a one-receiver packet for default-command dispatch with point, target identifier and normalized flags.","es":"Construye un paquete para un único receptor con el que enviar una orden predeterminada, incluyendo un punto, un identificador de destino y marcas normalizadas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7bc641726c0e0b","name":"Obj::ExecCmd","member":"ExecCmd","family":"Obj","returns":"void","args":["str","point","Obj","bool"],"kind":"method","signature":"void Obj::ExecCmd(str, point, Obj, bool)","summary":{"en":"Validates an object and named command, then dispatches it with script arguments.","es":"Valida un objeto y una orden por nombre; después la ejecuta con los argumentos del script."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0dbbaa03e81917","name":"Obj::CmdDisable","member":"CmdDisable","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::CmdDisable(str)","summary":{"en":"Resolves the supplied command name through registry virtual [field] and dispatches nonnegative results through object virtual [field].","es":"Resuelve el nombre de orden indicado mediante la operación virtual [campo] del registro y despacha los resultados no negativos mediante la operación virtual [campo] del objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8edefc318647e2","name":"Obj::CmdEnable","member":"CmdEnable","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::CmdEnable(str)","summary":{"en":"Resolves the supplied command name through registry virtual [field] and dispatches nonnegative results through object virtual [field].","es":"Resuelve el nombre de orden indicado mediante la operación virtual [campo] del registro y despacha los resultados no negativos mediante la operación virtual [campo] del objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5871d3f9d1c581","name":"Obj::IsValid","member":"IsValid","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsValid()","summary":{"en":"Checks whether the object reference resolves to an available object. This does not describe whether that object is alive.","es":"Comprueba si la referencia permite acceder a un objeto disponible. El estado de vida del objeto se consulta por separado."},"notes":{},"examples":{},"technical":{}},{"id":"api-554e7e56875d1f","name":"Item::IsValid","member":"IsValid","family":"Item","returns":"bool","args":[],"kind":"method","signature":"bool Item::IsValid()","summary":{"en":"returns true when the handle's registry base plus subobject offset is nonzero, and false when the registry slot is empty.","es":"Devuelve true cuando la base de registro de la referencia más el desplazamiento del subobjeto es distinta de cero, y false cuando la entrada del registro está vacía."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-270dd046381b0c","name":"Obj::DistTo","member":"DistTo","family":"Obj","returns":"int","args":["point"],"kind":"method","signature":"int Obj::DistTo(point)","summary":{"en":"Obj::DistTo computes distance from an Obj to a point and subtracts its template offset.","es":"Obj::DistTo calcula la distancia de un Obj a un punto y resta el desplazamiento de su plantilla."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-11442e3afeb00b","name":"Obj::DistTo","member":"DistTo","family":"Obj","returns":"int","args":["Obj"],"kind":"method","signature":"int Obj::DistTo(Obj)","summary":{"en":"Returns the distance between the edges of two objects. The result retains its sign; the distance unit is not specified here.","es":"Devuelve la distancia entre los bordes de dos objetos. El resultado conserva su signo; esta ficha no especifica la unidad de distancia."},"notes":{},"examples":{},"technical":{}},{"id":"api-1b63512a86f6a5","name":"Obj::IsEnemy","member":"IsEnemy","family":"Obj","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Obj::IsEnemy(Obj)","summary":{"en":"Checks whether the objects belong to enemy players. Returns false for allies or invalid objects.","es":"Comprueba si los objetos pertenecen a jugadores enemigos. Devuelve false para aliados u objetos no válidos."},"notes":{},"examples":{},"technical":{}},{"id":"api-f053d938c95cd6","name":"Obj::IsAlive","member":"IsAlive","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsAlive()","summary":{"en":"Evaluates whether an object is alive by querying its virtual destruction slot at [field] and inverting the result.","es":"Comprueba si un objeto está vivo consultando su operación virtual de destrucción [campo] e invirtiendo el resultado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-278af472de5a83","name":"Obj::IsDead","member":"IsDead","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsDead()","summary":{"en":"Returns true when the object is dead or the reference cannot be resolved.","es":"Devuelve true si el objeto está muerto o si la referencia no permite acceder al objeto."},"notes":{},"examples":{},"technical":{}},{"id":"api-9327787c817472","name":"Obj::IsValidTarget","member":"IsValidTarget","family":"Obj","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Obj::IsValidTarget(Obj)","summary":{"en":"Resolves two object handles and tests the target with a receiver virtual predicate.","es":"Obtiene dos referencias de objetos y comprueba el destino mediante una condición virtual del receptor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1d36334ea0eeaf","name":"Obj::IsValidCaptureTarget","member":"IsValidCaptureTarget","family":"Obj","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Obj::IsValidCaptureTarget(Obj)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-33d514dc2594d8","name":"Obj::SetVisible","member":"SetVisible","family":"Obj","returns":"void","args":["bool"],"kind":"method","signature":"void Obj::SetVisible(bool)","summary":{"en":"Requests a visibility update for the object using the supplied boolean. Conditions that can affect visibility still need a practical explanation.","es":"Solicita actualizar la visibilidad del objeto con el valor booleano indicado. Las condiciones que pueden afectar a la visibilidad todavía necesitan una explicación práctica."},"notes":{},"examples":{},"technical":{}},{"id":"api-f364b4fdbed6a0","name":"Obj::IsVisible","member":"IsVisible","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsVisible()","summary":{"en":"Obj::IsVisible returns the inverse of bit 21 in the resolved object's dword at [field], or false when resolution fails.","es":"Obj::IsVisible devuelve el inverso del bit 21 del dword [campo] del objeto resuelto, o false si no se puede resolver."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-818e7708426d0a","name":"Obj::SetMessengerStatus","member":"SetMessengerStatus","family":"Obj","returns":"void","args":["bool"],"kind":"method","signature":"void Obj::SetMessengerStatus(bool)","summary":{"en":"Resolves an Obj and selects one of two virtual status operations from a boolean argument.","es":"Obtiene un Obj y selecciona una de dos operaciones virtuales de estado según un argumento booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-038f93a61a64cf","name":"Obj::CanSee","member":"CanSee","family":"Obj","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Obj::CanSee(Obj)","summary":{"en":"Obj::CanSee combines a target flag with an observer-mask intersection.","es":"Obj::CanSee combina una marca del destino con una intersección de máscaras de observadores."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6b20b8cdcf10ae","name":"Obj::CanAttack","member":"CanAttack","family":"Obj","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Obj::CanAttack(Obj)","summary":{"en":"Tests the receiver target-eligibility gate and radius-adjusted signed inclusive attack range.","es":"Comprueba la elegibilidad del destino para el receptor y el alcance de ataque con signo, incluidos sus límites y ajustado por el radio."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f3d3aab213b827","name":"Obj::Erase","member":"Erase","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::Erase()","summary":{"en":"Forwards Obj::Erase to a receiver virtual method.","es":"Obj::Erase pasa la ejecución a un método virtual del receptor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-61f78082b7f50e","name":"Obj::player","member":"player","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::player()","summary":{"en":"Obj::player reads the resolved object's owner record index, adds one, and returns minus one for an invalid object.","es":"Obj::player lee el índice de registro del propietario del objeto obtenido, le añade uno y devuelve -1 si el objeto no es válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-57ab517a07b71f","name":"Obj::SetPlayer","member":"SetPlayer","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::SetPlayer(int)","summary":{"en":"Changes the object's owner. Player numbers start at one.","es":"Cambia el propietario del objeto. Los números de jugador empiezan en uno."},"notes":{},"examples":{},"technical":{}},{"id":"api-eda22dd0cfa9ea","name":"Obj::Damage","member":"Damage","family":"Obj","returns":"bool","args":["int"],"kind":"method","signature":"bool Obj::Damage(int)","summary":{"en":"Applies a nonnegative damage amount through an object's virtual damage operation after an optional related-object call.","es":"Aplica una cantidad de daño no negativa mediante la operación virtual de daño del objeto, tras una llamada opcional a un objeto relacionado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7fff8b6e2b341c","name":"Obj::Heal","member":"Heal","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::Heal(int)","summary":{"en":"Increases health up to the object's maximum health.","es":"Aumenta la vida sin superar la vida máxima del objeto."},"notes":{},"examples":{},"technical":{}},{"id":"api-49bdecc79863fc","name":"Obj::HealStamina","member":"HealStamina","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::HealStamina(int)","summary":{"en":"HealStamina forwards a wrap32 stamina sum bounded by a signed maximum comparison to receiver virtual [field].","es":"HealStamina pasa a la operación virtual [campo] del receptor una suma de resistencia con desbordamiento de 32 bits, limitada mediante una comparación con signo con el máximo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-529f11db18091e","name":"Obj::SetPos","member":"SetPos","family":"Obj","returns":"void","args":["point"],"kind":"method","signature":"void Obj::SetPos(point)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-b3427d9002b8fa","name":"Obj::SetPosSimple","member":"SetPosSimple","family":"Obj","returns":"void","args":["point"],"kind":"method","signature":"void Obj::SetPosSimple(point)","summary":{"en":"Clamps the supplied point and invokes virtual placement with two true flags.","es":"Limita el punto indicado e invoca la colocación virtual con dos marcas true."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8491cf0a640498","name":"Obj::SetBlind","member":"SetBlind","family":"Obj","returns":"void","args":["bool"],"kind":"method","signature":"void Obj::SetBlind(bool)","summary":{"en":"Selects one of two virtual operations on a mask according to the supplied boolean.","es":"Selecciona una de dos operaciones virtuales sobre una máscara según el booleano indicado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-aefc566a17b2be","name":"Obj::Face","member":"Face","family":"Obj","returns":"void","args":["point"],"kind":"method","signature":"void Obj::Face(point)","summary":{"en":"Initializes an object command context, sets its facing point and conditionally invokes its command-update virtual method.","es":"Inicializa un contexto de órdenes del objeto, establece el punto hacia el que se orienta e invoca condicionalmente su método virtual de actualización de órdenes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-020b7088af7ffa","name":"Obj::GetDir","member":"GetDir","family":"Obj","returns":"point","args":[],"kind":"method","signature":"point Obj::GetDir()","summary":{"en":"Returns two 32-bit components from the resolved Obj. If resolution fails, returns the default vector (0, 1).","es":"Devuelve dos componentes de 32 bits del objeto resuelto. Si no puede resolverlo, devuelve el vector predeterminado (0, 1)."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b3acfaf38bb51b","name":"Obj::Progress","member":"Progress","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::Progress()","summary":{"en":"Implements a VM wait phase around an object's queued command progress.","es":"Implementa una fase de espera de la máquina virtual basada en el avance de las órdenes en cola de un objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a0a736705790fc","name":"Obj::Progress","member":"Progress","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::Progress(int)","summary":{"en":"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.","es":"Solicita una espera del script asociada al progreso de una orden del objeto, usando la duración indicada. Esta variante utiliza el argumento entero en el contador de espera del script y registra los tiempos de inicio y final del progreso."},"notes":{"en":"Training and research scripts commonly obtain the duration from cmddelay, sometimes adjusting it by a percentage. The argument's relationship to real-time units and the details of script resumption are not fully documented.","es":"Los scripts de entrenamiento e investigación suelen obtener la duración a partir de cmddelay, a veces ajustándola con un porcentaje. La equivalencia del argumento con unidades de tiempo real y los detalles de reanudación del script no están completamente documentados."},"examples":{},"technical":{}},{"id":"api-f135690920a870","name":"Obj::cmddelay","member":"cmddelay","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::cmddelay()","summary":{"en":"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.","es":"Devuelve el valor asociado al retardo de una orden en la cola del objeto. Devuelve cero si el objeto no puede resolverse o si falta el vínculo a los datos de la orden consultada."},"notes":{"en":"Game scripts use this value as the duration passed to Progress, for example Progress(cmddelay). Its unit and the full interpretation of the value are not yet documented.","es":"Los scripts del juego utilizan este valor como duración al llamar a Progress, por ejemplo Progress(cmddelay). Su unidad y la interpretación completa del valor todavía no están documentadas."},"examples":{},"technical":{"en":true}},{"id":"api-9cfd5680a6e5d0","name":"Obj::IsInGroup","member":"IsInGroup","family":"Obj","returns":"bool","args":["str"],"kind":"method","signature":"bool Obj::IsInGroup(str)","summary":{"en":"Looks up the string key and returns the normalized result of found-group virtual [field] for the resolved Obj.","es":"Busca la clave de texto y devuelve el resultado normalizado de la operación virtual [campo] del grupo encontrado para el Obj resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-79d19b3a6f606b","name":"Obj::AddToGroup","member":"AddToGroup","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::AddToGroup(str)","summary":{"en":"Adds the object to a named group, creating the group if necessary.","es":"Añade el objeto a un grupo con nombre y crea el grupo si hace falta."},"notes":{},"examples":{},"technical":{}},{"id":"api-4aa9ab334095cd","name":"Obj::RemoveFromGroup","member":"RemoveFromGroup","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::RemoveFromGroup(str)","summary":{"en":"Looks up the supplied string key and calls [field] with the found object and resolved Obj when lookup status is zero.","es":"Busca la clave de texto indicada y llama a [campo] con el objeto encontrado y el Obj resuelto cuando el estado de búsqueda es cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2ef0a974c8446a","name":"Obj::RemoveFromAllGroups","member":"RemoveFromAllGroups","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::RemoveFromAllGroups()","summary":{"en":"Resolves one Obj reference, visits a temporary query snapshot and invokes a member-removal helper for each snapshot node.","es":"Obtiene una referencia Obj, recorre una instantánea temporal de consulta e invoca una operación de eliminación de miembros para cada nodo de esa instantánea."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1c2a591e2dc3be","name":"Obj::SetName","member":"SetName","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::SetName(str)","summary":{"en":"Passes the string payload pointer and the resolved Obj to an implementation operation.","es":"Pasa el puntero al contenido del texto y el objeto resuelto a una operación de implementación."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4cc8c0b3a417d5","name":"Obj::Select","member":"Select","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::Select(int)","summary":{"en":"Adds an eligible Obj to active-player selection when the supplied player matches the current player.","es":"Añade un Obj elegible a la selección del jugador activo cuando el jugador indicado coincide con el actual."},"notes":{},"examples":{},"technical":{}},{"id":"api-236c8d6b67b33f","name":"Obj::Deselect","member":"Deselect","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::Deselect(int)","summary":{"en":"Calls the selection helper with mode one only when the supplied player slot matches game [field].","es":"Llama a la operación auxiliar de selección con el modo uno solo cuando el índice de jugador indicado coincide con [campo] de la partida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3a315d8f17a4c3","name":"Obj::Deselect","member":"Deselect","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::Deselect()","summary":{"en":"Removes the object from the selection.","es":"Quita el objeto de la selección."},"notes":{},"examples":{},"technical":{}},{"id":"api-fc31d7a7bd06bf","name":"ClearSelection","member":"ClearSelection","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void ClearSelection(int)","summary":{"en":"Clears the selection when the supplied player is the current player.","es":"Vacía la selección si el jugador indicado es el jugador actual."},"notes":{},"examples":{},"technical":{}},{"id":"api-d333612478072f","name":"Obj::PlayAnim","member":"PlayAnim","family":"Obj","returns":"void","args":["int","point"],"kind":"method","signature":"void Obj::PlayAnim(int, point)","summary":{"en":"Requests a script-object animation and returns the VM suspension code.","es":"Solicita una animación de un objeto de scripts y devuelve el código de suspensión de la máquina virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b54dc79467d06b","name":"Obj::GetAnimTime","member":"GetAnimTime","family":"Obj","returns":"int","args":["int"],"kind":"method","signature":"int Obj::GetAnimTime(int)","summary":{"en":"GetAnimTime decrements its integer index and reads selected descriptor entry [field], returning zero for missing descriptors.","es":"GetAnimTime decrementa su índice entero y lee [campo] de la entrada de descriptor seleccionada; devuelve cero si faltan los descriptores."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-880dc8395710e9","name":"Obj::StartAnim","member":"StartAnim","family":"Obj","returns":"void","args":["int","point"],"kind":"method","signature":"void Obj::StartAnim(int, point)","summary":{"en":"Prepares and requests an animation with an optional target point.","es":"Prepara y solicita una animación con un punto de destino opcional."},"notes":{},"examples":{},"technical":{}},{"id":"api-d5a93ea484c4fe","name":"Obj::StartDelayedAnim","member":"StartDelayedAnim","family":"Obj","returns":"void","args":["int","point","int"],"kind":"method","signature":"void Obj::StartDelayedAnim(int, point, int)","summary":{"en":"Normalizes an equal-current point and forwards a decremented animation identifier with a final integer.","es":"Normaliza un punto igual al actual y pasa un identificador de animación reducido en uno junto con un entero final."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b3616140297bad","name":"Obj::TimeToActionMoment","member":"TimeToActionMoment","family":"Obj","returns":"int","args":[],"kind":"method","signature":"int Obj::TimeToActionMoment()","summary":{"en":"Wraps an object action-window query and returns the remaining time to its action moment.","es":"Encapsula una consulta del intervalo de acción del objeto y devuelve el tiempo restante hasta el momento de su acción."},"notes":{},"examples":{},"technical":{}},{"id":"api-de278003e6c1f6","name":"Obj::TimeToAnimFinish","member":"TimeToAnimFinish","family":"Obj","returns":"int","args":[],"kind":"method","signature":"int Obj::TimeToAnimFinish()","summary":{"en":"Returns the positive difference between animation finish time and the object's clock.","es":"Devuelve la diferencia positiva entre el momento de fin de la animación y el reloj del objeto."},"notes":{},"examples":{},"technical":{}},{"id":"api-e134ea72ea2557","name":"Obj::GetAnim","member":"GetAnim","family":"Obj","returns":"int","args":[],"kind":"method","signature":"int Obj::GetAnim()","summary":{"en":"Obj::GetAnim returns Obj [field] plus one when nonnegative and zero otherwise.","es":"Obj::GetAnim devuelve Obj [campo] más uno si el valor no es negativo, y cero en otro caso."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-53d701eb5408bd","name":"Obj::SetState","member":"SetState","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::SetState(int)","summary":{"en":"Forwards a decremented state identifier and preserves an anomalous invalid-receiver VM zero push.","es":"Pasa un identificador de estado reducido en uno y conserva una inserción anómala de cero en la máquina virtual cuando el receptor no es válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d2a45388a4e498","name":"Obj::AddItem","member":"AddItem","family":"Obj","returns":"bool","args":["str"],"kind":"method","signature":"bool Obj::AddItem(str)","summary":{"en":"Attempts to add an item with the specified name and returns whether it succeeded.","es":"Intenta añadir un objeto del inventario con el nombre indicado y devuelve si ha sido posible."},"notes":{},"examples":{},"technical":{}},{"id":"api-213132b0e6c558","name":"Obj::GiveItem","member":"GiveItem","family":"Obj","returns":"bool","args":["Item","Obj"],"kind":"method","signature":"bool Obj::GiveItem(Item, Obj)","summary":{"en":"Transfers an owned item to another live object. If the destination cannot accept it, the transfer attempts to return it to the source.","es":"Transfiere un objeto del inventario a otro objeto vivo. Si el destino no puede aceptarlo, intenta devolverlo al origen."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{}},{"id":"api-4a806c3f1b1d9d","name":"Obj::OpenItemHolder","member":"OpenItemHolder","family":"Obj","returns":"bool","args":["ItemHolder"],"kind":"method","signature":"bool Obj::OpenItemHolder(ItemHolder)","summary":{"en":"Transfers items from a holder into an eligible object's inventory.","es":"Transfiere objetos del inventario desde un contenedor al inventario de un objeto elegible."},"notes":{},"examples":{},"technical":{}},{"id":"api-879191a4300e8e","name":"Obj::PutItem","member":"PutItem","family":"Obj","returns":"bool","args":["Item","ItemHolder"],"kind":"method","signature":"bool Obj::PutItem(Item, ItemHolder)","summary":{"en":"Moves an inventory item into the specified item holder.","es":"Mueve un objeto del inventario al contenedor indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-7fb04f55e88935","name":"Obj::DropItem","member":"DropItem","family":"Obj","returns":"bool","args":["Item","point"],"kind":"method","signature":"bool Obj::DropItem(Item, point)","summary":{"en":"Requests that a specified receiver item be dropped at a point while returning false.","es":"Solicita soltar en un punto el objeto de inventario indicado del receptor, mientras devuelve false."},"notes":{},"examples":{},"technical":{}},{"id":"api-4c36da05d7cfdf","name":"Obj::FindItem","member":"FindItem","family":"Obj","returns":"Item","args":["str"],"kind":"method","signature":"Item Obj::FindItem(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-de4e391796f8f8","name":"Obj::RemoveItem","member":"RemoveItem","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::RemoveItem(int)","summary":{"en":"RemoveItem int dispatches removal after signed one-based bounds.","es":"RemoveItem con un entero solicita la eliminación después de comprobar los límites con signo, numerados desde uno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-19b2445d1bd039","name":"Obj::RemoveItem","member":"RemoveItem","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::RemoveItem(str)","summary":{"en":"RemoveItem str dispatches removal after nonnegative name lookup.","es":"RemoveItem con un texto solicita la eliminación después de que la búsqueda por nombre dé un resultado no negativo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-88c48a021b7bc5","name":"Obj::RemoveAllItems","member":"RemoveAllItems","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::RemoveAllItems()","summary":{"en":"RemoveAllItems repeats virtual removal until count is zero.","es":"RemoveAllItems repite la eliminación virtual hasta que el recuento es cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a81481be44b793","name":"Obj::ExchangeItem","member":"ExchangeItem","family":"Obj","returns":"bool","args":["Item","str"],"kind":"method","signature":"bool Obj::ExchangeItem(Item, str)","summary":{"en":"ExchangeItem returns true after a gated replacement dispatch.","es":"ExchangeItem devuelve true después de solicitar una sustitución protegida por comprobaciones."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d290607cf79213","name":"Obj::GetItem","member":"GetItem","family":"Obj","returns":"Item","args":["int"],"kind":"method","signature":"Item Obj::GetItem(int)","summary":{"en":"GetItem builds a handle from the virtual lookup result.","es":"GetItem construye una referencia a partir del resultado de la búsqueda virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-837cac158b9b9d","name":"Obj::RemoveItemsOfType","member":"RemoveItemsOfType","family":"Obj","returns":"int","args":["str"],"kind":"method","signature":"int Obj::RemoveItemsOfType(str)","summary":{"en":"Removes all inventory items with the specified type name and returns the number removed.","es":"Elimina del inventario todos los objetos del tipo indicado y devuelve cuántos ha eliminado."},"notes":{},"examples":{},"technical":{}},{"id":"api-36395b29d49b8f","name":"Obj::GetItemIndex","member":"GetItemIndex","family":"Obj","returns":"int","args":["Item"],"kind":"method","signature":"int Obj::GetItemIndex(Item)","summary":{"en":"GetItemIndex increments the virtual index result.","es":"GetItemIndex aumenta en uno el resultado del índice virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d575f30e830f2d","name":"Obj::items_count","member":"items_count","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::items_count()","summary":{"en":"items_count returns virtual slot [field] or zero.","es":"items_count devuelve la operación virtual [campo] o cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f2add4184e5123","name":"Obj::free_item_slots","member":"free_item_slots","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::free_item_slots()","summary":{"en":"free_item_slots subtracts two virtual values without clamping.","es":"free_item_slots resta dos valores virtuales sin limitar el resultado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-14e2cae251c3fc","name":"Obj::item_count","member":"item_count","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::item_count()","summary":{"en":"Returns the receiver item count through virtual slot [field], or zero for an invalid handle.","es":"Devuelve el número de objetos del inventario del receptor mediante la operación virtual [campo], o cero para una referencia no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fce682e06523e7","name":"Obj::max_items","member":"max_items","family":"Obj","returns":"int","args":[],"kind":"property","signature":"int Obj::max_items()","summary":{"en":"Returns the resolved object's item-capacity value through virtual slot [field].","es":"Devuelve la capacidad de objetos del inventario del objeto resuelto mediante la operación virtual [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d804e841a0349f","name":"Obj::ClipDestToMap","member":"ClipDestToMap","family":"Obj","returns":"point","args":["point"],"kind":"method","signature":"point Obj::ClipDestToMap(point)","summary":{"en":"Obj::ClipDestToMap ignores the object handle and clamps the point coordinates to the global map bounding rect at offset [field] of [shared state].","es":"Obj::ClipDestToMap ignora la referencia al objeto y limita las coordenadas del punto al rectángulo global de límites del mapa obtenido desde [campo] de [estado compartido]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-197e0cfbfca949","name":"Obj::pr","member":"pr","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::pr(str)","summary":{"en":"Formats the supplied HX string under a receiver-field gate and releases it on every normal path.","es":"Da formato al texto HX indicado bajo una comprobación de un campo del receptor y lo libera en todas las rutas normales."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-43d7c92a98b0d7","name":"Obj::pr","member":"pr","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::pr(int)","summary":{"en":"Formats the supplied integer through chat dispatch when the receiver field matches the global gate.","es":"Da formato al entero indicado mediante el envío al chat cuando el campo del receptor coincide con la condición global."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-70c8d7848dadb5","name":"Obj::pr","member":"pr","family":"Obj","returns":"void","args":["Obj"],"kind":"method","signature":"void Obj::pr(Obj)","summary":{"en":"Formats the unresolved payload handle pair when the receiver field matches the global gate.","es":"Da formato al par de referencias del contenido sin obtenerlo cuando el campo del receptor coincide con la condición global."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f0ccf9d715018b","name":"Obj::GetDebug","member":"GetDebug","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::GetDebug()","summary":{"en":"GetDebug compares resolved object dword [field] with dword[[field]].","es":"GetDebug compara el dword [campo] del objeto resuelto con dword[[campo]]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0302a1e72d2884","name":"Obj::SetDebug","member":"SetDebug","family":"Obj","returns":"void","args":["bool"],"kind":"method","signature":"void Obj::SetDebug(bool)","summary":{"en":"SetDebug normalizes its byte Boolean to a dword 0/1 and forwards it through object virtual [field].","es":"SetDebug normaliza su byte booleano a un dword 0/1 y lo pasa mediante la operación virtual [campo] del objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5176ef0f430c17","name":"Obj::class","member":"class","family":"Obj","returns":"str","args":[],"kind":"property","signature":"str Obj::class()","summary":{"en":"Returns a managed copy of a resolved object's class-template name.","es":"Devuelve una copia gestionada del nombre de la plantilla de clase del objeto obtenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0bf82da19a1e0e","name":"Obj::command","member":"command","family":"Obj","returns":"str","args":[],"kind":"property","signature":"str Obj::command()","summary":{"en":"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.","es":"Obj::command copia el campo de texto corto [campo] del objeto resuelto en un texto CKS gestionado; devuelve un texto vacío para una referencia no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c0fab0a8938912","name":"Obj::command","member":"command","family":"Obj","returns":"str","args":["int"],"kind":"method","signature":"str Obj::command(int)","summary":{"en":"Returns a queued command's name by index, starting at zero. Returns an empty string for an invalid object or index.","es":"Devuelve el nombre de una orden pendiente por su índice, empezando en cero. Devuelve un texto vacío si el objeto o el índice no son válidos."},"notes":{},"examples":{},"technical":{}},{"id":"api-111787dad4babc","name":"cmdparam","member":"cmdparam","family":"Global","returns":"str","args":[],"kind":"function","signature":"str cmdparam()","summary":{"en":"cmdparam returns a global command parameter or a fallback active-order string.","es":"cmdparam devuelve un parámetro global de orden o un texto alternativo de la orden activa."},"notes":{},"examples":{},"technical":{}},{"id":"api-771e3b0d75ca70","name":"cmdwaiting","member":"cmdwaiting","family":"Global","returns":"str","args":[],"kind":"function","signature":"str cmdwaiting()","summary":{"en":"Returns the current selection's command-waiting string or an empty fallback.","es":"Devuelve el texto de espera de orden de la selección actual o un texto vacío como alternativa."},"notes":{},"examples":{},"technical":{}},{"id":"api-abd714766a55d6","name":"rollover","member":"rollover","family":"Global","returns":"str","args":[],"kind":"function","signature":"str rollover()","summary":{"en":"Concatenates two selected strings and pushes an owned managed string result.","es":"Concatena dos textos seleccionados e introduce en la pila un resultado de texto gestionado con propiedad propia."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-df7deffdbfa5fb","name":"rollover","member":"rollover","family":"Global","returns":"str","args":["Obj","bool"],"kind":"function","signature":"str rollover(Obj, bool)","summary":{"en":"Builds command rollover text from an order description, resource costs, and current affordability.","es":"Construye el texto emergente de una orden a partir de su descripción, sus costes de recursos y la capacidad actual para pagarlos."},"notes":{},"examples":{},"technical":{}},{"id":"api-b15f13dded5e72","name":"rollover","member":"rollover","family":"Global","returns":"str","args":["Obj","str","bool"],"kind":"function","signature":"str rollover(Obj, str, bool)","summary":{"en":"Builds object rollover text from order costs, class statistics, and optional affordability detail.","es":"Construye el texto emergente de un objeto a partir de los costes de la orden, las estadísticas de la clase y, opcionalmente, la capacidad para pagarlos."},"notes":{},"examples":{},"technical":{}},{"id":"api-ae384d410c00e1","name":"rollover","member":"rollover","family":"Global","returns":"str","args":["Obj","str"],"kind":"function","signature":"str rollover(Obj, str)","summary":{"en":"Composes rollover text from an order description, a localized supplied key, and a secondary description.","es":"Compone un texto emergente a partir de una descripción de orden, una clave indicada y localizada, y una descripción secundaria."},"notes":{},"examples":{},"technical":{}},{"id":"api-6f853237bf1d96","name":"rollover_desc","member":"rollover_desc","family":"Global","returns":"str","args":["Obj","str","bool"],"kind":"function","signature":"str rollover_desc(Obj, str, bool)","summary":{"en":"Composes localized rollover text and conditionally appends the secondary order description.","es":"Compone un texto emergente localizado y añade condicionalmente la descripción secundaria de la orden."},"notes":{},"examples":{},"technical":{}},{"id":"api-8608fcfdacd60f","name":"cmdcost_gold","member":"cmdcost_gold","family":"Global","returns":"int","args":[],"kind":"function","signature":"int cmdcost_gold()","summary":{"en":"Returns the cached gold cost or obtains it from the current script command context.","es":"Devuelve el coste de oro almacenado o lo obtiene del contexto actual de la orden del script."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6642dae1a69068","name":"cmdcost_food","member":"cmdcost_food","family":"Global","returns":"int","args":[],"kind":"function","signature":"int cmdcost_food()","summary":{"en":"Returns the current food command cost from the cache or active order.","es":"Devuelve el coste actual de comida de la orden desde los datos almacenados o desde la orden activa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ebe83f05a5befc","name":"cmdcost_pop","member":"cmdcost_pop","family":"Global","returns":"int","args":[],"kind":"function","signature":"int cmdcost_pop()","summary":{"en":"Returns the cached population cost or obtains it from the current script command context.","es":"Devuelve el coste de población almacenado o lo obtiene del contexto actual de la orden del script."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ed9f42ace11ccf","name":"cmdcost_stamina","member":"cmdcost_stamina","family":"Global","returns":"int","args":[],"kind":"function","signature":"int cmdcost_stamina()","summary":{"en":"Returns the cached stamina cost or obtains it from the current script command context.","es":"Devuelve el coste de energía almacenado o lo obtiene del contexto actual de la orden del script."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-32f6aae9244885","name":"GetPlayerRace","member":"GetPlayerRace","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int GetPlayerRace(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-06cc51c3580062","name":"Obj::_LastSelectionTime","member":"_LastSelectionTime","family":"Obj","returns":"int","args":[],"kind":"method","signature":"int Obj::_LastSelectionTime()","summary":{"en":"Returns a 32-bit field of the resolved object, or the all-bits-set 32-bit sentinel if object resolution fails.","es":"Devuelve un campo de 32 bits del objeto resuelto, o el valor centinela de 32 bits con todos los bits activos si no puede resolver el objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cb2a1723235de0","name":"_GetSelection","member":"_GetSelection","family":"Global","returns":"ObjList","args":[],"kind":"function","signature":"ObjList _GetSelection()","summary":{"en":"Returns the active player's selected objects as an ObjList.","es":"Devuelve los objetos seleccionados por el jugador actual como una ObjList."},"notes":{},"examples":{},"technical":{}},{"id":"api-3dba1006a27b74","name":"ClearDebug","member":"ClearDebug","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ClearDebug()","summary":{"en":"Increments a shared 32-bit value. The implementation reports status zero.","es":"Incrementa un valor compartido de 32 bits. La implementación informa del estado cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e19893ffb5226c","name":"Place","member":"Place","family":"Global","returns":"Obj","args":["str","point","int"],"kind":"function","signature":"Obj Place(str, point, int)","summary":{"en":"Creates an object of the named class at a map position for the specified player, when placement is possible.","es":"Crea un objeto de la clase indicada en una posición del mapa para el jugador indicado, cuando es posible colocarlo."},"notes":{},"examples":{},"technical":{}},{"id":"api-25efbeca473f68","name":"PlaceInHolder","member":"PlaceInHolder","family":"Global","returns":"Obj","args":["str","str","int"],"kind":"function","signature":"Obj PlaceInHolder(str, str, int)","summary":{"en":"Validates the player and routes a compatible created unit to forced entry in the named holder.","es":"Valida el jugador y solicita la entrada forzada de una unidad compatible recién creada en el contenedor indicado por nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7ecf0a9f01dacb","name":"_PlaceEx","member":"_PlaceEx","family":"Global","returns":"Obj","args":["str","int","int","int"],"kind":"function","signature":"Obj _PlaceEx(str, int, int, int)","summary":{"en":"Clamps a supplied point to map margins and routes placement with an optional script handle.","es":"Limita el punto indicado a los márgenes del mapa y solicita su colocación con una referencia de script opcional."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-aa29cd1733b193","name":"_PlaceBlockEx","member":"_PlaceBlockEx","family":"Global","returns":"void","args":["str","int","int","int","int","int","int","int"],"kind":"function","signature":"void _PlaceBlockEx(str, int, int, int, int, int, int, int)","summary":{"en":"Routes class creation and placement across a signed grid, aborting on factory or template failure.","es":"Solicita la creación y colocación de clases sobre una cuadrícula con signo y se interrumpe si falla la creación o la plantilla."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9646fe9b6187d3","name":"_PlaceBlockEx","member":"_PlaceBlockEx","family":"Global","returns":"void","args":["str","int","int","int","int","int","int","int","str"],"kind":"function","signature":"void _PlaceBlockEx(str, int, int, int, int, int, int, int, str)","summary":{"en":"Prepares a named group and routes compatible grid objects to its insertion virtual.","es":"Prepara un grupo por nombre y pasa los objetos compatibles de la cuadrícula a su operación virtual de inserción."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-11139be26d83f7","name":"_Summon","member":"_Summon","family":"Global","returns":"void","args":["str","int","int","int"],"kind":"function","signature":"void _Summon(str, int, int, int)","summary":{"en":"Allocates and populates a command-shaped object before game submission.","es":"Reserva y rellena un objeto con estructura de orden antes de enviarlo al juego."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-27237cefcccfa4","name":"Obj::IsWaterUnit","member":"IsWaterUnit","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsWaterUnit()","summary":{"en":"IsWaterUnit returns whether the dword at object class [field] is nonzero.","es":"IsWaterUnit devuelve si el dword [campo] de la clase del objeto es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-517900d148ae84","name":"Obj::SetCmdEnable","member":"SetCmdEnable","family":"Obj","returns":"void","args":["bool"],"kind":"method","signature":"void Obj::SetCmdEnable(bool)","summary":{"en":"SetCmdEnable writes normalized bool to object [field] only after virtual [field] returns zero.","es":"SetCmdEnable escribe el bool normalizado en [campo] del objeto solo después de que la operación virtual [campo] devuelva cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-34893de849de7e","name":"Obj::GetCmdEnable","member":"GetCmdEnable","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::GetCmdEnable()","summary":{"en":"GetCmdEnable tests object [field] only when virtual [field] returns zero.","es":"GetCmdEnable comprueba [campo] del objeto solo cuando la operación virtual [campo] devuelve cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-84ca844292d398","name":"Obj::AddToStoreBin","member":"AddToStoreBin","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::AddToStoreBin()","summary":{"en":"Passes the resolved Obj to the next operation without checking for a null reference.","es":"Pasa el objeto resuelto a la siguiente operación sin comprobar si la referencia es nula."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0a612b383761f9","name":"Obj::RemoveFromStoreBin","member":"RemoveFromStoreBin","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::RemoveFromStoreBin()","summary":{"en":"Passes the resolved Obj to the next operation without checking for a null reference.","es":"Pasa el objeto resuelto a la siguiente operación sin comprobar si la referencia es nula."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-74d13d7af98599","name":"Obj::IsInState","member":"IsInState","family":"Obj","returns":"bool","args":[],"kind":"method","signature":"bool Obj::IsInState()","summary":{"en":"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.","es":"Devuelve true cuando una búsqueda de una determinada entrada de estado en el receptor resuelto no encuentra coincidencias. El significado de esa entrada no está documentado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b030d93425d5be","name":"Obj::PlaySound","member":"PlaySound","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::PlaySound(str)","summary":{"en":"Adapts script string and object arguments to the spatial sound playback method [field] and releases the string reference.","es":"Adapta los argumentos de texto y objeto del script al método de reproducción de sonido espacial [campo] y libera la referencia al texto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-45c884af2d5007","name":"Obj::ShowFloatText","member":"ShowFloatText","family":"Obj","returns":"void","args":["str"],"kind":"method","signature":"void Obj::ShowFloatText(str)","summary":{"en":"Submits string payload with a virtual point whose second coordinate is decreased by 120.","es":"Envía un contenido de texto junto con un punto virtual cuya segunda coordenada se reduce en 120."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a77da31de7ceaf","name":"Group","member":"Group","family":"Global","returns":"Query","args":["str"],"kind":"function","signature":"Query Group(str)","summary":{"en":"Looks up a named group query and conditionally constructs and registers a replacement before returning its managed Query value.","es":"Busca la consulta de un grupo por nombre y, condicionalmente, construye y registra una sustitución antes de devolver su valor Query gestionado."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e663e8b96e01d3","name":"GetGroupSize","member":"GetGroupSize","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int GetGroupSize(str)","summary":{"en":"Looks up a named group and returns its list count or zero.","es":"Busca un grupo por nombre y devuelve el recuento de su lista o cero."},"notes":{},"examples":{},"technical":{}},{"id":"api-004738ef077298","name":"SpawnGroup","member":"SpawnGroup","family":"Global","returns":"ObjList","args":["str"],"kind":"function","signature":"ObjList SpawnGroup(str)","summary":{"en":"Looks up a named group, processes its live unit members through the world-spawn helper, and returns its resulting ObjList.","es":"Busca un grupo por nombre, procesa sus miembros de tipo unidad vivos mediante la operación de creación en el mundo y devuelve la ObjList resultante."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f864e268b7b90b","name":"SpawnGroupInHolder","member":"SpawnGroupInHolder","family":"Global","returns":"ObjList","args":["str","str"],"kind":"function","signature":"ObjList SpawnGroupInHolder(str, str)","summary":{"en":"Resolves a named group and named holder, forces eligible group units into that holder, and returns the processed-unit ObjList.","es":"Obtiene un grupo y un contenedor por nombre, fuerza la entrada de las unidades elegibles del grupo en ese contenedor y devuelve la ObjList de unidades procesadas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7a7eb0d4755bfa","name":"SpawnGroupInHolder","member":"SpawnGroupInHolder","family":"Global","returns":"ObjList","args":["str","Obj"],"kind":"function","signature":"ObjList SpawnGroupInHolder(str, Obj)","summary":{"en":"Resolves a named group and an Obj receiver's virtual holder, forces eligible group units into it, and returns the processed-unit ObjList.","es":"Obtiene un grupo por nombre y el contenedor virtual del receptor Obj, fuerza la entrada en él de las unidades elegibles del grupo y devuelve la ObjList de unidades procesadas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6d5b8c49c7277c","name":"SpawnNamed","member":"SpawnNamed","family":"Global","returns":"Obj","args":["str"],"kind":"function","signature":"Obj SpawnNamed(str)","summary":{"en":"Looks up a named query and routes its current member through spawn and handle allocation.","es":"Busca una consulta por nombre y procesa su miembro actual mediante la creación y la reserva de referencias."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e851c548be9ad1","name":"ModLevel","member":"ModLevel","family":"Global","returns":"void","args":["str","int","int","int"],"kind":"function","signature":"void ModLevel(str, int, int, int)","summary":{"en":"Resolves a named group and dispatches one of three level deltas according to the game difficulty value.","es":"Obtiene un grupo por nombre y aplica uno de tres incrementos de nivel según el valor de dificultad del juego."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9798c1c9b794d6","name":"Union","member":"Union","family":"Global","returns":"Query","args":["Query","Query"],"kind":"function","signature":"Query Union(Query, Query)","summary":{"en":"Creates or reuses a composite Query node of operation code zero for two Query operands.","es":"Crea o reutiliza un nodo de Query compuesta con el código de operación cero para dos operandos Query."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6eea349966c44e","name":"Intersect","member":"Intersect","family":"Global","returns":"Query","args":["Query","Query"],"kind":"function","signature":"Query Intersect(Query, Query)","summary":{"en":"Builds a composite Query from two resolved handles using selector 1 and returns its handle.","es":"Construye una Query compuesta a partir de dos referencias obtenidas, usando el selector 1, y devuelve su referencia."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a378d64167759a","name":"Substract","member":"Substract","family":"Global","returns":"Query","args":["Query","Query"],"kind":"function","signature":"Query Substract(Query, Query)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-bf2a093013c1a5","name":"Subtract","member":"Subtract","family":"Global","returns":"Query","args":["Query","Query"],"kind":"function","signature":"Query Subtract(Query, Query)","summary":{"en":"Creates or reuses a composite Query node of operation code two for two Query operands.","es":"Crea o reutiliza un nodo de Query compuesta con el código de operación dos para dos operandos Query."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ce8c6987035f38","name":"ClassPlayerAreaObjs","member":"ClassPlayerAreaObjs","family":"Global","returns":"Query","args":["str","int","str"],"kind":"function","signature":"Query ClassPlayerAreaObjs(str, int, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-d42fbcd90fdd0b","name":"ClassPlayerObjs","member":"ClassPlayerObjs","family":"Global","returns":"Query","args":["str","int"],"kind":"function","signature":"Query ClassPlayerObjs(str, int)","summary":{"en":"Validates a player and class name, then returns a cached or newly built player-class Query.","es":"Valida un jugador y un nombre de clase y devuelve una Query de jugador y clase, almacenada o recién construida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6d42ca15e891a5","name":"BuildingsInSettlement","member":"BuildingsInSettlement","family":"Global","returns":"Query","args":["str","str"],"kind":"function","signature":"Query BuildingsInSettlement(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-e744bf3176747c","name":"UnitsInSettlement","member":"UnitsInSettlement","family":"Global","returns":"Query","args":["str","str"],"kind":"function","signature":"Query UnitsInSettlement(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-46d7a4b7bcb531","name":"UnitsAroundSettlement","member":"UnitsAroundSettlement","family":"Global","returns":"Query","args":["str","str"],"kind":"function","signature":"Query UnitsAroundSettlement(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-9e9efb227f83e8","name":"UnitsGuardingSettlement","member":"UnitsGuardingSettlement","family":"Global","returns":"Query","args":["str","str"],"kind":"function","signature":"Query UnitsGuardingSettlement(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-e9ccbaf8763e90","name":"UnitsInSettlement","member":"UnitsInSettlement","family":"Global","returns":"Query","args":["Settlement","str"],"kind":"function","signature":"Query UnitsInSettlement(Settlement, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-ce4e51a26b7546","name":"UnitsAroundSettlement","member":"UnitsAroundSettlement","family":"Global","returns":"Query","args":["Settlement","str"],"kind":"function","signature":"Query UnitsAroundSettlement(Settlement, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-fed2a1ba269130","name":"UnitsGuardingSettlement","member":"UnitsGuardingSettlement","family":"Global","returns":"Query","args":["Settlement","str"],"kind":"function","signature":"Query UnitsGuardingSettlement(Settlement, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-836f95e7610fba","name":"EnemyObjs","member":"EnemyObjs","family":"Global","returns":"Query","args":["int","str"],"kind":"function","signature":"Query EnemyObjs(int, str)","summary":{"en":"Validates a player and class string, requests a mode-two cached query and returns its managed Query value.","es":"Valida un jugador y un texto de clase, solicita una consulta almacenada de modo dos y devuelve su valor Query gestionado."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-75b37f198ec403","name":"FriendlyObjs","member":"FriendlyObjs","family":"Global","returns":"Query","args":["int","str"],"kind":"function","signature":"Query FriendlyObjs(int, str)","summary":{"en":"Constructs a class-filtered Query for a specified player.","es":"Construye una Query filtrada por clase para el jugador indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-73c8087a12b17d","name":"ControllableObjs","member":"ControllableObjs","family":"Global","returns":"Query","args":["int","str"],"kind":"function","signature":"Query ControllableObjs(int, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-7c5df17683e038","name":"AreaObjs","member":"AreaObjs","family":"Global","returns":"Query","args":["str","str"],"kind":"function","signature":"Query AreaObjs(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-22af33bd995a3d","name":"ObjsInRect","member":"ObjsInRect","family":"Global","returns":"Query","args":["rect","str"],"kind":"function","signature":"Query ObjsInRect(rect, str)","summary":{"en":"Builds a query from an inclusive rectangle and a resolved script-class filter.","es":"Construye una consulta a partir de un rectángulo que incluye sus bordes y un filtro de clase de scripts obtenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7250835e7d3cb0","name":"ObjsInCircle","member":"ObjsInCircle","family":"Global","returns":"Query","args":["point","int","str"],"kind":"function","signature":"Query ObjsInCircle(point, int, str)","summary":{"en":"Returns a class-filtered spatial query centered on a point with a supplied radius.","es":"Devuelve una consulta espacial filtrada por clase, centrada en un punto y con el radio indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-ab47c0c1ce60b3","name":"ObjsInSight","member":"ObjsInSight","family":"Global","returns":"Query","args":["Obj","str"],"kind":"function","signature":"Query ObjsInSight(Obj, str)","summary":{"en":"Builds a class-filtered query of objects visible to a resolved object.","es":"Construye una consulta filtrada por clase con los objetos visibles para el objeto obtenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-800d203f55717b","name":"VisibleObjsInSight","member":"VisibleObjsInSight","family":"Global","returns":"Query","args":["Obj","str"],"kind":"function","signature":"Query VisibleObjsInSight(Obj, str)","summary":{"en":"Builds a visibility-mode class-filtered Query around a resolved Obj.","es":"Construye una Query filtrada por clase y modo de visibilidad alrededor del Obj obtenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-38962e25badeb0","name":"ObjsInRange","member":"ObjsInRange","family":"Global","returns":"Query","args":["Obj","str","int"],"kind":"function","signature":"Query ObjsInRange(Obj, str, int)","summary":{"en":"Validates an Obj and class name, then returns a cached or newly built object-range Query.","es":"Valida un Obj y un nombre de clase y devuelve una Query de alcance del objeto, almacenada o recién construida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5ff75438e3a4c3","name":"AttachedUnits","member":"AttachedUnits","family":"Global","returns":"Query","args":["Hero","str"],"kind":"function","signature":"Query AttachedUnits(Hero, str)","summary":{"en":"Builds a class-filtered query of units attached to a resolved hero.","es":"Construye una consulta filtrada por clase con las unidades asociadas al héroe obtenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6dee6a69367af2","name":"PartyQuery","member":"PartyQuery","family":"Global","returns":"Query","args":[],"kind":"function","signature":"Query PartyQuery()","summary":{"en":"Pushes a singleton query handle with its owned VM footer.","es":"Introduce en la pila una referencia a una consulta única junto con su bloque final de la máquina virtual, del que es propietaria."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ad5c052eff3d54","name":"Query::Erase","member":"Erase","family":"Query","returns":"void","args":[],"kind":"method","signature":"void Query::Erase()","summary":{"en":"Invokes a virtual operation on query members that lack a particular object flag. The meaning of that flag is not documented.","es":"Invoca una operación virtual sobre los miembros de la consulta que no tienen una determinada bandera del objeto. El significado de esa bandera no está documentado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-98830a697e0872","name":"Query::SetPlayer","member":"SetPlayer","family":"Query","returns":"void","args":["int"],"kind":"method","signature":"void Query::SetPlayer(int)","summary":{"en":"Passes the script player value minus one to each live Query member's virtual slot [field].","es":"Pasa el valor de jugador del script menos uno a la operación virtual [campo] de cada miembro vivo de Query."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4c45a36ee40416","name":"Query::Damage","member":"Damage","family":"Query","returns":"int","args":["int"],"kind":"method","signature":"int Query::Damage(int)","summary":{"en":"Calls virtual damage slot [field] on eligible Query members and counts nonzero call results.","es":"Llama a la operación virtual de daño [campo] para los miembros aptos de Query y cuenta los resultados distintos de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4c8c9af11f2705","name":"Query::Heal","member":"Heal","family":"Query","returns":"void","args":["int"],"kind":"method","signature":"void Query::Heal(int)","summary":{"en":"Adds a signed amount to eligible query members' health and clamps each result to maximum health.","es":"Añade una cantidad con signo a la vida de los miembros elegibles de la consulta y limita cada resultado a su vida máxima."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f73e03be9789c5","name":"Query::HealStamina","member":"HealStamina","family":"Query","returns":"void","args":["int"],"kind":"method","signature":"void Query::HealStamina(int)","summary":{"en":"Adds an integer amount to eligible Query members' stamina and caps it at each member's maximum.","es":"Añade una cantidad entera a la energía de los miembros elegibles de Query y la limita al máximo de cada miembro."},"notes":{},"examples":{},"technical":{}},{"id":"api-86fad9470ee436","name":"Query::AddDefCmd","member":"AddDefCmd","family":"Query","returns":"void","args":["point","Obj","bool","bool"],"kind":"method","signature":"void Query::AddDefCmd(point, Obj, bool, bool)","summary":{"en":"Resolves Query and optional Obj, passes point, target ID or 65535 and two normalized flags to the default-command dispatch chain.","es":"Resuelve Query y el Obj opcional, y pasa el punto, el identificador de destino o 65535, y dos indicadores normalizados a la cadena de despacho de órdenes predeterminadas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-75581194f97a45","name":"Query::IsValid","member":"IsValid","family":"Query","returns":"bool","args":[],"kind":"method","signature":"bool Query::IsValid()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-f5594d1ece6cf9","name":"=","member":"=","family":"Global","returns":"void","args":["Query&","Query"],"kind":"operator","signature":"void =(Query&, Query)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-1ea7e5d83ed77e","name":"Query::count","member":"count","family":"Query","returns":"int","args":[],"kind":"property","signature":"int Query::count()","summary":{"en":"Returns the result container's count for a resolved Query, or zero for an invalid receiver.","es":"Devuelve el recuento del contenedor de resultados de la Query obtenida, o cero si el receptor no es válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-51fc753014765a","name":"Query::IsEmpty","member":"IsEmpty","family":"Query","returns":"bool","args":[],"kind":"method","signature":"bool Query::IsEmpty()","summary":{"en":"Returns whether a resolved Query's virtual emptiness predicate is nonzero, with true for an invalid receiver.","es":"Devuelve si la condición virtual de vacío de la Query obtenida es distinta de cero; devuelve true si el receptor no es válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a732c0c101500d","name":"Query::Contains","member":"Contains","family":"Query","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Query::Contains(Obj)","summary":{"en":"Passes an Obj value to a resolved Query's membership predicate and returns its boolean result.","es":"Pasa un valor Obj a la condición de pertenencia de la Query obtenida y devuelve su resultado booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-826d391c5f1668","name":"Query::ClearCommands","member":"ClearCommands","family":"Query","returns":"void","args":[],"kind":"method","signature":"void Query::ClearCommands()","summary":{"en":"For each live member of a resolved Query, calls virtual [field] with zero while the global gate is zero.","es":"Para cada miembro vivo de una Query resuelta, llama a la operación virtual [campo] con cero mientras la condición global sea cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-635ca95d6cb6cc","name":"Query::KillCommand","member":"KillCommand","family":"Query","returns":"void","args":[],"kind":"method","signature":"void Query::KillCommand()","summary":{"en":"For each live Query member, calls [field] with zero while the global gate is zero.","es":"Para cada miembro vivo de Query, llama a [campo] con cero mientras la condición global sea cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0d28a21a2f4b7b","name":"Query::AddCommand","member":"AddCommand","family":"Query","returns":"void","args":["bool","str"],"kind":"method","signature":"void Query::AddCommand(bool, str)","summary":{"en":"Dispatches factory mode zero for each live Query member and installs nonnull results with the normalized bool.","es":"Solicita el modo de creación cero para cada miembro vivo de Query e instala los resultados no nulos con el bool normalizado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4d7125dfce9e67","name":"Query::AddCommand","member":"AddCommand","family":"Query","returns":"void","args":["bool","str","point"],"kind":"method","signature":"void Query::AddCommand(bool, str, point)","summary":{"en":"Dispatches factory mode one with the unchanged point pair for each live Query member and installs nonnull results.","es":"Solicita el modo de creación uno, con el par de coordenadas sin modificar, para cada miembro vivo de Query e instala los resultados no nulos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-783c34dbeb0feb","name":"Query::AddCommand","member":"AddCommand","family":"Query","returns":"void","args":["bool","str","Obj"],"kind":"method","signature":"void Query::AddCommand(bool, str, Obj)","summary":{"en":"Dispatches factory mode two with the raw Obj pair after validating its low-word registry slot, installing nonnull results on live Query members.","es":"Despacha el modo dos de la fábrica con el par Obj sin transformar, tras validar su índice de registro de la palabra baja, e instala los resultados no nulos en los miembros vivos de Query."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-afef287c20cccf","name":"Query::AddCommandOffset","member":"AddCommandOffset","family":"Query","returns":"void","args":["bool","str","point"],"kind":"method","signature":"void Query::AddCommandOffset(bool, str, point)","summary":{"en":"Transforms each live member position by requested point minus live-member average, then dispatches mode one without local clamping.","es":"Transforma la posición de cada miembro vivo mediante el punto indicado menos la media de los miembros vivos y después solicita el modo uno sin limitar los valores localmente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-903577c31a77bd","name":"Query::SetCommand","member":"SetCommand","family":"Query","returns":"void","args":["str"],"kind":"method","signature":"void Query::SetCommand(str)","summary":{"en":"Calls virtual [field](0) before mode-zero factory dispatch and calls [field](0) after each live member attempt.","es":"Llama a la operación virtual [campo](0) antes del despacho de la fábrica en modo cero y llama a [campo](0) después de cada intento con un miembro vivo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2fffee1c4b3692","name":"Query::SetCommand","member":"SetCommand","family":"Query","returns":"void","args":["str","point"],"kind":"method","signature":"void Query::SetCommand(str, point)","summary":{"en":"Creates and installs the requested point command on each valid object selected by a Query.","es":"Crea e instala la orden dirigida a un punto indicada para cada objeto válido seleccionado por una Query."},"notes":{},"examples":{},"technical":{}},{"id":"api-f97e52089e344a","name":"Query::SetCommand","member":"SetCommand","family":"Query","returns":"void","args":["str","Obj"],"kind":"method","signature":"void Query::SetCommand(str, Obj)","summary":{"en":"Constructs and installs an object-targeted command for each live member of a resolved Query.","es":"Construye e instala una orden dirigida a un objeto para cada miembro vivo de la Query obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f514b208792ab3","name":"Query::SetCommandOffset","member":"SetCommandOffset","family":"Query","returns":"void","args":["str","point"],"kind":"method","signature":"void Query::SetCommandOffset(str, point)","summary":{"en":"Translates member positions relative to the live-member average and clamps them before factory mode-one dispatch, after virtual [field](0).","es":"Traslada las posiciones de los miembros respecto a la media de los miembros vivos y las limita antes del despacho de la fábrica en modo uno, después de la operación virtual [campo](0)."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dfd41598622cd8","name":"Query::GetObjList","member":"GetObjList","family":"Query","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Query::GetObjList()","summary":{"en":"Returns a new ObjList copied from a resolved Query object's list-producing virtual method, or an empty list when resolution fails.","es":"Devuelve una nueva ObjList copiada a partir del método virtual que genera listas de la Query obtenida, o una lista vacía si no se puede obtener."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2a22787a0bb3e8","name":"DistributeExperience","member":"DistributeExperience","family":"Global","returns":"void","args":["Query","int"],"kind":"function","signature":"void DistributeExperience(Query, int)","summary":{"en":"Divides an unsigned experience amount across query members and adds the remainder to the first registry-live recipient.","es":"Reparte una cantidad de experiencia sin signo entre los miembros de la consulta y añade el resto al primer destinatario vivo disponible en el registro."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a889e7dcabcb50","name":"AttackArea","member":"AttackArea","family":"Global","returns":"void","args":["Query","str"],"kind":"function","signature":"void AttackArea(Query, str)","summary":{"en":"Routes Query and area name to the shared dispatcher with the advance literal.","es":"Pasa Query y el nombre del área a la operación compartida con el literal advance."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-14603762f595d1","name":"MoveToArea","member":"MoveToArea","family":"Global","returns":"void","args":["Query","str"],"kind":"function","signature":"void MoveToArea(Query, str)","summary":{"en":"Routes Query and area name to the shared dispatcher with the move literal.","es":"Pasa Query y el nombre del área a la operación compartida con el literal move."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1240db79f8363e","name":"NearestObj","member":"NearestObj","family":"Global","returns":"Obj","args":["Query","point"],"kind":"function","signature":"Obj NearestObj(Query, point)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-5cbb43cbe48daf","name":"NearestObj","member":"NearestObj","family":"Global","returns":"Obj","args":["Query","Obj"],"kind":"function","signature":"Obj NearestObj(Query, Obj)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-124ced6949c027","name":"Query::NearestObj","member":"NearestObj","family":"Query","returns":"Obj","args":["point"],"kind":"method","signature":"Obj Query::NearestObj(point)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-37db435f4876c3","name":"Query::NearestObj","member":"NearestObj","family":"Query","returns":"Obj","args":["Obj"],"kind":"method","signature":"Obj Query::NearestObj(Obj)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-02775cb01e0d77","name":"Query::AddToGroup","member":"AddToGroup","family":"Query","returns":"void","args":["str"],"kind":"method","signature":"void Query::AddToGroup(str)","summary":{"en":"Dispatches live query members to the named group collection.","es":"Envía los miembros vivos de la consulta a la colección del grupo indicado por nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6d45d33681b692","name":"Query::RemoveFromGroup","member":"RemoveFromGroup","family":"Query","returns":"void","args":["str"],"kind":"method","signature":"void Query::RemoveFromGroup(str)","summary":{"en":"Removes each live object in the query from the named group.","es":"Quita del grupo indicado cada objeto vivo de la consulta."},"notes":{},"examples":{},"technical":{}},{"id":"api-c134a1a9c5e8f0","name":"Query::RemoveFromAllGroups","member":"RemoveFromAllGroups","family":"Query","returns":"void","args":[],"kind":"method","signature":"void Query::RemoveFromAllGroups()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-b0410289ea1633","name":"Query::Face","member":"Face","family":"Query","returns":"void","args":["point"],"kind":"method","signature":"void Query::Face(point)","summary":{"en":"Applies a face-point command to each live member of a query.","es":"Aplica una orden de orientación hacia un punto a cada miembro vivo de una consulta."},"notes":{},"examples":{},"technical":{}},{"id":"api-27eeb808ff1bba","name":"Query::SetFood","member":"SetFood","family":"Query","returns":"void","args":["int"],"kind":"method","signature":"void Query::SetFood(int)","summary":{"en":"Assigns a nonnegative food value to every unit-compatible live member of a query.","es":"Asigna una cantidad de comida no negativa a cada miembro vivo de la consulta compatible con una unidad."},"notes":{},"examples":{},"technical":{}},{"id":"api-750ef1f4c154a1","name":"Query::InHolder","member":"InHolder","family":"Query","returns":"int","args":["str"],"kind":"method","signature":"int Query::InHolder(str)","summary":{"en":"Counts the query's units that are inside the named settlement.","es":"Cuenta las unidades de la consulta que están dentro del asentamiento indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-60a6760e23c386","name":"Query::AddToHolder","member":"AddToHolder","family":"Query","returns":"void","args":["str"],"kind":"method","signature":"void Query::AddToHolder(str)","summary":{"en":"Attempts forced holder entry for unit-compatible members of the query.","es":"Intenta forzar la entrada en un contenedor de los miembros de la consulta compatibles con una unidad."},"notes":{},"examples":{},"technical":{}},{"id":"api-f736bf2577cf7c","name":"Query::GetAverageDirection","member":"GetAverageDirection","family":"Query","returns":"point","args":[],"kind":"method","signature":"point Query::GetAverageDirection()","summary":{"en":"Returns the average direction of the query's objects, or a zero point for an empty or invalid query.","es":"Devuelve la dirección media de los objetos de la consulta, o un punto cero si la consulta está vacía o no es válida."},"notes":{},"examples":{},"technical":{}},{"id":"api-6f2e0f9b2e83dc","name":"Query::SetParty","member":"SetParty","family":"Query","returns":"void","args":["bool"],"kind":"method","signature":"void Query::SetParty(bool)","summary":{"en":"Dispatches unit-compatible query members to a Boolean-selected game virtual operation.","es":"Envía los miembros de la consulta compatibles con unidades a una operación virtual del juego seleccionada mediante un booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-47444d754c0836","name":"Query::SetMessengerStatus","member":"SetMessengerStatus","family":"Query","returns":"void","args":["bool"],"kind":"method","signature":"void Query::SetMessengerStatus(bool)","summary":{"en":"Dispatches a mask to eligible script objects through a virtual operation selected by the boolean argument.","es":"Aplica una máscara a los objetos de script elegibles mediante una operación virtual seleccionada por el argumento booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9ece47be76382e","name":"Query::SetFeeding","member":"SetFeeding","family":"Query","returns":"void","args":["bool"],"kind":"method","signature":"void Query::SetFeeding(bool)","summary":{"en":"Sets or clears a unit flag for eligible query members.","es":"Activa o desactiva una bandera de unidad en los miembros elegibles de la consulta."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7d40f81fde8382","name":"GetNamedObj","member":"GetNamedObj","family":"Global","returns":"NamedObj","args":["str"],"kind":"function","signature":"NamedObj GetNamedObj(str)","summary":{"en":"Returns a NamedObj reference for a named query, creating that query if it does not exist yet.","es":"Obtiene una referencia NamedObj de una búsqueda por nombre y crea esa búsqueda si todavía no existe."},"notes":{},"examples":{},"technical":{}},{"id":"api-8faf7a42e92b74","name":"NamedObj::IsValid","member":"IsValid","family":"NamedObj","returns":"bool","args":[],"kind":"method","signature":"bool NamedObj::IsValid()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-320d0877a79c1d","name":"NamedObj::IsDead","member":"IsDead","family":"NamedObj","returns":"bool","args":[],"kind":"method","signature":"bool NamedObj::IsDead()","summary":{"en":"Returns true for unresolved NamedObj values or an empty list returned by the query after its first virtual call.","es":"Devuelve true para valores NamedObj que no se pueden obtener o para una lista vacía devuelta por la consulta después de su primera llamada virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-19b143f3df2008","name":"NamedObj::obj","member":"obj","family":"NamedObj","returns":"Obj","args":[],"kind":"property","signature":"Obj NamedObj::obj()","summary":{"en":"Returns the first stored handle from a NamedObj result list after invoking virtual [field], or an invalid handle for missing or empty results.","es":"Devuelve la primera referencia almacenada en una lista de resultados NamedObj tras invocar la operación virtual [campo]; devuelve una referencia no válida si faltan los resultados o están vacíos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-359a65225f0797","name":"EnemyInRange","member":"EnemyInRange","family":"Global","returns":"bool","args":["point","int","Obj"],"kind":"function","signature":"bool EnemyInRange(point, int, Obj)","summary":{"en":"Builds a wrapped bounding rectangle and returns the spatial callback accumulator as a boolean.","es":"Construye un rectángulo delimitador con ajuste de sus valores y devuelve como booleano el acumulador de la función de consulta espacial."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1c9afae0e8be68","name":"Building::BestTarget","member":"BestTarget","family":"Building","returns":"Obj","args":[],"kind":"method","signature":"Obj Building::BestTarget()","summary":{"en":"Selects a target from a spatial search around a Building and returns its CKS handle.","es":"Selecciona un objetivo mediante una búsqueda espacial alrededor de un Building y devuelve su referencia CKS."},"notes":{},"examples":{},"technical":{}},{"id":"api-46f5f9718d40d5","name":"Building::Attack","member":"Attack","family":"Building","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Building::Attack(Obj)","summary":{"en":"Executes a guarded, possibly waiting Building attack that spawns an arrow shot on its firing path.","es":"Ejecuta un ataque de Building protegido por comprobaciones, que puede incluir una espera y que crea un disparo de flecha en su ruta de disparo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a65de7f5ef3b68","name":"Building::GetEnterPoint","member":"GetEnterPoint","family":"Building","returns":"point","args":["Unit"],"kind":"method","signature":"point Building::GetEnterPoint(Unit)","summary":{"en":"calculates the entrance point coordinates of a building relative to an approaching unit.","es":"Calcula las coordenadas del punto de entrada de un edificio en relación con una unidad que se aproxima."},"notes":{},"examples":{},"technical":{}},{"id":"api-343217a0440133","name":"Building::GetExitPoint","member":"GetExitPoint","family":"Building","returns":"point","args":["Obj","point"],"kind":"method","signature":"point Building::GetExitPoint(Obj, point)","summary":{"en":"Resolves an exit point from a Building, an Obj template category, and an incoming point.","es":"Obtiene un punto de salida a partir de un Building, una categoría de plantilla Obj y un punto de entrada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-13fcbc82b1e177","name":"Building::GetExitPoint","member":"GetExitPoint","family":"Building","returns":"point","args":["point","bool"],"kind":"method","signature":"point Building::GetExitPoint(point, bool)","summary":{"en":"Resolves an exit point from a Building, an incoming point, and a boolean mode.","es":"Obtiene un punto de salida a partir de un Building, un punto de entrada y un modo booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a9e6122b5b7026","name":"Building::GetPoint","member":"GetPoint","family":"Building","returns":"point","args":["int","int"],"kind":"method","signature":"point Building::GetPoint(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-1448bb4ab022bf","name":"Building::settlement","member":"settlement","family":"Building","returns":"Settlement","args":[],"kind":"property","signature":"Settlement Building::settlement()","summary":{"en":"Resolves a Building's own Settlement-link field into a CKS Settlement reference.","es":"Obtiene una referencia CKS Settlement a partir del campo de enlace al asentamiento propio de Building."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-baf98c165896fd","name":"Building::IsBroken","member":"IsBroken","family":"Building","returns":"bool","args":[],"kind":"method","signature":"bool Building::IsBroken()","summary":{"en":"Generic CKS-exposed Building::IsBroken, true when the shared broken-status field equals 3.","es":"Building::IsBroken, expuesta genéricamente a CKS, devuelve true cuando el campo compartido de estado de rotura es igual a 3."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fecc4b72aef695","name":"Building::IsCentralBuliding","member":"IsCentralBuliding","family":"Building","returns":"bool","args":[],"kind":"method","signature":"bool Building::IsCentralBuliding()","summary":{"en":"Reads the template-level is_central_building flag through the object's own template pointer.","es":"Lee la marca is_central_building de la plantilla mediante el puntero a la plantilla propia del objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0041e0fb1e7767","name":"Building::RRepair","member":"RRepair","family":"Building","returns":"void","args":[],"kind":"method","signature":"void Building::RRepair()","summary":{"en":"Conditionally repairs a broken Building to a health percentage above the broken threshold and refreshes its damage visuals.","es":"Repara condicionalmente un Building roto hasta un porcentaje de vida superior al umbral de rotura y actualiza su representación visual del daño."},"notes":{},"examples":{},"technical":{}},{"id":"api-b406ab799e6ddc","name":"Building::GetExitVector","member":"GetExitVector","family":"Building","returns":"point","args":[],"kind":"method","signature":"point Building::GetExitVector()","summary":{"en":"Building GetExitVector returns template dwords at [field] and [field], with (-1,-1) for a sentinel first dword.","es":"GetExitVector de Building devuelve los dwords de la plantilla almacenados en [campo] y [campo]; devuelve (-1,-1) si el primer dword contiene un valor centinela."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d4ca58ee14a212","name":"Building::PopTransportationUI","member":"PopTransportationUI","family":"Building","returns":"void","args":[],"kind":"method","signature":"void Building::PopTransportationUI()","summary":{"en":"Resolves the Building, checks its class descriptor and converts an embedded interface to a town hall interface before passing it to a UI allocation operation.","es":"Resuelve el Building, comprueba su descriptor de clase y convierte una interfaz interna a una interfaz de ayuntamiento antes de pasarla a una operación de creación de interfaz de usuario."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d6a338ccaec745","name":"Building::GetGlobalSpell","member":"GetGlobalSpell","family":"Building","returns":"int","args":[],"kind":"method","signature":"int Building::GetGlobalSpell()","summary":{"en":"Looks up the first global-spell vector entry associated with a resolved town hall and pushes its initial dword.","es":"Busca la primera entrada del vector de hechizos globales asociada a un centro urbano resuelto e introduce en la pila su dword inicial."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fdfa20f0cfa210","name":"Building::GlobalSpellStart","member":"GlobalSpellStart","family":"Building","returns":"void","args":["int","int"],"kind":"method","signature":"void Building::GlobalSpellStart(int, int)","summary":{"en":"Starts a global-spell operation for a town hall when the first integer is in the range zero through five.","es":"Inicia una operación de hechizo global para un ayuntamiento cuando el primer entero está entre cero y cinco, ambos incluidos."},"notes":{},"examples":{},"technical":{}},{"id":"api-32bfd5ccc7f818","name":"Building::GlobalSpellStart","member":"GlobalSpellStart","family":"Building","returns":"void","args":["int","int","int"],"kind":"method","signature":"void Building::GlobalSpellStart(int, int, int)","summary":{"en":"Starts a global-spell operation for a town hall with three script integers when the first is in the range zero through five.","es":"Inicia una operación de hechizo global para un ayuntamiento con tres enteros de scripts cuando el primero está entre cero y cinco, ambos incluidos."},"notes":{},"examples":{},"technical":{}},{"id":"api-a24bccbd4413ce","name":"Building::GlobalSpellStop","member":"GlobalSpellStop","family":"Building","returns":"void","args":[],"kind":"method","signature":"void Building::GlobalSpellStop()","summary":{"en":"Stops a town hall's global-spell entry by delegating to the global spell manager.","es":"Detiene la entrada de hechizo global de un ayuntamiento mediante el gestor global de hechizos."},"notes":{},"examples":{},"technical":{}},{"id":"api-34e9b188c95ce9","name":"Building::SetGlobalSpellData","member":"SetGlobalSpellData","family":"Building","returns":"void","args":["int"],"kind":"method","signature":"void Building::SetGlobalSpellData(int)","summary":{"en":"Passes a town hall and an integer to a global-spell vector updater.","es":"Pasa un ayuntamiento y un entero a una operación de actualización del vector de hechizos globales."},"notes":{},"examples":{},"technical":{}},{"id":"api-c8d7f6950434ac","name":"Building::WindOfWisdom","member":"WindOfWisdom","family":"Building","returns":"void","args":["int"],"kind":"method","signature":"void Building::WindOfWisdom(int)","summary":{"en":"Stonehenge-gated Building primitive with two-path candidate collection and capped signed level-to-XP dispatch, retaining concrete storage and override prerequisites.","es":"Primitiva de Building condicionada a Stonehenge, con recogida de candidatos por dos rutas y envío acotado de nivel a experiencia con signo, manteniendo los requisitos concretos de almacenamiento y sustitución."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4a69a87b1bd20c","name":"Building::Starvation","member":"Starvation","family":"Building","returns":"void","args":[],"kind":"method","signature":"void Building::Starvation()","summary":{"en":"Invokes a rectangle scan that reduces a linked object counter and qualifying wagon food.","es":"Invoca una búsqueda por rectángulo que reduce un contador del objeto asociado y la comida de las unidades Wagon que cumplen las condiciones."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-272701c3e9c5f0","name":"Building::SoothingRain","member":"SoothingRain","family":"Building","returns":"void","args":["int"],"kind":"method","signature":"void Building::SoothingRain(int)","summary":{"en":"Scans matching buildings and adds 300 divided by the script argument to linked settlement gold.","es":"Recorre los edificios coincidentes y añade al oro del asentamiento asociado el resultado de dividir 300 entre el argumento del script."},"notes":{},"examples":{},"technical":{}},{"id":"api-02b1f21e60477a","name":"Building::DivineSacrifice","member":"DivineSacrifice","family":"Building","returns":"void","args":[],"kind":"method","signature":"void Building::DivineSacrifice()","summary":{"en":"Collects eligible Druid objects for a Stonehenge town hall and invokes their divine-sacrifice operation.","es":"Recoge los objetos Druid elegibles para un ayuntamiento Stonehenge e invoca su operación de sacrificio divino."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-06adfbbd85cb75","name":"Building::GetSoothingRainObjects","member":"GetSoothingRainObjects","family":"Building","returns":"int","args":[],"kind":"method","signature":"int Building::GetSoothingRainObjects()","summary":{"en":"Counts buildings found by the SoothingRain map scan while passing zero to its gold mutator.","es":"Cuenta los edificios encontrados por la búsqueda de SoothingRain en el mapa, pasando cero a la operación que modifica su oro."},"notes":{},"examples":{},"technical":{}},{"id":"api-e3240f3467face","name":"Building::IsStonehengeControlable","member":"IsStonehengeControlable","family":"Building","returns":"bool","args":[],"kind":"method","signature":"bool Building::IsStonehengeControlable()","summary":{"en":"Tests whether a Stonehenge-centered map scan yields a positive counter.","es":"Comprueba si una búsqueda por el mapa centrada en Stonehenge produce un contador positivo."},"notes":{},"examples":{},"technical":{}},{"id":"api-66cdb80721a8f2","name":"Building::StonehengeNumControllingMages","member":"StonehengeNumControllingMages","family":"Building","returns":"int","args":[],"kind":"method","signature":"int Building::StonehengeNumControllingMages()","summary":{"en":"Returns a counter from a Stonehenge-centered map scan.","es":"Devuelve un contador obtenido mediante una búsqueda por el mapa centrada en Stonehenge."},"notes":{},"examples":{},"technical":{}},{"id":"api-b6e3b0e8baf2c0","name":"Building::itemtypes","member":"itemtypes","family":"Building","returns":"str","args":[],"kind":"property","signature":"str Building::itemtypes()","summary":{"en":"Returns the Building template string registered as Building::itemtypes.","es":"Devuelve el texto de la plantilla de Building registrado como Building::itemtypes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-00f4401e862052","name":"Building::minlevel","member":"minlevel","family":"Building","returns":"int","args":[],"kind":"property","signature":"int Building::minlevel()","summary":{"en":"Returns the Building template dword registered as Building::minlevel.","es":"Devuelve el valor de 32 bits de la plantilla de Building registrado como Building::minlevel."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-93a4e6b0030f43","name":"Building::levelperitem","member":"levelperitem","family":"Building","returns":"int","args":[],"kind":"property","signature":"int Building::levelperitem()","summary":{"en":"Returns the Building template dword registered as Building::levelperitem.","es":"Devuelve el valor de 32 bits de la plantilla de Building registrado como Building::levelperitem."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b68155fc75dcf1","name":"Building::ClearDamageTaken","member":"ClearDamageTaken","family":"Building","returns":"void","args":[],"kind":"method","signature":"void Building::ClearDamageTaken()","summary":{"en":"Building::ClearDamageTaken writes zero to the resolved Building's dword at [field].","es":"Building::ClearDamageTaken escribe cero en el dword [campo] del Building resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fb493cbc624af1","name":"Building::CountMages","member":"CountMages","family":"Building","returns":"int","args":[],"kind":"method","signature":"int Building::CountMages()","summary":{"en":"Returns a count of eligible script objects in a Stonehenge-centered circle.","es":"Devuelve el recuento de objetos de scripts elegibles dentro de un círculo centrado en Stonehenge."},"notes":{},"examples":{},"technical":{}},{"id":"api-4a117376f9402c","name":"Building::SetUITarget","member":"SetUITarget","family":"Building","returns":"void","args":["Obj"],"kind":"method","signature":"void Building::SetUITarget(Obj)","summary":{"en":"Building::SetUITarget writes the target object's 16-bit registry slot to Building [field], or 65535 when the target does not resolve.","es":"Building::SetUITarget escribe el índice de registro de 16 bits del objeto de destino en [campo] de Building, o 65535 si no se puede resolver el destino."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-343f00fc31fe7d","name":"Building::GetUITarget","member":"GetUITarget","family":"Building","returns":"Obj","args":[],"kind":"method","signature":"Obj Building::GetUITarget()","summary":{"en":"Building::GetUITarget returns the handle stored at building [field] and returns a null handle when resolution fails.","es":"Building::GetUITarget devuelve la referencia almacenada en [campo] del edificio; devuelve una referencia nula si no se puede resolver."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1ca106c9c26b63","name":"Building::GetNumSentrySlots","member":"GetNumSentrySlots","family":"Building","returns":"int","args":[],"kind":"method","signature":"int Building::GetNumSentrySlots()","summary":{"en":"Building::GetNumSentrySlots returns the sentry slot count dword at template [field] and lacks a safe fallback for invalid handles.","es":"Building::GetNumSentrySlots devuelve el dword con el número de puestos de centinela de [campo] de la plantilla; no tiene una respuesta alternativa segura para referencias no válidas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e4ee58e26544b2","name":"Building::GetSentryClassName","member":"GetSentryClassName","family":"Building","returns":"str","args":[],"kind":"method","signature":"str Building::GetSentryClassName()","summary":{"en":"Building::GetSentryClassName returns the Building template string stored at [field].","es":"Building::GetSentryClassName devuelve el texto de la plantilla de Building almacenado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2d744e04c95716","name":"Building::Research","member":"Research","family":"Building","returns":"void","args":["str"],"kind":"method","signature":"void Building::Research(str)","summary":{"en":"Resolves a named command descriptor and invokes research with temporary command-cost context.","es":"Obtiene un descriptor de orden por nombre e invoca la investigación con un contexto temporal de costes de la orden."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cd08231d1c17ef","name":"GetResearchHack","member":"GetResearchHack","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool GetResearchHack()","summary":{"en":"Implements this function, testing the Building research-active interval flag.","es":"Implementa esta función comprobando la marca del intervalo de investigación activa de Building."},"notes":{},"examples":{},"technical":{}},{"id":"api-e264ec24f27b76","name":"PlaceCatapult","member":"PlaceCatapult","family":"Global","returns":"Catapult","args":["int","int","int","int"],"kind":"function","signature":"Catapult PlaceCatapult(int, int, int, int)","summary":{"en":"Routes four script integers through class selection and catapult creation.","es":"Pasa cuatro enteros de scripts a la selección de clase y la creación de una catapulta."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4b9665d87671b3","name":"Catapult::IsBuilt","member":"IsBuilt","family":"Catapult","returns":"bool","args":[],"kind":"method","signature":"bool Catapult::IsBuilt()","summary":{"en":"Catapult::IsBuilt pops an 8-byte Catapult handle, validates it through the global unit registry, and pushes a 1-byte boolean indicating whether the 32-bit field at Catapult offset [field] is non-zero.","es":"Catapult::IsBuilt extrae de la pila una referencia Catapult de 8 bytes, la valida mediante el registro global de unidades e introduce un booleano de 1 byte que indica si el campo de 32 bits [campo] de Catapult es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1ddde81a47bac9","name":"Catapult::SetBuilt","member":"SetBuilt","family":"Catapult","returns":"void","args":[],"kind":"method","signature":"void Catapult::SetBuilt()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-a8b10dcf1d2b61","name":"Catapult::SetBuildFrame","member":"SetBuildFrame","family":"Catapult","returns":"void","args":["int"],"kind":"method","signature":"void Catapult::SetBuildFrame(int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-fa4358cb0e3e75","name":"GetCatapultAttackPoint","member":"GetCatapultAttackPoint","family":"Global","returns":"point","args":["point"],"kind":"function","signature":"point GetCatapultAttackPoint(point)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-bcb9e4ad5c7433","name":"Catapult::RotateTo","member":"RotateTo","family":"Catapult","returns":"void","args":["point"],"kind":"method","signature":"void Catapult::RotateTo(point)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-887e59ec2d72e2","name":"Catapult::Attack","member":"Attack","family":"Catapult","returns":"void","args":["point"],"kind":"method","signature":"void Catapult::Attack(point)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-ef248b6bc6d07f","name":"Catapult::BestTarget","member":"BestTarget","family":"Catapult","returns":"Obj","args":[],"kind":"method","signature":"Obj Catapult::BestTarget()","summary":{"en":"Evaluates surrounding targets across the spatial index within the catapult's attack range and returns the best candidate object handle.","es":"Evalúa los objetivos cercanos mediante el índice espacial, dentro del alcance de ataque de la catapulta, y devuelve la referencia del mejor candidato."},"notes":{},"examples":{},"technical":{}},{"id":"api-87f70c86034401","name":"Catapult::GetPointOnTarget","member":"GetPointOnTarget","family":"Catapult","returns":"point","args":["Obj"],"kind":"method","signature":"point Catapult::GetPointOnTarget(Obj)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-eb4bea76582746","name":"Catapult::InRange","member":"InRange","family":"Catapult","returns":"bool","args":["point"],"kind":"method","signature":"bool Catapult::InRange(point)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-5ac732dcf4f1d8","name":"Catapult::AttackWait","member":"AttackWait","family":"Catapult","returns":"int","args":[],"kind":"method","signature":"int Catapult::AttackWait()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-3fdcdaf96ca7ed","name":"Catapult::CalcEscapeDirection","member":"CalcEscapeDirection","family":"Catapult","returns":"point","args":[],"kind":"method","signature":"point Catapult::CalcEscapeDirection()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-34fde65c2fd8be","name":"Catapult::GetCurrentTarget","member":"GetCurrentTarget","family":"Catapult","returns":"Obj","args":[],"kind":"method","signature":"Obj Catapult::GetCurrentTarget()","summary":{"en":"Catapult GetCurrentTarget encodes the stored target word with an unassigned upper halfword and a four-byte invalid result.","es":"GetCurrentTarget de Catapult codifica el destino almacenado en una palabra, dejando sin asignar la mitad superior y usando un resultado no válido de cuatro bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-17e9f4a9fca04b","name":"Catapult::SetTarget","member":"SetTarget","family":"Catapult","returns":"void","args":["Obj"],"kind":"method","signature":"void Catapult::SetTarget(Obj)","summary":{"en":"Stores a target handle on a catapult and propagates it to associated CatapultTower objects.","es":"Guarda una referencia de destino en una catapulta y la propaga a los objetos CatapultTower asociados."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8fc6b93d98a894","name":"Catapult::ClearTarget","member":"ClearTarget","family":"Catapult","returns":"void","args":[],"kind":"method","signature":"void Catapult::ClearTarget()","summary":{"en":"Clears a catapult's own target and propagates tower-target clearing to associated catapult towers.","es":"Limpia el destino propio de una catapulta y también limpia los destinos de las torres de catapulta asociadas."},"notes":{},"examples":{},"technical":{}},{"id":"api-646440c193bd16","name":"Catapult::ClearTowerTarget","member":"ClearTowerTarget","family":"Catapult","returns":"void","args":[],"kind":"method","signature":"void Catapult::ClearTowerTarget()","summary":{"en":"Clears the stored target on CatapultTower objects associated with a catapult.","es":"Limpia el destino almacenado de los objetos CatapultTower asociados a una catapulta."},"notes":{},"examples":{},"technical":{}},{"id":"api-b51f3a2c190469","name":"Unit::speed","member":"speed","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::speed()","summary":{"en":"Reads the linked speed dword for a Unit handle.","es":"Lee el valor asociado de velocidad de 32 bits para una referencia Unit."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-56cee50af2d307","name":"Unit::speed_factor","member":"speed_factor","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::speed_factor()","summary":{"en":"Unit[field] defaults to 100, is exposed by the speed-factor getter/setter, and divides base step duration as a percentage.","es":"Unit[campo] tiene por defecto el valor 100, se expone mediante las operaciones de consulta y modificación del factor de velocidad y divide la duración base del paso como porcentaje."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-864248b717d0bb","name":"Unit::stamina","member":"stamina","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::stamina()","summary":{"en":"Reads the stamina dword for a Unit handle.","es":"Lee el valor de energía de 32 bits para una referencia Unit."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9265bd9b777dd3","name":"Unit::user","member":"user","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::user()","summary":{"en":"Reads the user dword for a Unit handle.","es":"Lee el valor de usuario de 32 bits para una referencia Unit."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-70a29c2daddfc3","name":"Unit::food","member":"food","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::food()","summary":{"en":"Reads the food dword for a Unit handle.","es":"Lee el valor de comida de 32 bits para una referencia Unit."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-87cf93706f7082","name":"Unit::maxfood","member":"maxfood","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::maxfood()","summary":{"en":"Reads the linked maximum food dword for a Unit handle.","es":"Lee el valor asociado de comida máxima de 32 bits para una referencia Unit."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e1fcfd08fe4db0","name":"Unit::maxstamina","member":"maxstamina","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::maxstamina()","summary":{"en":"Reads the linked maximum stamina dword for a Unit handle.","es":"Lee el valor asociado de energía máxima de 32 bits para una referencia Unit."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-50352303290d49","name":"Unit::experience","member":"experience","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::experience()","summary":{"en":"Scripting VM bridge reading the cumulative raw experience counter directly from unit [field].","es":"Acceso desde la máquina virtual de scripts que lee directamente el contador acumulado de experiencia sin transformar desde [campo] de la unidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ca02d603486ba4","name":"Unit::level","member":"level","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::level()","summary":{"en":"Scripting VM bridge calling virtual method vtable[[field]]() to obtain effective unit or hero level.","es":"Acceso desde la máquina virtual de scripts que llama al método virtual vtable[[campo]]() para obtener el nivel efectivo de la unidad o el héroe."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dbf86784aee05a","name":"Unit::inherentlevel","member":"inherentlevel","family":"Unit","returns":"int","args":[],"kind":"property","signature":"int Unit::inherentlevel()","summary":{"en":"Scripting VM bridge computing unit inherent level on-the-fly from raw experience via LevelFromExp.","es":"Enlace de la máquina virtual de scripts que calcula al momento el nivel intrínseco de la unidad a partir de su experiencia sin modificar, mediante la conversión de experiencia a nivel."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2c7d66adade4e1","name":"Unit::SetSpeedFactor","member":"SetSpeedFactor","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::SetSpeedFactor(int)","summary":{"en":"Stores a speed factor dword on a resolved Unit.","es":"Guarda un factor de velocidad de 32 bits en la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-67a8953e4cacf0","name":"Unit::SetUser","member":"SetUser","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::SetUser(int)","summary":{"en":"Stores a user dword on a resolved Unit.","es":"Guarda un valor de usuario de 32 bits en la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3dde4a8989680c","name":"Unit::SetFood","member":"SetFood","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::SetFood(int)","summary":{"en":"Stores the supplied food value on a resolved Unit and dispatches a value-dependent virtual state update.","es":"Guarda el valor de comida indicado en la Unit obtenida y solicita una actualización virtual de estado que depende del valor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-40c4ef64730dff","name":"Unit::feeds","member":"feeds","family":"Unit","returns":"bool","args":[],"kind":"property","signature":"bool Unit::feeds()","summary":{"en":"Returns the resolved Unit's feeding flag as a byte.","es":"Devuelve como byte la marca de alimentación de la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-12be020450513c","name":"Unit::SetFeeding","member":"SetFeeding","family":"Unit","returns":"void","args":["bool"],"kind":"method","signature":"void Unit::SetFeeding(bool)","summary":{"en":"Updates the resolved Unit's feeding flag from a bool argument.","es":"Actualiza la marca de alimentación de la Unit obtenida a partir de un argumento bool."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5af9913a922428","name":"Unit::Goto","member":"Goto","family":"Unit","returns":"bool","args":["point","int","int","bool","int"],"kind":"method","signature":"bool Unit::Goto(point, int, int, bool, int)","summary":{"en":"Clamps the point to map bounds and coordinates a Unit path controller, movement command, wait ticks and terminal bool through native status 0, 1 or 2; its path destination call passes final flag 1.","es":"Limita el punto a los bordes del mapa y coordina un controlador de ruta de Unit, una orden de movimiento, pasos de espera y un booleano final mediante los estados internos 0, 1 o 2; la llamada que establece el destino de la ruta pasa el indicador final 1."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a076dda9f0e564","name":"Unit::GotoEnter","member":"GotoEnter","family":"Unit","returns":"bool","args":["point","int","int","bool","int"],"kind":"method","signature":"bool Unit::GotoEnter(point, int, int, bool, int)","summary":{"en":"Follows the point-route wait and completion branches while passing final flag 0 to the path destination call at [field]; the sibling Goto point handler passes 1.","es":"Sigue las ramas de espera y finalización de la ruta a un punto, pasando el indicador final 0 a la llamada de destino de ruta [campo]; la variante Goto con point pasa 1."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0d8fc44f6fb556","name":"Unit::Goto","member":"Goto","family":"Unit","returns":"bool","args":["Obj","int","int","bool","int"],"kind":"method","signature":"bool Unit::Goto(Obj, int, int, bool, int)","summary":{"en":"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.","es":"Resuelve un Obj opcional y una Unit obligatoria, limpia el seguimiento de Unit en [campo] si está activo y después delega la máquina de estados de movimiento a [campo]; si Unit no es válida introduce false en la pila."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2e8ce34f88a7de","name":"Unit::GotoAttack","member":"GotoAttack","family":"Unit","returns":"bool","args":["Obj","int","bool","int"],"kind":"method","signature":"bool Unit::GotoAttack(Obj, int, bool, int)","summary":{"en":"Prepares target tracking and delegates cooperative attack routing.","es":"Prepara el seguimiento del objetivo y delega la búsqueda cooperativa de una ruta de ataque."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9ae20220aa1d0b","name":"Unit::GotoStraight","member":"GotoStraight","family":"Unit","returns":"void","args":["point"],"kind":"method","signature":"void Unit::GotoStraight(point)","summary":{"en":"Constructs a path object on the first blocking invocation or reuses its saved pointer, calls its virtual [field] with a calculated step time, and returns native status 1 while a step remains or 0 after destroying the object.","es":"Construye un objeto de ruta en la primera llamada bloqueante o reutiliza su puntero guardado, llama a su operación virtual [campo] con un tiempo de paso calculado y devuelve el estado interno 1 mientras queda un paso, o 0 después de destruir el objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bb8a3974155365","name":"Unit::Stop","member":"Stop","family":"Unit","returns":"bool","args":["int"],"kind":"method","signature":"bool Unit::Stop(int)","summary":{"en":"For a nonzero continuation state, clears target tracking and requests an active-path stop with wait status 1, or clears the controller and returns true. For zero state, checks a virtual path operation, returns its boolean outcome and clears a unit flag.","es":"Si el estado de continuación no es cero, limpia el seguimiento del objetivo y solicita detener la ruta activa con estado de espera 1, o limpia el controlador y devuelve true. Si es cero, comprueba una operación virtual de la ruta, devuelve su resultado booleano y desactiva una bandera de la unidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4b3f884c112fea","name":"Unit::HasPath","member":"HasPath","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::HasPath()","summary":{"en":"Returns false for an invalid Unit or when a unit state field differs from -1. Otherwise checks an implementation operation for hero units with a particular flag, or a unit field for nonhero units. The field meanings are not documented.","es":"Devuelve false si la unidad no es válida o si un campo de estado difiere de -1. En otro caso comprueba una operación de implementación para los héroes con una determinada bandera, o un campo de la unidad para las unidades que no son héroes. Los significados de los campos no están documentados."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5723fb6d3cc6fa","name":"Unit::dest","member":"dest","family":"Unit","returns":"point","args":[],"kind":"property","signature":"point Unit::dest()","summary":{"en":"Returns two signed 16-bit components from path-controller virtual [field] when Unit [field] exists, otherwise from Unit virtual [field]; an invalid Unit returns (-1,-1).","es":"Devuelve dos componentes de 16 bits con signo desde la operación virtual [campo] del controlador de ruta si Unit [campo] existe; en otro caso los obtiene de la operación virtual [campo] de Unit. Una Unit no válida devuelve (-1,-1)."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7f954087690bb1","name":"Unit::TimeWithoutWalking","member":"TimeWithoutWalking","family":"Unit","returns":"int","args":[],"kind":"method","signature":"int Unit::TimeWithoutWalking()","summary":{"en":"Unit::TimeWithoutWalking returns zero for sentinel -1 at Unit [field], otherwise subtracting it from the dword reached through Unit [field].","es":"Unit::TimeWithoutWalking devuelve cero si Unit [campo] contiene el centinela -1; en otro caso lo resta del dword obtenido mediante Unit [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-65fc4ec8203ffd","name":"Unit::InHolder","member":"InHolder","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::InHolder()","summary":{"en":"Checks whether the resolved Unit records a holder reference different from the invalid-reference sentinel.","es":"Comprueba si la unidad resuelta guarda una referencia de contenedor distinta del valor centinela de referencia no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fb4b59c3391e06","name":"Unit::GetHolderSett","member":"GetHolderSett","family":"Unit","returns":"Settlement","args":[],"kind":"method","signature":"Settlement Unit::GetHolderSett()","summary":{"en":"Unit::GetHolderSett derives a returned slot word through Unit [field], registry entry [field], and final entry [field].","es":"Unit::GetHolderSett obtiene la palabra de índice devuelta mediante Unit [campo], la entrada de registro [campo] y la entrada final [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ddc05001513515","name":"Unit::InShip","member":"InShip","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::InShip()","summary":{"en":"Follows the Unit holder handle and a linked registry handle, then returns whether the latter resolves.","es":"Sigue la referencia al contenedor de Unit y una referencia de registro asociada; devuelve si se puede obtener esta última."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3e045c378224d3","name":"Unit::GetShip","member":"GetShip","family":"Unit","returns":"Ship","args":[],"kind":"method","signature":"Ship Unit::GetShip()","summary":{"en":"Follows the Unit holder object's linked registry handle and returns that object's handle or an invalid Ship handle.","es":"Sigue la referencia de registro asociada al contenedor de Unit y devuelve la referencia de ese objeto o una referencia Ship no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b5049b6531ede5","name":"Unit::ExitHolder","member":"ExitHolder","family":"Unit","returns":"void","args":["point"],"kind":"method","signature":"void Unit::ExitHolder(point)","summary":{"en":"CKS-exposed Unit::ExitHolder passes a position to a reserve and movement path that can detach the Unit from its Holder.","es":"Unit::ExitHolder, expuesta a CKS, pasa una posición a una ruta de reserva y movimiento que puede sacar a Unit de su contenedor Holder."},"notes":{},"examples":{},"technical":{}},{"id":"api-95e95a4f2afec9","name":"Unit::EnterHolder","member":"EnterHolder","family":"Unit","returns":"void","args":["Obj"],"kind":"method","signature":"void Unit::EnterHolder(Obj)","summary":{"en":"CKS-exposed Unit::EnterHolder, resolving a Building argument's Settlement Holder and force-entering it.","es":"Unit::EnterHolder, expuesta a CKS, obtiene el contenedor Holder del Settlement asociado al Building indicado y fuerza la entrada en él."},"notes":{},"examples":{},"technical":{}},{"id":"api-3727dfaa20184a","name":"Unit::GetUnitsInSameHolder","member":"GetUnitsInSameHolder","family":"Unit","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Unit::GetUnitsInSameHolder()","summary":{"en":"Returns the objects in the unit's holder as a new ObjList.","es":"Devuelve los objetos del contenedor de la unidad como una nueva ObjList."},"notes":{},"examples":{},"technical":{}},{"id":"api-75ddbee55918f3","name":"Unit::TrainAttack","member":"TrainAttack","family":"Unit","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Unit::TrainAttack(Obj)","summary":{"en":"A Unit training-attack primitive that can start native attack mode 2 and return VM handler status 3.","es":"Primitiva de ataque de entrenamiento de Unit que puede iniciar el modo de ataque interno 2 y devolver el estado 3 del gestor de la máquina virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cfaebde7998919","name":"Unit::BestTrainingTarget","member":"BestTrainingTarget","family":"Unit","returns":"Obj","args":[],"kind":"method","signature":"Obj Unit::BestTrainingTarget()","summary":{"en":"Searches nearby candidates around a resolved Unit and returns the selected object's handle or an invalid handle.","es":"Busca candidatos cercanos alrededor de la Unit obtenida y devuelve la referencia del objeto seleccionado o una referencia no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4a26c63029520e","name":"Unit::StartTraining","member":"StartTraining","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::StartTraining()","summary":{"en":"Invokes the flag-setting operation on the resolved Unit for a particular flag.","es":"Invoca la operación que activa una determinada bandera de la unidad resuelta."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-eb0e5704a75946","name":"Unit::StopTraining","member":"StopTraining","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::StopTraining()","summary":{"en":"Invokes the flag-clearing operation on the resolved Unit for a particular flag.","es":"Invoca la operación que desactiva una determinada bandera de la unidad resuelta."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-703f1207d3e62d","name":"Unit::IsTraining","member":"IsTraining","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::IsTraining()","summary":{"en":"Unit::IsTraining extracts bit 28 from the resolved Unit object's dword at offset [field] and returns it as a boolean.","es":"Unit::IsTraining extrae el bit 28 del dword [campo] del objeto Unit resuelto y lo devuelve como booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-749203f3f89da8","name":"Unit::Attack","member":"Attack","family":"Unit","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Unit::Attack(Obj)","summary":{"en":"Implements a cooperative single-target attack sequence using continuation state, eligibility checks, attack dispatch, and wait status.","es":"Implementa una secuencia de ataque cooperativa contra un único objetivo, usando estado de continuación, comprobaciones de elegibilidad, envío del ataque y estado de espera."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0275b4836b8a3d","name":"Unit::AttackEveryone","member":"AttackEveryone","family":"Unit","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Unit::AttackEveryone(Obj)","summary":{"en":"Implements a cooperative attack sequence with range and eligibility checks before dispatch.","es":"Implementa una secuencia de ataque cooperativa con comprobaciones de alcance y elegibilidad antes del envío."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b337356a98b0c2","name":"Unit::TimeWithoutAttack","member":"TimeWithoutAttack","family":"Unit","returns":"int","args":[],"kind":"method","signature":"int Unit::TimeWithoutAttack()","summary":{"en":"Unit::TimeWithoutAttack returns the 32-bit subtraction [[shared state][field]] - [Unit[field]], with zero as the invalid-unit fallback.","es":"Unit::TimeWithoutAttack devuelve la resta de 32 bits [[estado compartido][campo]] - [Unit[campo]], con cero como valor alternativo para una unidad no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3ea97eec4ca87d","name":"Unit::SetLastAttackTime","member":"SetLastAttackTime","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::SetLastAttackTime()","summary":{"en":"Unit::SetLastAttackTime copies one 32-bit value from [shared state] offset [field] to the resolved Unit at offset [field].","es":"Unit::SetLastAttackTime copia un valor de 32 bits desde [campo] de [estado compartido] a [campo] de la Unit resuelta."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-97a9baec832e16","name":"Unit::BestTargetInSquadSightMisZeroDamage","member":"BestTargetInSquadSightMisZeroDamage","family":"Unit","returns":"Obj","args":[],"kind":"method","signature":"Obj Unit::BestTargetInSquadSightMisZeroDamage()","summary":{"en":"Resolves a Unit, verifies it is alive, and queries the squad sight targeting search engine function, returning the best target object handle.","es":"Obtiene una Unit, comprueba que está viva y consulta la búsqueda de objetivos dentro de la visión de la escuadra del motor; devuelve la referencia del mejor objetivo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0d1a7aa1396696","name":"Unit::BestTargetInSquadSight","member":"BestTargetInSquadSight","family":"Unit","returns":"Obj","args":[],"kind":"method","signature":"Obj Unit::BestTargetInSquadSight()","summary":{"en":"Calls the squad-sight target search with zero option arguments after validating the Unit.","es":"Tras validar Unit, invoca la búsqueda de objetivos dentro de la visión de la escuadra con las opciones a cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-24250e829a7b67","name":"Unit::BestNoIndependentTargetInSquadSight","member":"BestNoIndependentTargetInSquadSight","family":"Unit","returns":"Obj","args":[],"kind":"method","signature":"Obj Unit::BestNoIndependentTargetInSquadSight()","summary":{"en":"Calls squad-sight target search with the no-independent option set.","es":"Invoca la búsqueda de objetivos dentro de la visión de la escuadra con la opción que excluye unidades independientes activada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5c8e7074fc50cc","name":"Unit::BestTargetInSquadSight","member":"BestTargetInSquadSight","family":"Unit","returns":"Obj","args":["str"],"kind":"method","signature":"Obj Unit::BestTargetInSquadSight(str)","summary":{"en":"Finds the best tactical target within squad sight matching the supplied class filter string.","es":"Busca el mejor objetivo táctico dentro de la visión del escuadrón que coincida con el filtro de clase indicado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c6ced3fbb8904d","name":"Unit::BestTargetInSquadSightExclusive","member":"BestTargetInSquadSightExclusive","family":"Unit","returns":"Obj","args":["str"],"kind":"method","signature":"Obj Unit::BestTargetInSquadSightExclusive(str)","summary":{"en":"Calls squad-sight target search with string data and the exclusive option set.","es":"Invoca la búsqueda de objetivos dentro de la visión de la escuadra con datos de texto y la opción de exclusión activada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d816a4a43781eb","name":"Unit::BestTargetInSquadSight_PreferUndiseased","member":"BestTargetInSquadSight_PreferUndiseased","family":"Unit","returns":"Obj","args":[],"kind":"method","signature":"Obj Unit::BestTargetInSquadSight_PreferUndiseased()","summary":{"en":"Calls squad-sight target search with the prefer-undiseased option set.","es":"Invoca la búsqueda de objetivos dentro de la visión de la escuadra con la opción de preferir unidades sin enfermedad activada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f28efc922afd5b","name":"Unit::BestTargetForPos","member":"BestTargetForPos","family":"Unit","returns":"Obj","args":[],"kind":"method","signature":"Obj Unit::BestTargetForPos()","summary":{"en":"searches for the best combat target for a unit using its current position and sight radius.","es":"Busca el mejor destino de combate para una unidad usando su posición actual y su radio de visión."},"notes":{},"examples":{},"technical":{}},{"id":"api-c8c42dfc1a52d5","name":"Unit::BestTargetInRange","member":"BestTargetInRange","family":"Unit","returns":"Obj","args":["point","int"],"kind":"method","signature":"Obj Unit::BestTargetInRange(point, int)","summary":{"en":"Forwards explicit point coordinates and integer radius to the common target-search helper.","es":"Pasa las coordenadas explícitas de un punto y un radio entero a la operación común de búsqueda de objetivos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a5c4d55a3210ef","name":"Unit::IsEnemyInSquadSight","member":"IsEnemyInSquadSight","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::IsEnemyInSquadSight()","summary":{"en":"Tests a linked sight record field for a live Unit and has a return-width mismatch on invalid paths.","es":"Comprueba un campo del registro de visión asociado a una Unit viva y presenta una diferencia de ancho de retorno en las rutas no válidas."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9fad76cb6d79aa","name":"Unit::EnemiesInSight","member":"EnemiesInSight","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::EnemiesInSight()","summary":{"en":"Builds a diplomacy-filtered spatial query around the Unit and returns whether a matching candidate was found.","es":"Construye una consulta espacial filtrada por diplomacia alrededor de Unit y devuelve si se ha encontrado un candidato coincidente."},"notes":{},"examples":{},"technical":{}},{"id":"api-dba16a6fbf9883","name":"Unit::InRange","member":"InRange","family":"Unit","returns":"bool","args":["Obj"],"kind":"method","signature":"bool Unit::InRange(Obj)","summary":{"en":"Checks a resolved target against a resolved Unit using the common attack-range helper.","es":"Comprueba el destino obtenido respecto a la Unit obtenida mediante la operación común de alcance de ataque."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-34bbda6506dd0a","name":"Unit::hero","member":"hero","family":"Unit","returns":"Hero","args":[],"kind":"property","signature":"Hero Unit::hero()","summary":{"en":"Returns an eight-byte Hero handle containing the resolved Unit's linked Hero slot.","es":"Devuelve una referencia Hero de ocho bytes que contiene la posición de Hero asociada a la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ed148af0bf9273","name":"Unit::AttachTo","member":"AttachTo","family":"Unit","returns":"bool","args":["Hero"],"kind":"method","signature":"bool Unit::AttachTo(Hero)","summary":{"en":"Resolves Unit and Hero, rejects invalid or virtual [field] positive operands, then returns whether Unit helper [field] accepts the Hero.","es":"Resuelve Unit y Hero, rechaza los operandos no válidos o con resultado positivo de la operación virtual [campo], y después devuelve si la operación auxiliar [campo] de Unit acepta el Hero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2695e33dc09f43","name":"Unit::DetachFrom","member":"DetachFrom","family":"Unit","returns":"void","args":["Hero"],"kind":"method","signature":"void Unit::DetachFrom(Hero)","summary":{"en":"After valid/dead checks, calls Unit helper [field] only when Hero [field] matches Unit [field].","es":"Tras comprobar la validez y la muerte, llama a la operación auxiliar [campo] de Unit solo cuando [campo] de Hero coincide con [campo] de Unit."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c65206edd6faff","name":"Unit::Idle","member":"Idle","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::Idle(int)","summary":{"en":"With nonzero continuation, waits on the special virtual [field] coordinate pair; otherwise dispatches action 4 through [field], clears target tracking and returns native status 3. Zero continuation returns 0.","es":"Si la continuación es distinta de cero, espera al par especial de coordenadas de la operación virtual [campo]; en otro caso despacha la acción 4 mediante [campo], limpia el seguimiento del destino y devuelve el estado interno 3. Una continuación cero devuelve 0."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cae4993235a902","name":"Unit::Taunt","member":"Taunt","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::Taunt(int)","summary":{"en":"With nonzero continuation, waits on the special virtual [field] coordinate pair; otherwise dispatches action 5 through [field], clears target tracking and returns native status 3. Zero continuation returns 0.","es":"Si la continuación es distinta de cero, espera al par especial de coordenadas de la operación virtual [campo]; en otro caso despacha la acción 5 mediante [campo], limpia el seguimiento del destino y devuelve el estado interno 3. Una continuación cero devuelve 0."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-71d812359921e1","name":"Unit::SetExperience","member":"SetExperience","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::SetExperience(int)","summary":{"en":"Scripting VM bridge writing a raw experience value directly through the shared virtual experience setter.","es":"Enlace de la máquina virtual de scripts que escribe directamente un valor de experiencia sin modificar mediante la operación virtual compartida de escritura de experiencia."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a2b0bd255bc9e2","name":"Unit::SetLevel","member":"SetLevel","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::SetLevel(int)","summary":{"en":"Scripting VM bridge clamping input level, looking up experience threshold, and calling virtual experience setter.","es":"Enlace de la máquina virtual de scripts que limita el nivel de entrada, busca el umbral de experiencia e invoca la operación virtual de escritura de experiencia."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-59bc97aaa57ddf","name":"Unit::IncKills","member":"IncKills","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::IncKills(int)","summary":{"en":"Adds an integer to the resolved Unit's kill counter field.","es":"Añade un entero al campo de recuento de bajas de la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5b07b7bfa4d63f","name":"Unit::FormAcceptMove","member":"FormAcceptMove","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::FormAcceptMove()","summary":{"en":"After formation-state checks and possible holder waits, clears target tracking, creates a path controller when absent, passes formation field [field] to controller virtual [field], sets Unit [field] to 3, and returns status 0; ineligible state returns 2.","es":"Tras comprobar el estado de la formación y esperar al contenedor si hace falta, limpia el seguimiento del destino, crea un controlador de ruta si no existe, pasa el campo de formación [campo] a la operación virtual [campo] del controlador, establece [campo] de Unit en 3 y devuelve el estado 0; si el estado no es apto devuelve 2."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8e9ab38dced006","name":"Unit::FormKeepMoving","member":"FormKeepMoving","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::FormKeepMoving(int)","summary":{"en":"For nonzero continuation, clears target tracking, sets movement state 3 and a unit flag, stores wait ticks and reports status 1. For zero continuation, may clear a satisfied controller, clears the flag and reports status 0.","es":"Si la continuación no es cero, limpia el seguimiento del objetivo, establece el estado de movimiento 3 y una bandera de unidad, guarda los ticks de espera e informa del estado 1. Si es cero, puede limpiar un controlador completado, desactiva la bandera e informa del estado 0."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3fcf27d6e0741f","name":"Unit::PathTo","member":"PathTo","family":"Unit","returns":"int","args":["point","int","int"],"kind":"method","signature":"int Unit::PathTo(point, int, int)","summary":{"en":"Prepares a point-centered path query for a Unit and returns the native pathfinder result code or a sentinel.","es":"Prepara una consulta de ruta centrada en un punto para una Unit y devuelve el código de resultado interno del buscador de rutas o un valor centinela."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-55981d7c32f79d","name":"Unit::PathTo","member":"PathTo","family":"Unit","returns":"int","args":["Obj","int","int"],"kind":"method","signature":"int Unit::PathTo(Obj, int, int)","summary":{"en":"Prepares an object-centered path query for a Unit and returns the native pathfinder result code or a sentinel.","es":"Prepara una consulta de ruta centrada en un objeto para una Unit y devuelve el código de resultado interno del buscador de rutas o un valor centinela."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bd977a7f08dc34","name":"Unit::SetParty","member":"SetParty","family":"Unit","returns":"void","args":["bool"],"kind":"method","signature":"void Unit::SetParty(bool)","summary":{"en":"Dispatches a resolved Unit to one of two game virtual operations according to a boolean argument.","es":"Según un argumento booleano, envía la Unit obtenida a una de dos operaciones virtuales del juego."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7b20718d6fcff0","name":"Unit::GetParty","member":"GetParty","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::GetParty()","summary":{"en":"Returns the registered Unit GetParty boolean for this function.","es":"Devuelve el booleano de GetParty de Unit registrado para esta función."},"notes":{},"examples":{},"technical":{}},{"id":"api-5f0ddf0cf34967","name":"Unit::GetSacrifice","member":"GetSacrifice","family":"Unit","returns":"Sacrifice","args":[],"kind":"method","signature":"Sacrifice Unit::GetSacrifice()","summary":{"en":"Invokes a Unit virtual handle provider and returns its first word as a Sacrifice handle.","es":"Invoca un proveedor virtual de referencias de Unit y devuelve sus primeros 16 bits como referencia Sacrifice."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ac744a299c0817","name":"Unit::_OnImpassable","member":"_OnImpassable","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::_OnImpassable()","summary":{"en":"Tests a packed global-map bit at the resolved Unit's virtual position.","es":"Comprueba un bit compactado del mapa global en la posición virtual de la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-94d561524e44c5","name":"max_train_1_level","member":"max_train_1_level","family":"Global","returns":"int","args":[],"kind":"function","signature":"int max_train_1_level()","summary":{"en":"max_train_1_level pushes the dword stored at [field].","es":"max_train_1_level introduce en la pila el dword almacenado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-32722707fa3b21","name":"Unit::GetUnexploredPoint","member":"GetUnexploredPoint","family":"Unit","returns":"point","args":["int"],"kind":"method","signature":"point Unit::GetUnexploredPoint(int)","summary":{"en":"Samples bounded map cells around a unit and returns a random eligible unexplored point.","es":"Muestrea celdas acotadas del mapa alrededor de una unidad y devuelve un punto aleatorio elegible que no esté explorado."},"notes":{},"examples":{},"technical":{}},{"id":"api-d710a42079c1bf","name":"Unit::HasFreedom","member":"HasFreedom","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::HasFreedom()","summary":{"en":"Combines a Unit flag test with a class helper to return a boolean.","es":"Combina la comprobación de un indicador de Unit con una operación auxiliar de clase para devolver un booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-89093145ac358b","name":"Unit::GetFlags","member":"GetFlags","family":"Unit","returns":"bool","args":["int"],"kind":"method","signature":"bool Unit::GetFlags(int)","summary":{"en":"Returns the registered Unit GetFlags boolean for this function.","es":"Devuelve el booleano de GetFlags de Unit registrado para esta función."},"notes":{},"examples":{},"technical":{}},{"id":"api-360408dd9d1fe2","name":"Unit::PathLeft","member":"PathLeft","family":"Unit","returns":"int","args":[],"kind":"method","signature":"int Unit::PathLeft()","summary":{"en":"Returns a value from the Unit's [field] controller virtual method, or sentinel 900000000 when unavailable.","es":"Devuelve un valor del método virtual del controlador [campo] de Unit, o el valor centinela 900000000 si no está disponible."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-db4087863f00f2","name":"Unit::GetShipToBoard","member":"GetShipToBoard","family":"Unit","returns":"Ship","args":[],"kind":"method","signature":"Ship Unit::GetShipToBoard()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-d9e53e3bf090c5","name":"Unit::GetStaminaDecTime","member":"GetStaminaDecTime","family":"Unit","returns":"int","args":[],"kind":"method","signature":"int Unit::GetStaminaDecTime()","summary":{"en":"Returns the nonnegative part of a resolved Unit's signed stamina decrement time field.","es":"Devuelve la parte no negativa del campo con signo de tiempo de reducción de energía de la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2e26ecfad53b0e","name":"Unit::SameHolderAs","member":"SameHolderAs","family":"Unit","returns":"bool","args":["Unit"],"kind":"method","signature":"bool Unit::SameHolderAs(Unit)","summary":{"en":"Compares the holder-handle words of two resolved Units.","es":"Compara los valores de las referencias al contenedor de dos Unit obtenidas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-afe39d7cd4fc43","name":"SetExperienceModifier","member":"SetExperienceModifier","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void SetExperienceModifier(int, int)","summary":{"en":"Stores the supplied 32-bit value in a field of the selected player record.","es":"Guarda el valor de 32 bits indicado en un campo del registro del jugador seleccionado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a3cd5fb3ca4f13","name":"GetExperienceModifier","member":"GetExperienceModifier","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int GetExperienceModifier(int)","summary":{"en":"GetExperienceModifier returns the selected player record dword at [field].","es":"GetExperienceModifier devuelve el dword [campo] del registro de jugador seleccionado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cc52995086c367","name":"Unit::SetCommanded","member":"SetCommanded","family":"Unit","returns":"void","args":["bool"],"kind":"method","signature":"void Unit::SetCommanded(bool)","summary":{"en":"Sets or clears bit 19 of a resolved Unit's state flags.","es":"Activa o desactiva el bit 19 de las marcas de estado de la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1a2528e8d565f9","name":"Unit::GetCommanded","member":"GetCommanded","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::GetCommanded()","summary":{"en":"Reads bit 19 of a resolved Unit's state flags as a boolean.","es":"Lee como booleano el bit 19 de las marcas de estado de la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-95fdf472e145de","name":"Unit::SetEntering","member":"SetEntering","family":"Unit","returns":"void","args":["bool"],"kind":"method","signature":"void Unit::SetEntering(bool)","summary":{"en":"Sets or clears bit 20 of a resolved Unit's state flags.","es":"Activa o desactiva el bit 20 de las marcas de estado de la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f1502fae78e29e","name":"Unit::GetEntering","member":"GetEntering","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::GetEntering()","summary":{"en":"Reads bit 20 of a resolved Unit's state flags as a boolean.","es":"Lee como booleano el bit 20 de las marcas de estado de la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b076ef8f7a6ed0","name":"Unit::SetWalkAnim","member":"SetWalkAnim","family":"Unit","returns":"void","args":["int"],"kind":"method","signature":"void Unit::SetWalkAnim(int)","summary":{"en":"Unit[field] is the current zero-based animation index; the no-argument SetWalkAnim selects index zero and the int overload stores argument minus one.","es":"Unit[campo] es el índice actual de animación basado en cero; SetWalkAnim sin argumentos selecciona el índice cero y la variante con int almacena el argumento menos uno."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b7232d71e4e9b9","name":"Unit::SetWalkAnim","member":"SetWalkAnim","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::SetWalkAnim()","summary":{"en":"Unit[field] is the current zero-based animation index; the no-argument SetWalkAnim selects index zero and the int overload stores argument minus one.","es":"Unit[campo] es el índice actual de animación basado en cero; SetWalkAnim sin argumentos selecciona el índice cero y la variante con int almacena el argumento menos uno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b782f90b010f23","name":"Unit::SetCarryWaterAnim","member":"SetCarryWaterAnim","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::SetCarryWaterAnim()","summary":{"en":"Selects animation index 16 for eight recognized villager ambient template names.","es":"Selecciona el índice de animación 16 para ocho nombres reconocidos de plantilla ambiental de aldeano."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-34e79a890e322f","name":"Unit::SetCarryGoodsAnim","member":"SetCarryGoodsAnim","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::SetCarryGoodsAnim()","summary":{"en":"Maps recognized villager ambient template names to one of two carry-goods animation state values.","es":"Convierte los nombres reconocidos de plantillas de aldeanos ambientales en uno de dos valores de estado de la animación de transporte de mercancías."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e0cd16594ab54e","name":"Unit::DoCarryNothing","member":"DoCarryNothing","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::DoCarryNothing()","summary":{"en":"Tests whether a resolved Unit's carry animation selector is zero.","es":"Comprueba si el selector de animación de transporte de la Unit obtenida es cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c35f447c76a7e5","name":"Unit::Disappear","member":"Disappear","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::Disappear()","summary":{"en":"Clears Unit command state and dispatches a series of path, visual, context, and virtual calls.","es":"Limpia el estado de órdenes de Unit e invoca una serie de operaciones de ruta, representación visual, contexto y operaciones virtuales."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-95efb707941cff","name":"Unit::SetNoselectFlag","member":"SetNoselectFlag","family":"Unit","returns":"void","args":["bool"],"kind":"method","signature":"void Unit::SetNoselectFlag(bool)","summary":{"en":"Clears Unit [field] bit [field] and sets it when the bool argument is nonzero.","es":"Limpia el bit [campo] de [campo] de Unit y lo activa si el argumento bool es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-30304be655ae87","name":"Unit::SetMinimapFlag","member":"SetMinimapFlag","family":"Unit","returns":"void","args":["bool"],"kind":"method","signature":"void Unit::SetMinimapFlag(bool)","summary":{"en":"Sets or clears the Unit minimap flag from a bool argument.","es":"Activa o desactiva la marca del minimapa de Unit a partir de un argumento bool."},"notes":{},"examples":{},"technical":{}},{"id":"api-fdfbce39a7c95b","name":"Unit::SetNoAIFlag","member":"SetNoAIFlag","family":"Unit","returns":"void","args":["bool"],"kind":"method","signature":"void Unit::SetNoAIFlag(bool)","summary":{"en":"Clears a unit flag, then sets it if the boolean argument is nonzero.","es":"Desactiva una bandera de la unidad y vuelve a activarla si el argumento booleano no es cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2e5542589647df","name":"Unit::PathDestFound","member":"PathDestFound","family":"Unit","returns":"point","args":[],"kind":"method","signature":"point Unit::PathDestFound()","summary":{"en":"When Unit [field] exists and its virtual [field] returns nonzero, returns the point from path virtual [field]; otherwise returns (-1,-1).","es":"Si Unit [campo] existe y su operación virtual [campo] devuelve un valor distinto de cero, devuelve el punto de la operación virtual [campo] de la ruta; en otro caso devuelve (-1,-1)."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ab9e5637b622f2","name":"Unit::ForceIdle","member":"ForceIdle","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::ForceIdle()","summary":{"en":"Unit::ForceIdle pops an 8-byte Unit handle, validates it through the global unit registry, and writes 32-bit integer 1 into unit offset [field].","es":"Unit::ForceIdle extrae de la pila una referencia Unit de 8 bytes, la valida mediante el registro global de unidades y escribe el entero de 32 bits 1 en [campo] de la unidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1f8884272a5313","name":"Unit::Talk","member":"Talk","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::Talk()","summary":{"en":"Passes a resolved Unit to helper [field] and returns native status zero; invalid Unit skips the call.","es":"Pasa una Unit resuelta a la operación auxiliar [campo] y devuelve el estado interno cero; si Unit no es válida omite la llamada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fc2af562291099","name":"Unit::IsCursed","member":"IsCursed","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::IsCursed()","summary":{"en":"Reads one Unit flag bit as a CKS bool.","es":"Lee un bit de las marcas de Unit como bool de CKS."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-396de1b40f0487","name":"Unit::IsDiseased","member":"IsDiseased","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::IsDiseased()","summary":{"en":"Reads one Unit flag bit as a CKS bool.","es":"Lee un bit de las marcas de Unit como bool de CKS."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b46a9e6f67141a","name":"Unit::GetBestCurseTarget","member":"GetBestCurseTarget","family":"Unit","returns":"Unit","args":[],"kind":"method","signature":"Unit Unit::GetBestCurseTarget()","summary":{"en":"Configures target filters and delegates curse-target selection to spatial or squad-aware search helpers.","es":"Configura filtros de objetivos y solicita la selección de un objetivo de maldición mediante búsquedas espaciales o que tienen en cuenta la escuadra."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-43d41570f7b745","name":"Unit::GetBuilding","member":"GetBuilding","family":"Unit","returns":"Building","args":[],"kind":"method","signature":"Building Unit::GetBuilding()","summary":{"en":"Returns a Building handle containing the resolved Unit's linked Building slot.","es":"Devuelve una referencia Building que contiene la posición de Building asociada a la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-30bc60f5dac787","name":"Unit::SetBuilding","member":"SetBuilding","family":"Unit","returns":"void","args":["Building"],"kind":"method","signature":"void Unit::SetBuilding(Building)","summary":{"en":"Unit::SetBuilding writes the Building argument's 16-bit registry slot to Unit [field], or 65535 when the Building does not resolve.","es":"Unit::SetBuilding escribe el índice de registro de 16 bits del argumento Building en [campo] de Unit, o 65535 si no se puede resolver el Building."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-851f2952eb145b","name":"Unit::HasSpecial","member":"HasSpecial","family":"Unit","returns":"bool","args":["int"],"kind":"method","signature":"bool Unit::HasSpecial(int)","summary":{"en":"Tests an indexed bit in the Unit special mask.","es":"Comprueba un bit indexado de la máscara especial de Unit."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cf80fb3c1ba50b","name":"Unit::SetSpecial","member":"SetSpecial","family":"Unit","returns":"void","args":["int","bool"],"kind":"method","signature":"void Unit::SetSpecial(int, bool)","summary":{"en":"For index below 36, a nonzero bool ORs its shifted bit into Unit [field], while false calls [field] to clear it; invalid Unit or out-of-range index is skipped.","es":"Para un índice inferior a 36, un bool distinto de cero incorpora mediante OR su bit desplazado a [campo] de Unit; false llama a [campo] para limpiarlo. Omite los casos de Unit no válido o índice fuera de rango."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7fa1317fdff4c2","name":"Unit::SpecialName","member":"SpecialName","family":"Unit","returns":"str","args":["int"],"kind":"method","signature":"str Unit::SpecialName(int)","summary":{"en":"Builds a script string from a Unit special-name table entry or fallback.","es":"Construye un texto de scripts a partir de una entrada de la tabla de nombres especiales de Unit o de un valor alternativo."},"notes":{},"examples":{},"technical":{}},{"id":"api-bb641b0b4059e2","name":"Unit::GetParryMode","member":"GetParryMode","family":"Unit","returns":"int","args":[],"kind":"method","signature":"int Unit::GetParryMode()","summary":{"en":"Unit[field] bit 0 gates parry support, while Unit[field] stores the Boolean mode changed by SetParryMode and returned by GetParryMode.","es":"El bit 0 de Unit[campo] controla la posibilidad de parar ataques; Unit[campo] almacena el modo booleano modificado por SetParryMode y devuelto por GetParryMode."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7157fea9c101b0","name":"Unit::SetParryMode","member":"SetParryMode","family":"Unit","returns":"void","args":["bool"],"kind":"method","signature":"void Unit::SetParryMode(bool)","summary":{"en":"Changes parry mode when the Unit capability bit allows it.","es":"Cambia el modo de bloqueo cuando lo permite el bit de capacidad de Unit."},"notes":{},"examples":{},"technical":{}},{"id":"api-fb63914b603920","name":"Unit::Curse","member":"Curse","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::Curse()","summary":{"en":"Delegates a resolved Unit to a status-effect helper with mode zero.","es":"Pasa la Unit obtenida a una operación de efecto de estado con el modo cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7c9629ed4abefc","name":"Unit::Bless","member":"Bless","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::Bless()","summary":{"en":"Delegates a resolved Unit to a status-effect helper with mode one.","es":"Pasa la Unit obtenida a una operación de efecto de estado con el modo uno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6f4cf4ff0db76e","name":"Unit::Disease","member":"Disease","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::Disease()","summary":{"en":"Sets a Unit disease flag and creates an effect when its slot is empty.","es":"Activa una marca de enfermedad de Unit y crea un efecto si su posición está vacía."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a066d09a08f02b","name":"Unit::RamBestTarget","member":"RamBestTarget","family":"Unit","returns":"Obj","args":[],"kind":"method","signature":"Obj Unit::RamBestTarget()","summary":{"en":"Runs a bounded spatial candidate query and emits an Obj handle.","es":"Ejecuta una consulta espacial acotada de candidatos y devuelve una referencia Obj."},"notes":{},"examples":{},"technical":{}},{"id":"api-77d56df8da4212","name":"GetPlayerUnits","member":"GetPlayerUnits","family":"Global","returns":"ObjList","args":["int"],"kind":"function","signature":"ObjList GetPlayerUnits(int)","summary":{"en":"Builds an ObjList of units for a one-based player number.","es":"Construye una ObjList con las unidades del jugador indicado, numerado desde uno."},"notes":{},"examples":{},"technical":{}},{"id":"api-00acc95298d6e9","name":"GetPlayerUnits","member":"GetPlayerUnits","family":"Global","returns":"ObjList","args":["int","str"],"kind":"function","signature":"ObjList GetPlayerUnits(int, str)","summary":{"en":"Builds an ObjList of a player's units using a resolved script class filter.","es":"Construye una ObjList con las unidades de un jugador usando un filtro de clase de scripts obtenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2f832b6bc82b07","name":"InvalidateRegenConsts","member":"InvalidateRegenConsts","family":"Global","returns":"void","args":[],"kind":"function","signature":"void InvalidateRegenConsts()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-a3dace67248d6e","name":"Unit::Mutate","member":"Mutate","family":"Unit","returns":"void","args":["str"],"kind":"method","signature":"void Unit::Mutate(str)","summary":{"en":"Resolves a named class template and dispatches Unit mutation or a deferred mutation state.","es":"Obtiene una plantilla de clase por nombre y solicita la transformación de Unit o un estado de transformación aplazada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bd5ac0625fbe6f","name":"ExpFromLevel","member":"ExpFromLevel","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int ExpFromLevel(int)","summary":{"en":"ExpFromLevel replaces the input dword with the global dword at [field].","es":"ExpFromLevel sustituye el dword de entrada por el dword global [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ce6aa2404916ae","name":"LevelFromExp","member":"LevelFromExp","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int LevelFromExp(int)","summary":{"en":"Converts an experience dword using an inline signed threshold scan and returns the resulting level dword.","es":"Convierte un valor de experiencia de 32 bits mediante una búsqueda de umbrales con signo y devuelve el nivel resultante de 32 bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-76a7b85899dc5c","name":"Hero::FormKeepMoving","member":"FormKeepMoving","family":"Hero","returns":"void","args":["int"],"kind":"method","signature":"void Hero::FormKeepMoving(int)","summary":{"en":"For nonzero continuation, refreshes formation movement, sets hero state 3 and a flag, stores the integer as VM wait ticks and reports status 1. Zero continuation clears the flag and reports status 0.","es":"Si la continuación no es cero, actualiza el movimiento en formación, establece el estado 3 del héroe y una bandera, guarda el entero como ticks de espera de la máquina virtual e informa del estado 1. Si es cero, desactiva la bandera e informa del estado 0."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a40e09878a579c","name":"Hero::FormSetupAndMoveTo","member":"FormSetupAndMoveTo","family":"Hero","returns":"void","args":["point","int","int","bool"],"kind":"method","signature":"void Hero::FormSetupAndMoveTo(point, int, int, bool)","summary":{"en":"After holder-related waits, the point overload clears the Hero path controller, passes the point, two integers, and bool to formation destination change; on success it installs a new controller, enables formation move mode, and sets Hero [field] to 3.","es":"Tras las esperas relacionadas con el contenedor, la variante con point limpia el controlador de ruta de Hero y pasa el punto, dos enteros y el bool al cambio de destino de la formación; si tiene éxito instala un controlador nuevo, activa el modo de movimiento de la formación y establece [campo] de Hero en 3."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f3014a28253b55","name":"Hero::FormSetupAndMoveTo","member":"FormSetupAndMoveTo","family":"Hero","returns":"void","args":["Obj","int","int","bool"],"kind":"method","signature":"void Hero::FormSetupAndMoveTo(Obj, int, int, bool)","summary":{"en":"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.","es":"Tras las esperas relacionadas con el contenedor, limpia el controlador de ruta del héroe y elige cambiar el destino de objeto o usar un punto derivado del objeto, según una bandera. Si tiene éxito, instala un controlador nuevo y establece el estado 3 del héroe."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-664344e13e4c58","name":"Hero::TimePastLastAttack","member":"TimePastLastAttack","family":"Hero","returns":"int","args":[],"kind":"method","signature":"int Hero::TimePastLastAttack()","summary":{"en":"Returns the current game tick value minus the Hero's stored last-attack tick, or the current value when the Hero handle is invalid.","es":"Devuelve el instante actual del reloj del juego menos el instante almacenado del último ataque de Hero, o el valor actual si la referencia Hero no es válida."},"notes":{},"examples":{},"technical":{}},{"id":"api-51a54145fc6976","name":"Hero::LastAttacker","member":"LastAttacker","family":"Hero","returns":"Obj","args":[],"kind":"method","signature":"Obj Hero::LastAttacker()","summary":{"en":"Hero::LastAttacker copies Hero [field] into a returned object's low word and zeroes result dword 1.","es":"Hero::LastAttacker copia Hero [campo] en la palabra baja del objeto devuelto y pone a cero el dword 1 del resultado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b867c3113e9946","name":"Hero::army","member":"army","family":"Hero","returns":"ObjList","args":[],"kind":"property","signature":"ObjList Hero::army()","summary":{"en":"Hero::army returns an ObjList wrapper pointing to the resolved Hero at [field], increments the list reference counter at [field], and uses an empty newly allocated list if receiver resolution fails.","es":"Hero::army devuelve una ObjList que apunta a [campo] del Hero resuelto, incrementa el contador de referencias de la lista en [campo] y usa una lista vacía recién reservada si no se puede resolver el receptor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-23310b84e0c6a9","name":"Hero::maxarmy","member":"maxarmy","family":"Hero","returns":"int","args":[],"kind":"property","signature":"int Hero::maxarmy()","summary":{"en":"Reads the Hero army capacity field for this function.","es":"Lee el campo de capacidad del ejército de Hero para esta función."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1eba3ebb3e9c89","name":"Hero::IsHeroArmyFull","member":"IsHeroArmyFull","family":"Hero","returns":"bool","args":[],"kind":"method","signature":"bool Hero::IsHeroArmyFull()","summary":{"en":"Compares army count and capacity for this function.","es":"Compara el recuento y la capacidad del ejército para esta función."},"notes":{},"examples":{},"technical":{}},{"id":"api-26e2f1fb514139","name":"Hero::FormRadius","member":"FormRadius","family":"Hero","returns":"int","args":[],"kind":"method","signature":"int Hero::FormRadius()","summary":{"en":"For a valid Hero, FormRadius calls [field] on Hero [field] and pushes its four-byte result; an invalid Hero yields zero.","es":"Para un Hero válido, FormRadius llama a [campo] sobre Hero [campo] e introduce en la pila su resultado de cuatro bytes; un Hero no válido produce cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6b645c7ade197d","name":"Hero::FormPathLeft","member":"FormPathLeft","family":"Hero","returns":"int","args":[],"kind":"method","signature":"int Hero::FormPathLeft()","summary":{"en":"For a valid Hero with a nonnull formation path object at Hero [field] then [field], FormPathLeft returns the result of that object’s virtual method at vtable [field]; otherwise it returns zero.","es":"Para un Hero válido con un objeto de ruta de formación no nulo obtenido desde Hero [campo] y después [campo], FormPathLeft devuelve el resultado del método virtual [campo] de ese objeto; en otro caso devuelve cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1bc6e7575b641d","name":"Hero::HasArmy","member":"HasArmy","family":"Hero","returns":"bool","args":[],"kind":"method","signature":"bool Hero::HasArmy()","summary":{"en":"Hero::HasArmy returns whether the resolved Hero dword at offset [field] is nonzero.","es":"Hero::HasArmy devuelve si el dword [campo] del Hero resuelto es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-141cf26b2b1303","name":"Hero::SetFormation","member":"SetFormation","family":"Hero","returns":"void","args":["str"],"kind":"method","signature":"void Hero::SetFormation(str)","summary":{"en":"SetFormation resolves the supplied string in the formation map and, when found and Hero [field] exists, passes the string text to the formation object shape-setting helper; unknown names and invalid Heroes call the error helper.","es":"SetFormation resuelve el texto indicado en el mapa de formaciones y, si lo encuentra y existe Hero [campo], pasa el texto a la operación auxiliar que establece la forma del objeto de formación. Los nombres desconocidos y los Hero no válidos llaman a la operación auxiliar de error."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-38112e4e3cf7df","name":"Hero::formation","member":"formation","family":"Hero","returns":"str","args":[],"kind":"property","signature":"str Hero::formation()","summary":{"en":"For a valid Hero, the formation getter copies the text of the shape object reached through Hero [field] and formation [field] into a VM string result; an invalid Hero returns an empty string.","es":"Para un Hero válido, el acceso a formation copia en un resultado de texto de la máquina virtual el texto del objeto de forma obtenido mediante Hero [campo] y formación [campo]; un Hero no válido devuelve un texto vacío."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b729aa80f8b3e4","name":"Hero::DetachArmy","member":"DetachArmy","family":"Hero","returns":"void","args":[],"kind":"method","signature":"void Hero::DetachArmy()","summary":{"en":"Delegates Hero::DetachArmy to the army cleanup routine.","es":"Hero::DetachArmy solicita la operación de limpieza del ejército."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-57c3c662b908d7","name":"GetRandomHeroClass","member":"GetRandomHeroClass","family":"Global","returns":"str","args":["str","int"],"kind":"function","signature":"str GetRandomHeroClass(str, int)","summary":{"en":"Passes a class string and decremented player index to a hero selector and returns a new script string.","es":"Pasa un texto de clase y un índice de jugador reducido en uno a un selector de héroes y devuelve un nuevo texto de scripts."},"notes":{},"examples":{},"technical":{}},{"id":"api-a8bbe6cc6db6b4","name":"Hero::CancelArmyBoard","member":"CancelArmyBoard","family":"Hero","returns":"void","args":[],"kind":"method","signature":"void Hero::CancelArmyBoard()","summary":{"en":"Delegates Hero::CancelArmyBoard to a holder and army validation routine.","es":"Hero::CancelArmyBoard solicita una operación de validación del contenedor y del ejército."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-22732e5052eb78","name":"Hero::SetFinalPartyOrientation","member":"SetFinalPartyOrientation","family":"Hero","returns":"void","args":["point"],"kind":"method","signature":"void Hero::SetFinalPartyOrientation(point)","summary":{"en":"Stores the transformed orientation request point for this function.","es":"Guarda el punto transformado de la solicitud de orientación para esta función."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b9f2ef92660f21","name":"Hero::GetFinalPartyOrientation","member":"GetFinalPartyOrientation","family":"Hero","returns":"point","args":[],"kind":"method","signature":"point Hero::GetFinalPartyOrientation()","summary":{"en":"Returns the transformed stored orientation point for this function.","es":"Devuelve el punto de orientación almacenado y transformado para esta función."},"notes":{},"examples":{},"technical":{}},{"id":"api-2f2a168fec1792","name":"Hero::HasFinalPartyOrientationRequest","member":"HasFinalPartyOrientationRequest","family":"Hero","returns":"bool","args":[],"kind":"method","signature":"bool Hero::HasFinalPartyOrientationRequest()","summary":{"en":"Tests the stored orientation request pair for this function.","es":"Comprueba el par almacenado de la solicitud de orientación para esta función."},"notes":{},"examples":{},"technical":{}},{"id":"api-d9de7d68968320","name":"HeroSkillId","member":"HeroSkillId","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int HeroSkillId(str)","summary":{"en":"Consumes a skill-name string and returns the index found by a case-sensitive descriptor-name scan.","es":"Consume un texto con el nombre de una habilidad y devuelve el índice obtenido al buscar el nombre del descriptor, distinguiendo mayúsculas y minúsculas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-02308a7c58bc5b","name":"Hero::SetSkill","member":"SetSkill","family":"Hero","returns":"void","args":["int","int"],"kind":"method","signature":"void Hero::SetSkill(int, int)","summary":{"en":"Resolves the hero reference and delegates the skill-level update.","es":"Resuelve la referencia del héroe y delega la actualización del nivel de habilidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4b4ae00d8bfd91","name":"Hero::GetSkill","member":"GetSkill","family":"Hero","returns":"int","args":["int"],"kind":"method","signature":"int Hero::GetSkill(int)","summary":{"en":"CKS scripting bridge returning current skill level for a given skill index.","es":"Enlace de scripts CKS que devuelve el nivel actual de la habilidad cuyo índice se indica."},"notes":{},"examples":{},"technical":{}},{"id":"api-9cd4cf783c6026","name":"Hero::UseSkill","member":"UseSkill","family":"Hero","returns":"bool","args":["int"],"kind":"method","signature":"bool Hero::UseSkill(int)","summary":{"en":"Resolves a Hero handle and returns whether the native Hero skill dispatcher accepted the supplied skill ID.","es":"Resuelve una referencia Hero y devuelve si el despachador interno de habilidades de Hero aceptó el identificador de habilidad indicado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9d6fa70afa4a5b","name":"HeroSkillName","member":"HeroSkillName","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str HeroSkillName(int)","summary":{"en":"Returns an owned script string from the 25-entry display-name table or an empty-string fallback.","es":"Devuelve un texto de scripts con propiedad asignada a partir de la tabla de 25 nombres visibles, o un texto vacío como alternativa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ea9cfdba2e937d","name":"Hero::AvailableSkillPoints","member":"AvailableSkillPoints","family":"Hero","returns":"int","args":[],"kind":"method","signature":"int Hero::AvailableSkillPoints()","summary":{"en":"CKS scripting bridge resolving hero pointer and returning unspent available skill points.","es":"Enlace de scripts CKS que obtiene el puntero del héroe y devuelve los puntos de habilidad disponibles sin gastar."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4b1a88432f92e4","name":"Hero::SkillInEffect","member":"SkillInEffect","family":"Hero","returns":"bool","args":["int"],"kind":"method","signature":"bool Hero::SkillInEffect(int)","summary":{"en":"Resolves a Hero and tests whether an indexed skill-effect slot differs from the -1 sentinel.","es":"Obtiene un Hero y comprueba si la posición indexada de efecto de habilidad es distinta del valor centinela -1."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c2b4355a159f50","name":"Hero::autocast","member":"autocast","family":"Hero","returns":"bool","args":[],"kind":"property","signature":"bool Hero::autocast()","summary":{"en":"Resolves a Hero and reads bit 2 from its flags dword at [field].","es":"Resuelve un Hero y lee el bit 2 de su dword de indicadores [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2367ede6d698ea","name":"Hero::SetAutocast","member":"SetAutocast","family":"Hero","returns":"void","args":["bool"],"kind":"method","signature":"void Hero::SetAutocast(bool)","summary":{"en":"Clears or sets a flag in the resolved Hero according to the boolean argument.","es":"Desactiva o activa una bandera del héroe resuelto según el argumento booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-62e941fd0e0300","name":"Druid::FindUnitToHeal","member":"FindUnitToHeal","family":"Druid","returns":"Unit","args":[],"kind":"method","signature":"Unit Druid::FindUnitToHeal()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-0757bc00703ec8","name":"Druid::FindUnitToLearn","member":"FindUnitToLearn","family":"Druid","returns":"Unit","args":[],"kind":"method","signature":"Unit Druid::FindUnitToLearn()","summary":{"en":"CKS-exposed AI helper that scans for an ally to apply an experience-gain effect to, sharing the same vision-range/eligibility pattern as the druid's other target-search helpers.","es":"Operación auxiliar de IA expuesta a CKS que busca un aliado al que aplicar un efecto de obtención de experiencia, con el mismo patrón de alcance de visión y elegibilidad que las demás búsquedas de objetivos del druida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d2d7ff17517879","name":"Druid::FindUnitToHide","member":"FindUnitToHide","family":"Druid","returns":"Unit","args":[],"kind":"method","signature":"Unit Druid::FindUnitToHide()","summary":{"en":"CKS-exposed AI helper that scans for an ally to apply an invisibility-style effect to, sharing the same vision-range/eligibility pattern as the druid's other target-search helpers.","es":"Operación auxiliar de IA expuesta a CKS que busca un aliado al que aplicar un efecto de invisibilidad, con el mismo patrón de alcance de visión y elegibilidad que las demás búsquedas de objetivos del druida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-66411e34725553","name":"Druid::GetBestCrippleTarget","member":"GetBestCrippleTarget","family":"Druid","returns":"Unit","args":[],"kind":"method","signature":"Unit Druid::GetBestCrippleTarget()","summary":{"en":"CKS target selector that chooses the greatest positive [field] score among eligible candidates from a squad-member traversal or a radius-bounded map traversal.","es":"Selector de destino CKS que elige la mayor puntuación positiva [campo] entre candidatos aptos obtenidos al recorrer los miembros de un escuadrón o al recorrer el mapa dentro de un radio."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c36b51aeb6edae","name":"Druid::FindUnitToRevitalize","member":"FindUnitToRevitalize","family":"Druid","returns":"Unit","args":[],"kind":"method","signature":"Unit Druid::FindUnitToRevitalize()","summary":{"en":"CKS-exposed AI helper that scans for a drained ally to recharge, sharing the same vision-range/eligibility pattern as the druid's other target-search helpers.","es":"Operación auxiliar de IA expuesta a CKS que busca un aliado con energía agotada para recargarlo, con el mismo patrón de alcance de visión y elegibilidad que las demás búsquedas de objetivos del druida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-29f46af20dd238","name":"Druid::FindUnitBelowILevel","member":"FindUnitBelowILevel","family":"Druid","returns":"Unit","args":["int"],"kind":"method","signature":"Unit Druid::FindUnitBelowILevel(int)","summary":{"en":"CKS Druid adapter that searches within receiver [field] and validates one spatially selected candidate against a strict experience-derived level threshold.","es":"Adaptador de Druid en CKS que busca dentro de [campo] del receptor y valida un candidato seleccionado espacialmente frente a un umbral de nivel estricto calculado a partir de la experiencia."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-60ca7e76fe345c","name":"Druid::FindUnitBelowILevel","member":"FindUnitBelowILevel","family":"Druid","returns":"Unit","args":["int","int"],"kind":"method","signature":"Unit Druid::FindUnitBelowILevel(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-a43f18d56687ce","name":"Druid::SetStonehenge","member":"SetStonehenge","family":"Druid","returns":"void","args":["Building"],"kind":"method","signature":"void Druid::SetStonehenge(Building)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-9eb0ccefd4bee1","name":"Druid::GetJupiterAngerTarget","member":"GetJupiterAngerTarget","family":"Druid","returns":"Unit","args":[],"kind":"method","signature":"Unit Druid::GetJupiterAngerTarget()","summary":{"en":"CKS Jupiter Anger target adapter that allocates an output registry slot for an eligible target without clearing the stored target field.","es":"Adaptador de selección de destino de Jupiter Anger en CKS que reserva una entrada de salida en el registro para un destino apto sin limpiar el campo de destino almacenado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cc283770ba407f","name":"Druid::SetJupiterAngerTarget","member":"SetJupiterAngerTarget","family":"Druid","returns":"void","args":["Unit"],"kind":"method","signature":"void Druid::SetJupiterAngerTarget(Unit)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-93f61be3d6779d","name":"Druid::SetSummoningDeath","member":"SetSummoningDeath","family":"Druid","returns":"void","args":["bool"],"kind":"method","signature":"void Druid::SetSummoningDeath(bool)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-a72b516ac176b1","name":"Druid::IsSummoningDeath","member":"IsSummoningDeath","family":"Druid","returns":"bool","args":[],"kind":"method","signature":"bool Druid::IsSummoningDeath()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-7c29fef1b35bcd","name":"_ScriptEditor","member":"_ScriptEditor","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _ScriptEditor()","summary":{"en":"Allocates an editor object and dispatches construction with the data/subai literal.","es":"Reserva un objeto del editor y solicita su construcción con el literal data/subai."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1a6a6a4097e5ea","name":"_ScriptEditor","member":"_ScriptEditor","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void _ScriptEditor(str)","summary":{"en":"Consumes a managed directory string and dispatches the editor constructor.","es":"Consume un texto gestionado con un directorio y despacha el constructor del editor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-744e404679b6ee","name":"_DialogEditor","member":"_DialogEditor","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _DialogEditor()","summary":{"en":"Shared no-argument handler for two CKS registrations that allocates and constructs a dialog using the literal EditorIni/ string.","es":"Gestor compartido sin argumentos de dos registros CKS que reserva y construye un diálogo usando el texto literal EditorIni/."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-71b3cdcd50e6e3","name":"_DialogEditor","member":"_DialogEditor","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void _DialogEditor(str)","summary":{"en":"Consumes a CKS string and passes its character data to the dialog constructor.","es":"Consume un texto CKS y pasa sus caracteres al constructor del diálogo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-12fb91f3fd2208","name":"_de","member":"_de","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _de()","summary":{"en":"Shared no-argument handler for two CKS registrations that allocates and constructs a dialog using the literal EditorIni/ string.","es":"Gestor compartido sin argumentos de dos registros CKS que reserva y construye un diálogo usando el texto literal EditorIni/."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5ce227ed76a960","name":"_Choose","member":"_Choose","family":"Global","returns":"str","args":["str","str"],"kind":"function","signature":"str _Choose(str, str)","summary":{"en":"Retains a native dialog pointer until its result text becomes available.","es":"Conserva un puntero interno de diálogo hasta que su texto de resultado está disponible."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5e7dd515f32308","name":"_ListClasses","member":"_ListClasses","family":"Global","returns":"str","args":[],"kind":"function","signature":"str _ListClasses()","summary":{"en":"Dispatches enumeration on the known class-template registry and returns a managed copy.","es":"Solicita la enumeración del registro conocido de plantillas de clase y devuelve una copia gestionada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-88dcd55fb37a7a","name":"_ListFolder","member":"_ListFolder","family":"Global","returns":"str","args":["str"],"kind":"function","signature":"str _ListFolder(str)","summary":{"en":"Enumerates a VFS path and returns matching entry names joined by newlines.","es":"Enumera una ruta del sistema de archivos virtual y devuelve los nombres de las entradas coincidentes separados por saltos de línea."},"notes":{},"examples":{},"technical":{}},{"id":"api-d4a574f559d88f","name":"_ListFolderEx","member":"_ListFolderEx","family":"Global","returns":"str","args":["str","str"],"kind":"function","signature":"str _ListFolderEx(str, str)","summary":{"en":"Filters VFS enumeration names by an ASCII case-insensitive suffix and joins matches with newlines.","es":"Filtra los nombres enumerados del sistema de archivos virtual por un sufijo ASCII sin distinguir mayúsculas y minúsculas, y une las coincidencias con saltos de línea."},"notes":{},"examples":{},"technical":{}},{"id":"api-ab42659cf4a659","name":"_ListTerrains","member":"_ListTerrains","family":"Global","returns":"str","args":[],"kind":"function","signature":"str _ListTerrains()","summary":{"en":"Appends the string member of each terrain record followed by a newline.","es":"Añade el texto de cada registro de terreno seguido de un salto de línea."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e95e2ba54a92d3","name":"MiniMap","member":"MiniMap","family":"Global","returns":"void","args":[],"kind":"function","signature":"void MiniMap()","summary":{"en":"Branches on the minimap holder and either constructs its supporting message/UI objects or invokes close/destruction slots.","es":"Según el contenedor del minimapa, construye los objetos auxiliares de mensajes e interfaz o invoca las operaciones de cierre y destrucción."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a4ae24a9a5de35","name":"SetMiniMapRect","member":"SetMiniMapRect","family":"Global","returns":"void","args":["rect"],"kind":"function","signature":"void SetMiniMapRect(rect)","summary":{"en":"Consumes a script rectangle, narrows its coordinates to words, shifts/clamps it against native bounds, and updates an existing minimap.","es":"Consume un rectángulo del script, reduce sus coordenadas a palabras de 16 bits, lo desplaza y limita según los bordes internos y actualiza un minimapa existente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b04664994e6b22","name":"BuildMiniMap","member":"BuildMiniMap","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void BuildMiniMap(str)","summary":{"en":"Consumes a managed script string and forwards a temporary native string to the minimap builder.","es":"Consume un texto gestionado del script y pasa un texto interno temporal al constructor del minimapa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-23786018162ca0","name":"ToggleZoomMap","member":"ToggleZoomMap","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ToggleZoomMap()","summary":{"en":"Invokes a virtual operation on the shared zoom-map interface.","es":"Invoca una operación virtual sobre la interfaz compartida del mapa ampliado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7b8a096f245064","name":"ShowZoomMap","member":"ShowZoomMap","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ShowZoomMap()","summary":{"en":"Invokes a virtual operation on the shared zoom-map interface.","es":"Invoca una operación virtual sobre la interfaz compartida del mapa ampliado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-37777289b2f670","name":"HideZoomMap","member":"HideZoomMap","family":"Global","returns":"void","args":[],"kind":"function","signature":"void HideZoomMap()","summary":{"en":"Invokes a virtual operation on the shared zoom-map interface.","es":"Invoca una operación virtual sobre la interfaz compartida del mapa ampliado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cb7ffc74c6f1ef","name":"_ZoomMapLastShownTime","member":"_ZoomMapLastShownTime","family":"Global","returns":"int","args":[],"kind":"function","signature":"int _ZoomMapLastShownTime()","summary":{"en":"CKS primitive bound to \"_ZoomMapLastShownTime\", querying the game tick when the tactical map was last opened.","es":"Primitiva CKS asociada a \"_ZoomMapLastShownTime\", que consulta el instante del reloj del juego en el que se abrió por última vez el mapa táctico."},"notes":{},"examples":{},"technical":{}},{"id":"api-05b0ea26af772f","name":"Wagon::amount","member":"amount","family":"Wagon","returns":"int","args":[],"kind":"property","signature":"int Wagon::amount()","summary":{"en":"Wagon::amount returns the resolved object's 32-bit field at [field], or zero for an invalid handle.","es":"Wagon::amount devuelve el campo de 32 bits [campo] del objeto resuelto, o cero para una referencia no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-78a8ecd87f3d21","name":"Wagon::restype","member":"restype","family":"Wagon","returns":"int","args":[],"kind":"property","signature":"int Wagon::restype()","summary":{"en":"Wagon restype returns the carried resource selector at [field], with zero on invalid resolution.","es":"restype de Wagon devuelve el selector de recurso transportado de [campo]; devuelve cero si no se puede resolver."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f71774b33a9068","name":"Wagon::SetFood","member":"SetFood","family":"Wagon","returns":"void","args":["int"],"kind":"method","signature":"void Wagon::SetFood(int)","summary":{"en":"Selects the carried resource type and forwards the supplied amount to the wagon amount-update helper.","es":"Selecciona el tipo de recurso transportado y pasa la cantidad indicada a la operación de actualización de la cantidad de Wagon."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0e5d0f3cd37771","name":"Wagon::SetGold","member":"SetGold","family":"Wagon","returns":"void","args":["int"],"kind":"method","signature":"void Wagon::SetGold(int)","summary":{"en":"Selects the carried resource type and forwards the supplied amount to the wagon amount-update helper.","es":"Selecciona el tipo de recurso transportado y pasa la cantidad indicada a la operación de actualización de la cantidad de Wagon."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-909cff8125bcfb","name":"Wagon::LoadFood","member":"LoadFood","family":"Wagon","returns":"void","args":["int"],"kind":"method","signature":"void Wagon::LoadFood(int)","summary":{"en":"Adapts Wagon resource loading through a selected pointer, signed capacity arithmetic and resource-store removal.","es":"Adapta la carga de recursos de Wagon mediante un puntero seleccionado, cálculos de capacidad con signo y retirada de recursos del almacén."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a6d1cf305b8036","name":"Wagon::LoadGold","member":"LoadGold","family":"Wagon","returns":"void","args":["int"],"kind":"method","signature":"void Wagon::LoadGold(int)","summary":{"en":"Adapts Wagon resource loading through a selected pointer, signed capacity arithmetic and resource-store removal.","es":"Adapta la carga de recursos de Wagon mediante un puntero seleccionado, cálculos de capacidad con signo y retirada de recursos del almacén."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a95fbcbed08aef","name":"Wagon::loyalty","member":"loyalty","family":"Wagon","returns":"int","args":[],"kind":"property","signature":"int Wagon::loyalty()","summary":{"en":"Wagon loyalty returns signed dword [field] divided by ten with truncation toward zero.","es":"loyalty de Wagon devuelve el dword con signo [campo] dividido entre diez, truncando hacia cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ba3efad1061a0a","name":"Wagon::SetLoyalty","member":"SetLoyalty","family":"Wagon","returns":"void","args":["int"],"kind":"method","signature":"void Wagon::SetLoyalty(int)","summary":{"en":"CKS-exposed setter that validates a 0..100 loyalty value and writes it, scaled by ten, to the wagon's loyalty field.","es":"Operación de escritura expuesta a CKS que valida una lealtad entre 0 y 100 y la guarda, multiplicada por diez, en el campo de lealtad de la unidad Wagon."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bd86ce0fb48d31","name":"Wagon::DecreaseLoyalty","member":"DecreaseLoyalty","family":"Wagon","returns":"void","args":["int"],"kind":"method","signature":"void Wagon::DecreaseLoyalty(int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-b88b044dd566fc","name":"Wagon::StartCapture","member":"StartCapture","family":"Wagon","returns":"void","args":[],"kind":"method","signature":"void Wagon::StartCapture()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-92c8f5a39a3e9a","name":"Wagon::StopCapture","member":"StopCapture","family":"Wagon","returns":"void","args":[],"kind":"method","signature":"void Wagon::StopCapture()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-7e88d586e16e84","name":"==","member":"==","family":"Global","returns":"bool","args":["Settlement","Settlement"],"kind":"operator","signature":"bool ==(Settlement, Settlement)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-51c51b99ba9572","name":"=","member":"=","family":"Global","returns":"void","args":["Settlement&","Settlement"],"kind":"operator","signature":"void =(Settlement&, Settlement)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-3685789f3b3398","name":"GetSettlement","member":"GetSettlement","family":"Global","returns":"Settlement","args":["str"],"kind":"function","signature":"Settlement GetSettlement(str)","summary":{"en":"Returns the first settlement whose name matches the supplied text.","es":"Devuelve el primer asentamiento cuyo nombre coincida con el texto indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-7035fc004d0a8c","name":"Settlement::population","member":"population","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::population()","summary":{"en":"Reads the settlement's current population count.","es":"Lee el recuento actual de población del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-92330e0c8c3b3e","name":"Settlement::max_population","member":"max_population","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::max_population()","summary":{"en":"Reads the settlement's maximum population capacity.","es":"Lee la capacidad máxima de población del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-36dd9e11fcf19f","name":"Settlement::name","member":"name","family":"Settlement","returns":"str","args":[],"kind":"property","signature":"str Settlement::name()","summary":{"en":"Copies the selected settlement name bytes into a VM string result with a chained four-byte metadata trailer.","es":"Copia los bytes del nombre del asentamiento seleccionado a un texto de la máquina virtual, con una terminación de metadatos de cuatro bytes encadenada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f5d982d6aeca32","name":"Settlement::ForceAddUnit","member":"ForceAddUnit","family":"Settlement","returns":"void","args":["Unit"],"kind":"method","signature":"void Settlement::ForceAddUnit(Unit)","summary":{"en":"CKS-exposed Settlement::ForceAddUnit, adding a unit to the settlement's Holder bypassing capacity.","es":"Settlement::ForceAddUnit, expuesta a CKS, añade una unidad al contenedor Holder del asentamiento sin respetar su capacidad."},"notes":{},"examples":{},"technical":{}},{"id":"api-7777b1d72c401b","name":"Settlement::AddUnit","member":"AddUnit","family":"Settlement","returns":"bool","args":["Unit"],"kind":"method","signature":"bool Settlement::AddUnit(Unit)","summary":{"en":"CKS-exposed Settlement::AddUnit, adding a unit to the settlement's Holder without bypassing capacity.","es":"Settlement::AddUnit, expuesta a CKS, añade una unidad al contenedor Holder del asentamiento respetando su capacidad."},"notes":{},"examples":{},"technical":{}},{"id":"api-4c86c5ad0c3b04","name":"Settlement::IsFull","member":"IsFull","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsFull()","summary":{"en":"CKS-exposed Settlement::IsFull, comparing the settlement's Holder occupancy to capacity.","es":"Settlement::IsFull, expuesta a CKS, compara la ocupación del contenedor Holder del asentamiento con su capacidad."},"notes":{},"examples":{},"technical":{}},{"id":"api-70395ecb239c1f","name":"Settlement::AddUnits","member":"AddUnits","family":"Settlement","returns":"int","args":["ObjList"],"kind":"method","signature":"int Settlement::AddUnits(ObjList)","summary":{"en":"Attempts nonforced holder entry for eligible members of a supplied ObjList and returns the number of successful entries.","es":"Intenta la entrada sin forzar en un contenedor de los miembros elegibles de la ObjList indicada y devuelve cuántas entradas se han conseguido."},"notes":{},"examples":{},"technical":{}},{"id":"api-377fb71288ba93","name":"Settlement::Units","member":"Units","family":"Settlement","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Settlement::Units()","summary":{"en":"Returns an ObjList view of a settlement holder's unit collection for the Settlement::Units registration.","es":"Devuelve una vista ObjList de la colección de unidades del contenedor del asentamiento para la función registrada Settlement::Units."},"notes":{},"examples":{},"technical":{}},{"id":"api-dccd055af158a5","name":"Settlement::UnitsCount","member":"UnitsCount","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::UnitsCount()","summary":{"en":"CKS-exposed Settlement::UnitsCount, returning the settlement's Holder member count at [field].","es":"Settlement::UnitsCount expuesto a CKS: devuelve el número de miembros del Holder del asentamiento almacenado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-87ada2472a0aaa","name":"Settlement::max_units","member":"max_units","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::max_units()","summary":{"en":"Returns the capacity at the Settlement's resolved Holder [field] field.","es":"Devuelve la capacidad del campo [campo] del Holder resuelto del Settlement."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c9e492eabbea61","name":"Settlement::health","member":"health","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::health()","summary":{"en":"Settlement::health resolves Settlement[field] and returns the linked Holder health field serialized at [field].","es":"Settlement::health resuelve Settlement[campo] y devuelve el campo de vida del Holder vinculado, serializado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-454eed192c5b54","name":"Settlement::max_health","member":"max_health","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::max_health()","summary":{"en":"Settlement::max_health resolves Settlement[field] and returns the linked Holder maximum-health field serialized at [field].","es":"Settlement::max_health resuelve Settlement[campo] y devuelve el campo de vida máxima del Holder vinculado, serializado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-82550493db6eed","name":"Settlement::stamina","member":"stamina","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::stamina()","summary":{"en":"The registered stamina getter returns a nested registry dword at [field].","es":"La operación registrada de consulta de stamina devuelve un dword de un registro anidado almacenado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a9ca17dbc6581e","name":"Settlement::max_stamina","member":"max_stamina","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::max_stamina()","summary":{"en":"The registered max_stamina getter returns a nested registry dword at [field].","es":"La operación registrada de consulta de max_stamina devuelve un dword de un registro anidado almacenado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-af73ee3cea84cd","name":"Settlement::loyalty","member":"loyalty","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::loyalty()","summary":{"en":"Reads raw loyalty and returns it scaled down by 10 for display.","es":"Lee la lealtad sin escalar y la devuelve dividida entre 10 para mostrarla."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-99019488511940","name":"Settlement::SetLoyalty","member":"SetLoyalty","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SetLoyalty(int)","summary":{"en":"Writes raw loyalty directly from a 0-100 input, bypassing the change accumulator.","es":"Escribe directamente la lealtad sin escalar a partir de una entrada de 0 a 100, sin usar el acumulador de cambios."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-435a3d117fb7a9","name":"Settlement::DecreaseLoyalty","member":"DecreaseLoyalty","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::DecreaseLoyalty(int)","summary":{"en":"Subtracts a scaled non-negative amount from the loyalty change accumulator.","es":"Resta una cantidad escalada y no negativa del acumulador de cambios de lealtad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d24423b341eefc","name":"Settlement::gold","member":"gold","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::gold()","summary":{"en":"Returns current gold from the settlement's registered resource store.","es":"Devuelve el oro actual del almacén de recursos registrado del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7c744359b9d100","name":"Settlement::max_gold","member":"max_gold","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::max_gold()","summary":{"en":"Returns maximum gold from the settlement's registered resource store.","es":"Devuelve el oro máximo del almacén de recursos registrado del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c8f3690525fc2e","name":"Settlement::food","member":"food","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::food()","summary":{"en":"Returns current food from the settlement's registered resource store.","es":"Devuelve la comida actual del almacén de recursos registrado del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b3230c72eec565","name":"Settlement::max_food","member":"max_food","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::max_food()","summary":{"en":"Returns maximum food from the settlement's registered resource store.","es":"Devuelve la comida máxima del almacén de recursos registrado del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9c63cabaa0115b","name":"Settlement::SetGold","member":"SetGold","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SetGold(int)","summary":{"en":"Sets current gold on the resource store to an absolute value, clamped to the store's maximum gold.","es":"Establece el oro actual del almacén de recursos en un valor absoluto, limitado al oro máximo del almacén."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4bd7ca1624d439","name":"Settlement::SetFood","member":"SetFood","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SetFood(int)","summary":{"en":"Sets current food on the resource store to an absolute value, clamped to the store's maximum food.","es":"Establece la comida actual del almacén de recursos en un valor absoluto, limitado a la comida máxima del almacén."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-34dd7ad8c4a268","name":"Settlement::SetPopulation","member":"SetPopulation","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SetPopulation(int)","summary":{"en":"Writes current population, clamped to at most the settlement's maximum population.","es":"Escribe la población actual, limitada como máximo a la población máxima del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2aaa4c9d2cfe4b","name":"Settlement::AddToPopulation","member":"AddToPopulation","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::AddToPopulation(int)","summary":{"en":"Applies an unconditional signed delta to current population, with no guard or clamp.","es":"Aplica un incremento con signo a la población actual sin comprobaciones ni límites."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-255bef6cf3effe","name":"Settlement::AddToMaxPopulation","member":"AddToMaxPopulation","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::AddToMaxPopulation(int)","summary":{"en":"CKS AddToMaxPopulation adapter that adds a dword delta after guarded receiver resolution.","es":"Adaptador CKS de AddToMaxPopulation que suma una variación de dword después de resolver el receptor con comprobaciones previas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-eb3293ec91c8b2","name":"Settlement::player","member":"player","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::player()","summary":{"en":"Converts the settlement's owning PlayerInfo identifier to the one-based scripting player number.","es":"Convierte el identificador PlayerInfo del propietario del asentamiento al número de jugador de scripts, numerado desde uno."},"notes":{},"examples":{},"technical":{}},{"id":"api-776ce598a2c1d5","name":"Settlement::SetPlayer","member":"SetPlayer","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SetPlayer(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-efc007a30c0eaa","name":"Settlement::IsValid","member":"IsValid","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsValid()","summary":{"en":"CKS native primitive that tests whether an Obj handle is valid; used generically, including on settlement handles.","es":"Primitiva CKS que comprueba si una referencia Obj es válida; se usa de forma genérica, también con referencias a asentamientos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b7e12e0576cf6b","name":"Settlement::loan","member":"loan","family":"Settlement","returns":"int","args":[],"kind":"property","signature":"int Settlement::loan()","summary":{"en":"CKS loan adapter that performs wrapped signed scaling of settlement offset [field].","es":"Adaptador CKS de loan que realiza un cálculo escalado con signo y desbordamiento sobre [campo] del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a62f9adbb1a964","name":"Settlement::SetLoan","member":"SetLoan","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SetLoan(int)","summary":{"en":"CKS SetLoan adapter that overwrites settlement offset [field] with wrapped signed scaling and calls a helper.","es":"Adaptador CKS de SetLoan que sustituye [campo] del asentamiento por un cálculo escalado con signo y desbordamiento, y llama a una operación auxiliar."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-79afff9d080c91","name":"Settlement::GetCentralBuilding","member":"GetCentralBuilding","family":"Settlement","returns":"Building","args":[],"kind":"method","signature":"Building Settlement::GetCentralBuilding()","summary":{"en":"Returns the registry handle stored in the settlement's central-building field.","es":"Devuelve la referencia de registro almacenada en el campo de edificio central del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-866bb75edec0bf","name":"Settlement::FoodProduction","member":"FoodProduction","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::FoodProduction()","summary":{"en":"CKS FoodProduction adapter that reads the settlement dword at offset [field].","es":"Adaptador CKS de FoodProduction que lee el dword [campo] del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-28041069ca8cae","name":"Settlement::GoldProduction","member":"GoldProduction","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::GoldProduction()","summary":{"en":"CKS GoldProduction adapter that reads the settlement dword at offset [field].","es":"Adaptador CKS de GoldProduction que lee el dword [campo] del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b912e84739cec0","name":"Settlement::SetFoodProduction","member":"SetFoodProduction","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SetFoodProduction(int)","summary":{"en":"Writes the settlement's food production rate unconditionally.","es":"Escribe sin condiciones la tasa de producción de comida del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e4534ebbedc3b0","name":"Settlement::SetGoldProduction","member":"SetGoldProduction","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SetGoldProduction(int)","summary":{"en":"Writes the settlement's gold production rate unconditionally.","es":"Escribe sin condiciones la tasa de producción de oro del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dd2580337a8ccd","name":"Settlement::Buildings","member":"Buildings","family":"Settlement","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Settlement::Buildings()","summary":{"en":"Settlement::Buildings returns an ObjList view at settlement [field], or an allocated empty list for an invalid settlement handle.","es":"Settlement::Buildings devuelve una vista ObjList sobre [campo] del asentamiento, o una lista vacía recién reservada si la referencia al asentamiento no es válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c8ab2bc00f795e","name":"Settlement::Find","member":"Find","family":"Settlement","returns":"Building","args":["str"],"kind":"method","signature":"Building Settlement::Find(str)","summary":{"en":"Find consumes str then Settlement, compares template string bytes and returns the first equal member handle.","es":"Find consume str y después Settlement, compara los bytes de texto de la plantilla y devuelve la primera referencia de miembro que coincide."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ee6e336097eac5","name":"Settlement::FirstBldClass","member":"FirstBldClass","family":"Settlement","returns":"str","args":[],"kind":"method","signature":"str Settlement::FirstBldClass()","summary":{"en":"CKS FirstBldClass adapter returning a copy of the Settlement string at [field].","es":"Adaptador CKS de FirstBldClass que devuelve una copia del texto [campo] de Settlement."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e3acafb018fbc7","name":"Settlement::CanBeCaptured","member":"CanBeCaptured","family":"Settlement","returns":"bool","args":["Unit"],"kind":"method","signature":"bool Settlement::CanBeCaptured(Unit)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-861c5f8aee0505","name":"Settlement::AllowCapture","member":"AllowCapture","family":"Settlement","returns":"void","args":["bool"],"kind":"method","signature":"void Settlement::AllowCapture(bool)","summary":{"en":"AllowCapture stores the zero-extended argument byte at Settlement [field].","es":"AllowCapture guarda el byte del argumento, extendido con ceros, en [campo] de Settlement."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-84f527c8407e13","name":"Settlement::ObjectsAround","member":"ObjectsAround","family":"Settlement","returns":"ObjList","args":["str"],"kind":"method","signature":"ObjList Settlement::ObjectsAround(str)","summary":{"en":"Builds an ObjList of settlement-associated objects matching a requested script class.","es":"Construye una ObjList con los objetos asociados a asentamientos que coinciden con la clase de scripts indicada."},"notes":{},"examples":{},"technical":{}},{"id":"api-e637238431e4ca","name":"Building::GetEnterExit","member":"GetEnterExit","family":"Building","returns":"point","args":[],"kind":"method","signature":"point Building::GetEnterExit()","summary":{"en":"Delegates to a random point lookup using point type 12. The meaning of that type is not documented here.","es":"Delega una búsqueda aleatoria de punto usando el tipo de punto 12. El significado de ese tipo no está documentado en esta ficha."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-16de8fbba0c6a0","name":"Building::GetWaterSource","member":"GetWaterSource","family":"Building","returns":"point","args":[],"kind":"method","signature":"point Building::GetWaterSource()","summary":{"en":"Delegates to a random point lookup using point type 13. The meaning of that type is not documented here.","es":"Delega una búsqueda aleatoria de punto usando el tipo de punto 13. El significado de ese tipo no está documentado en esta ficha."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-aef3791a5e1f01","name":"Building::GetGoodsSource","member":"GetGoodsSource","family":"Building","returns":"point","args":[],"kind":"method","signature":"point Building::GetGoodsSource()","summary":{"en":"Delegates to a random point lookup using point type 14. The meaning of that type is not documented here.","es":"Delega una búsqueda aleatoria de punto usando el tipo de punto 14. El significado de ese tipo no está documentado en esta ficha."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-400e007ebb380c","name":"Building::GetFixSite","member":"GetFixSite","family":"Building","returns":"point","args":[],"kind":"method","signature":"point Building::GetFixSite()","summary":{"en":"Delegates to a random point lookup using point type 15. The meaning of that type is not documented here.","es":"Delega una búsqueda aleatoria de punto usando el tipo de punto 15. El significado de ese tipo no está documentado en esta ficha."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-07d443897f9934","name":"Settlement::GetEnterExit","member":"GetEnterExit","family":"Settlement","returns":"Building","args":[],"kind":"method","signature":"Building Settlement::GetEnterExit()","summary":{"en":"Delegates to a random building with point lookup using point type 12. The meaning of that type is not documented here.","es":"Delega una búsqueda aleatoria de edificio con punto usando el tipo de punto 12. El significado de ese tipo no está documentado en esta ficha."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f680f8f0c9a6cc","name":"Settlement::GetWaterSource","member":"GetWaterSource","family":"Settlement","returns":"Building","args":[],"kind":"method","signature":"Building Settlement::GetWaterSource()","summary":{"en":"Delegates to a random building with point lookup using point type 13. The meaning of that type is not documented here.","es":"Delega una búsqueda aleatoria de edificio con punto usando el tipo de punto 13. El significado de ese tipo no está documentado en esta ficha."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8579bab2ec0435","name":"Settlement::GetGoodsSource","member":"GetGoodsSource","family":"Settlement","returns":"Building","args":[],"kind":"method","signature":"Building Settlement::GetGoodsSource()","summary":{"en":"Delegates to a random building with point lookup using point type 14. The meaning of that type is not documented here.","es":"Delega una búsqueda aleatoria de edificio con punto usando el tipo de punto 14. El significado de ese tipo no está documentado en esta ficha."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5727d58f12d1ad","name":"Settlement::GetFixSite","member":"GetFixSite","family":"Settlement","returns":"Building","args":[],"kind":"method","signature":"Building Settlement::GetFixSite()","summary":{"en":"Delegates to a random building with point lookup using point type 15. The meaning of that type is not documented here.","es":"Delega una búsqueda aleatoria de edificio con punto usando el tipo de punto 15. El significado de ese tipo no está documentado en esta ficha."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1ecc8ab74ba324","name":"Settlement::MostDamagedBuilding","member":"MostDamagedBuilding","family":"Settlement","returns":"Building","args":[],"kind":"method","signature":"Building Settlement::MostDamagedBuilding()","summary":{"en":"Selects the first eligible settlement member with the greatest strictly positive signed damage accumulator and template mask 4096.","es":"Selecciona el primer miembro apto del asentamiento con el mayor acumulador de daño con signo estrictamente positivo y la máscara de plantilla 4096."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b4d1648bd872b4","name":"Settlement::ClearDamageTaken","member":"ClearDamageTaken","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::ClearDamageTaken()","summary":{"en":"ClearDamageTaken writes zero to dword [field] of every iterated settlement member.","es":"ClearDamageTaken escribe cero en el dword [campo] de cada miembro del asentamiento recorrido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7d4ea172c226b2","name":"Settlement::FindNearEnterExit","member":"FindNearEnterExit","family":"Settlement","returns":"point","args":["point"],"kind":"method","signature":"point Settlement::FindNearEnterExit(point)","summary":{"en":"Searches settlement type12 points and selects the first strict minimum of a transformed integer distance metric.","es":"Busca puntos de tipo 12 del asentamiento y selecciona el primer mínimo estricto de una medida entera de distancia transformada."},"notes":{},"examples":{},"technical":{}},{"id":"api-2ab06c94125353","name":"Settlement::IsCity","member":"IsCity","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsCity()","summary":{"en":"Tests whether the settlement's central building's own UnitTemplate name string matches \"GTownhall\" or \"RTownhall\", distinguishing a template-name comparison from a class-name identity test.","es":"Comprueba si el texto con el nombre UnitTemplate del edificio central del asentamiento coincide con \"GTownhall\" o \"RTownhall\"; es una comparación del nombre de la plantilla, distinta de comprobar la identidad por nombre de clase."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-899a4d971edd2c","name":"Settlement::PopulationDied","member":"PopulationDied","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::PopulationDied()","summary":{"en":"Settlement::PopulationDied resolves the settlement handle and returns the integer count at offset [field], returning 0 on failure.","es":"Settlement::PopulationDied resuelve la referencia al asentamiento y devuelve el recuento entero de [campo]; devuelve 0 si falla."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2f472fa81cbf62","name":"Settlement::GoldConverted","member":"GoldConverted","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::GoldConverted(int)","summary":{"en":"Adds an amount to a player-level gold-converted accounting counter without mutating the resource store.","es":"Añade una cantidad a un contador contable del jugador expresado en oro, sin modificar el almacén de recursos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a2e414be1d0436","name":"Settlement::GoldSpent","member":"GoldSpent","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::GoldSpent(int)","summary":{"en":"CKS GoldSpent adapter that adds an amount to a selected structure's dword at offset [field].","es":"Adaptador CKS de GoldSpent que suma una cantidad al dword [campo] de una estructura seleccionada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-82130c44c7bb4b","name":"Settlement::GetSentry","member":"GetSentry","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::GetSentry()","summary":{"en":"GetSentry calls [field] with field [field] minus one when that field is signed positive, returning integer one; otherwise it returns zero.","es":"GetSentry llama a [campo] con el campo [campo] menos uno cuando ese campo, interpretado con signo, es positivo, y devuelve el entero uno; en otro caso devuelve cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-03fcc27c27beb2","name":"Settlement::PutSentry","member":"PutSentry","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::PutSentry()","summary":{"en":"PutSentry calls [field] with wrapped [field] plus one and then increments dword [field].","es":"PutSentry llama a [campo] con [campo] más uno, con desbordamiento, y después incrementa el dword [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-be83c03eaebc63","name":"Settlement::DelSentry","member":"DelSentry","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::DelSentry()","summary":{"en":"Decrements one of two settlement sentry counters with a zero floor on the fallback field.","es":"Reduce uno de dos contadores de centinelas del asentamiento, con un mínimo de cero en el campo alternativo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d20429c2aa780d","name":"Settlement::GetNumSentries","member":"GetNumSentries","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::GetNumSentries()","summary":{"en":"GetNumSentries and GetMaxSentries copy the resolved Settlement dwords [field] and [field] respectively, with zero fallback.","es":"GetNumSentries y GetMaxSentries copian, respectivamente, los dwords [campo] y [campo] del Settlement resuelto, con cero como valor alternativo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3f2a4eefa6c095","name":"Settlement::AddSentries","member":"AddSentries","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::AddSentries(int)","summary":{"en":"AddSentries adds its integer argument modulo 2^32 to [field], then calls [field] with wrapped [field] plus the same argument.","es":"AddSentries suma su argumento entero a [campo] módulo 2^32 y después llama a [campo] con el valor de [campo], con desbordamiento, más ese mismo argumento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-43351b753abf34","name":"Settlement::GetMaxSentries","member":"GetMaxSentries","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::GetMaxSentries()","summary":{"en":"GetNumSentries and GetMaxSentries copy the resolved Settlement dwords [field] and [field] respectively, with zero fallback.","es":"GetNumSentries y GetMaxSentries copian, respectivamente, los dwords [campo] y [campo] del Settlement resuelto, con cero como valor alternativo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0b94344c02c6e0","name":"Settlement::AddMaxSentries","member":"AddMaxSentries","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::AddMaxSentries(int)","summary":{"en":"Settlement::AddMaxSentries adds its signed integer argument directly to the resolved Settlement's dword at [field].","es":"Settlement::AddMaxSentries suma directamente su argumento entero con signo al dword [campo] del Settlement resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-52bfae91307168","name":"Settlement::EvalSentries","member":"EvalSentries","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::EvalSentries()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-5b0cd0e67eca05","name":"ItemHolder::AddItem","member":"AddItem","family":"ItemHolder","returns":"bool","args":["str"],"kind":"method","signature":"bool ItemHolder::AddItem(str)","summary":{"en":"Submits a non-null named candidate to virtual slot [field] and returns candidate existence.","es":"Envía un candidato con nombre no nulo a la operación virtual [campo] y devuelve si existe ese candidato."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b824a0b44f7293","name":"ItemHolder::count","member":"count","family":"ItemHolder","returns":"int","args":[],"kind":"property","signature":"int ItemHolder::count()","summary":{"en":"Returns receiver virtual slot [field] or zero for an invalid holder.","es":"Devuelve la operación virtual [campo] del receptor, o cero para un contenedor no válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d041f9cfc14d7d","name":"ItemHolder::HasItem","member":"HasItem","family":"ItemHolder","returns":"bool","args":["str"],"kind":"method","signature":"bool ItemHolder::HasItem(str)","summary":{"en":"Scans indexed holder entries for exact equality with the supplied string.","es":"Recorre las entradas indexadas del contenedor buscando una igualdad exacta con el texto indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-35eaefc8deeafe","name":"ItemHolder::RemoveItem","member":"RemoveItem","family":"ItemHolder","returns":"void","args":["str"],"kind":"method","signature":"void ItemHolder::RemoveItem(str)","summary":{"en":"Dispatches virtual removal for the first indexed entry whose derived string equals the supplied name.","es":"Solicita la eliminación virtual de la primera entrada indexada cuyo texto derivado coincida con el nombre indicado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f834cc49e187ba","name":"ItemHolder::RemoveAll","member":"RemoveAll","family":"ItemHolder","returns":"void","args":[],"kind":"method","signature":"void ItemHolder::RemoveAll()","summary":{"en":"Repeatedly invokes virtual removal at index zero until the count becomes zero.","es":"Invoca repetidamente la eliminación virtual en el índice cero hasta que el recuento llega a cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-09a31710d478b8","name":"Settlement::CreateMuleFood","member":"CreateMuleFood","family":"Settlement","returns":"Wagon","args":["int"],"kind":"method","signature":"Wagon Settlement::CreateMuleFood(int)","summary":{"en":"Delegates wagon creation with food mode one and returns a Wagon handle or sentinel.","es":"Solicita la creación de una unidad Wagon con el modo de comida uno y devuelve una referencia Wagon o un valor centinela."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-35a6900e67eb05","name":"Settlement::CreateMuleGold","member":"CreateMuleGold","family":"Settlement","returns":"Wagon","args":["int"],"kind":"method","signature":"Wagon Settlement::CreateMuleGold(int)","summary":{"en":"Resolves a Settlement and delegates the amount to helper [field], returning a Wagon handle or sentinel.","es":"Resuelve un Settlement y pasa la cantidad a la operación auxiliar [campo], devolviendo una referencia Wagon o un valor centinela."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-633e1897b4f5ee","name":"Settlement::CreateBoatFood","member":"CreateBoatFood","family":"Settlement","returns":"Wagon","args":["int"],"kind":"method","signature":"Wagon Settlement::CreateBoatFood(int)","summary":{"en":"Calls the linked building spawn helper with the script amount and mode values one, one, then returns a Wagon handle or null.","es":"Invoca la operación de creación del edificio asociado con la cantidad indicada por el script y los modos uno y uno; devuelve una referencia Wagon o una referencia nula."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3959de647d0374","name":"Settlement::CreateBoatGold","member":"CreateBoatGold","family":"Settlement","returns":"Wagon","args":["int"],"kind":"method","signature":"Wagon Settlement::CreateBoatGold(int)","summary":{"en":"Calls the linked building spawn helper with the script amount and mode values zero, one, then returns a Wagon handle or null.","es":"Invoca la operación de creación del edificio asociado con la cantidad indicada por el script y los modos cero y uno; devuelve una referencia Wagon o una referencia nula."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d31ff2c23fe239","name":"Settlement::CreateShip","member":"CreateShip","family":"Settlement","returns":"Ship","args":["str"],"kind":"method","signature":"Ship Settlement::CreateShip(str)","summary":{"en":"CreateShip constructs a class-named object, applies owner and placement calls, attempts forced holder entry, and restores temporary global state on its normal valid-receiver path.","es":"CreateShip construye un objeto de la clase indicada por nombre, aplica las operaciones de propiedad y colocación, intenta forzar su entrada en un contenedor y restaura el estado global temporal en la ruta normal con receptor válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-44856313998d99","name":"Settlement::SendMule","member":"SendMule","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::SendMule()","summary":{"en":"SendMule and SendBoat call the same helper with mode zero or one when their linked target passes a relation-bit gate, otherwise clearing that target id.","es":"SendMule y SendBoat invocan la misma operación con el modo cero o uno cuando el destino asociado supera una comprobación de bit de relación; en otro caso limpian el identificador del destino."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b60105e307423b","name":"Settlement::SendBoat","member":"SendBoat","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::SendBoat()","summary":{"en":"SendMule and SendBoat call the same helper with mode zero or one when their linked target passes a relation-bit gate, otherwise clearing that target id.","es":"SendMule y SendBoat invocan la misma operación con el modo cero o uno cuando el destino asociado supera una comprobación de bit de relación; en otro caso limpian el identificador del destino."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9bb78471822cce","name":"Settlement::StartSupplyFood","member":"StartSupplyFood","family":"Settlement","returns":"void","args":["Settlement"],"kind":"method","signature":"void Settlement::StartSupplyFood(Settlement)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-b128999a076d09","name":"Settlement::StopSupply","member":"StopSupply","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::StopSupply()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-e0ffb44623b152","name":"Settlement::UnloadWagon","member":"UnloadWagon","family":"Settlement","returns":"void","args":["Wagon"],"kind":"method","signature":"void Settlement::UnloadWagon(Wagon)","summary":{"en":"UnloadWagon adds the wagon quantity to the linked settlement resource dword and clamps the wrapping sum by a signed comparison to its capacity.","es":"UnloadWagon añade la cantidad de Wagon al recurso de 32 bits del asentamiento asociado y limita la suma con desbordamiento mediante una comparación con signo respecto a su capacidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-24702293ee477d","name":"Settlement::supplied","member":"supplied","family":"Settlement","returns":"Settlement","args":[],"kind":"property","signature":"Settlement Settlement::supplied()","summary":{"en":"Follows a fixed chain of settlement registry references and returns the final settlement handle.","es":"Sigue una cadena fija de referencias de registro de asentamientos y devuelve la referencia del asentamiento final."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d0c5bc4c7bff33","name":"=","member":"=","family":"Global","returns":"void","args":["ObjList&","ObjList"],"kind":"operator","signature":"void =(ObjList&, ObjList)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-78889f87c30c6d","name":"ObjList::count","member":"count","family":"ObjList","returns":"int","args":[],"kind":"property","signature":"int ObjList::count()","summary":{"en":"ObjList::count returns the 32-bit member count at resolved ObjList object offset [field].","es":"ObjList::count devuelve el recuento de miembros de 32 bits almacenado en [campo] del objeto ObjList resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-244719e3a062a0","name":"[","member":"[","family":"Global","returns":"Obj","args":["ObjList","int"],"kind":"operator","signature":"Obj [(ObjList, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-ac36d99775aa01","name":"ObjList::Contains","member":"Contains","family":"ObjList","returns":"bool","args":["Obj"],"kind":"method","signature":"bool ObjList::Contains(Obj)","summary":{"en":"Tests whether a list contains the low-16-bit slot of an Obj handle.","es":"Comprueba si una lista contiene la posición de los 16 bits inferiores de una referencia Obj."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-704fddd72f2099","name":"ObjList::Add","member":"Add","family":"ObjList","returns":"void","args":["Obj"],"kind":"method","signature":"void ObjList::Add(Obj)","summary":{"en":"Appends an Obj's slot to the list if no matching slot is already present.","es":"Añade a la lista la posición de registro de un Obj si no hay ya una coincidencia."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8190b3d4c1b6fd","name":"ObjList::Remove","member":"Remove","family":"ObjList","returns":"void","args":["Obj"],"kind":"method","signature":"void ObjList::Remove(Obj)","summary":{"en":"Removes the first matching Obj slot from a list.","es":"Elimina de una lista la primera posición Obj coincidente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-24272e2e82866f","name":"ObjList::ClearDead","member":"ClearDead","family":"ObjList","returns":"void","args":[],"kind":"method","signature":"void ObjList::ClearDead()","summary":{"en":"Removes list members lacking a registry object or reporting nonzero at virtual slot [field].","es":"Quita de la lista los miembros sin objeto en el registro o cuyo resultado de la operación virtual [campo] es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-00dbcbca1e67b0","name":"ObjList::AddList","member":"AddList","family":"ObjList","returns":"void","args":["ObjList"],"kind":"method","signature":"void ObjList::AddList(ObjList)","summary":{"en":"Iterates a source object list and appends objects not already present in the destination list.","es":"Recorre una lista de objetos de origen y añade los objetos que aún no estén en la lista de destino."},"notes":{},"examples":{},"technical":{}},{"id":"api-5c5ad7a94e42de","name":"ObjList::RemoveList","member":"RemoveList","family":"ObjList","returns":"void","args":["ObjList"],"kind":"method","signature":"void ObjList::RemoveList(ObjList)","summary":{"en":"Removes receiver members matching handles encountered in a second list.","es":"Elimina del receptor los miembros cuyas referencias coinciden con las encontradas en una segunda lista."},"notes":{},"examples":{},"technical":{}},{"id":"api-55ebde488717a4","name":"ObjList::Clear","member":"Clear","family":"ObjList","returns":"void","args":[],"kind":"method","signature":"void ObjList::Clear()","summary":{"en":"Empties an ObjList's chunked member container.","es":"Vacía el contenedor de miembros organizado por bloques de una ObjList."},"notes":{},"examples":{},"technical":{}},{"id":"api-b2f36b02e869c0","name":"ObjList::AddToGroup","member":"AddToGroup","family":"ObjList","returns":"void","args":["str"],"kind":"method","signature":"void ObjList::AddToGroup(str)","summary":{"en":"The handler looks up the named group, creates a group object on the nonzero lookup branch, then traverses the receiver list.","es":"El gestor busca el grupo por nombre, crea un objeto de grupo en la rama de resultado de búsqueda distinto de cero y después recorre la lista receptora."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-00139213d59935","name":"ObjList::RemoveFromGroup","member":"RemoveFromGroup","family":"ObjList","returns":"void","args":["str"],"kind":"method","signature":"void ObjList::RemoveFromGroup(str)","summary":{"en":"The handler looks up the supplied group name.","es":"El gestor busca el nombre de grupo indicado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-394247e498d902","name":"ObjList::RemoveFromAllGroups","member":"RemoveFromAllGroups","family":"ObjList","returns":"void","args":[],"kind":"method","signature":"void ObjList::RemoveFromAllGroups()","summary":{"en":"Traverses groups and input list members, conditionally erasing matching members from each group.","es":"Recorre los grupos y los miembros de la lista de entrada, eliminando condicionalmente los miembros coincidentes de cada grupo."},"notes":{},"examples":{},"technical":{}},{"id":"api-717477dad618ea","name":"ObjList::KillCommand","member":"KillCommand","family":"ObjList","returns":"void","args":[],"kind":"method","signature":"void ObjList::KillCommand()","summary":{"en":"For each resolved member whose virtual [field] predicate returns zero, invokes [field] with zero to update command state.","es":"Para cada miembro resuelto cuyo predicado virtual [campo] devuelve cero, invoca [campo] con cero para actualizar el estado de las órdenes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6562a21968850a","name":"ObjList::ClearCommands","member":"ClearCommands","family":"ObjList","returns":"void","args":[],"kind":"method","signature":"void ObjList::ClearCommands()","summary":{"en":"Iterates an ObjList and clears commands on members accepted by a virtual eligibility predicate.","es":"Recorre una ObjList y limpia las órdenes de los miembros aceptados por una condición virtual de elegibilidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dd8331260ac9d5","name":"ObjList::AddCommand","member":"AddCommand","family":"ObjList","returns":"void","args":["bool","str"],"kind":"method","signature":"void ObjList::AddCommand(bool, str)","summary":{"en":"Creates and enqueues a named command for every eligible object-list member.","es":"Crea y pone en cola una orden con nombre para cada miembro elegible de la lista de objetos."},"notes":{},"examples":{},"technical":{}},{"id":"api-27cc1970c7c5f0","name":"ObjList::AddCommand","member":"AddCommand","family":"ObjList","returns":"void","args":["bool","str","point"],"kind":"method","signature":"void ObjList::AddCommand(bool, str, point)","summary":{"en":"For each resolved eligible member, creates a named point command with selector 1 and submits it through virtual [field] using the supplied Boolean.","es":"Para cada miembro resuelto apto, crea una orden con nombre dirigida a un punto y selector 1, y la envía mediante la operación virtual [campo] usando el booleano indicado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-08ebe0ec577aaa","name":"ObjList::AddCommand","member":"AddCommand","family":"ObjList","returns":"void","args":["bool","str","Obj"],"kind":"method","signature":"void ObjList::AddCommand(bool, str, Obj)","summary":{"en":"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.","es":"Tras validar la referencia Obj indicada, crea una orden con nombre dirigida a un objeto, con selector 2, para cada miembro apto y la envía mediante la operación virtual [campo] usando el valor booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0e0194807f6c01","name":"ObjList::AddCommandOffset","member":"AddCommandOffset","family":"ObjList","returns":"void","args":["bool","str","point"],"kind":"method","signature":"void ObjList::AddCommandOffset(bool, str, point)","summary":{"en":"Creates point-targeted commands for object-list members while preserving their offsets from the list center.","es":"Crea órdenes dirigidas a un punto para los miembros de una lista de objetos, conservando sus desplazamientos respecto al centro de la lista."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-879892a61fa504","name":"ObjList::ExecDefaultCmd","member":"ExecDefaultCmd","family":"ObjList","returns":"void","args":["point","Obj","bool","bool"],"kind":"method","signature":"void ObjList::ExecDefaultCmd(point, Obj, bool, bool)","summary":{"en":"Resolves the optional Obj handle to its object identifier at +8 and delegates the list, point, identifier, two Booleans and -1 to [field].","es":"Resuelve la referencia Obj opcional para obtener su identificador de objeto de +8 y pasa la lista, el punto, el identificador, dos booleanos y -1 a [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3655f255ae5320","name":"ObjList::ExecCmd","member":"ExecCmd","family":"ObjList","returns":"void","args":["str","point","Obj","bool"],"kind":"method","signature":"void ObjList::ExecCmd(str, point, Obj, bool)","summary":{"en":"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.","es":"Busca el texto de orden indicado mediante la operación virtual [campo] del registro de órdenes; si tiene éxito pasa la orden resuelta y los argumentos restantes a [campo]. Si falla informa de que la orden no es válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-be62359e472182","name":"ObjList::SetCommand","member":"SetCommand","family":"ObjList","returns":"void","args":["str"],"kind":"method","signature":"void ObjList::SetCommand(str)","summary":{"en":"For each resolved eligible member, calls virtual [field] with zero, creates the named command with selector 0, submits it through virtual [field] with false, and updates command state.","es":"Para cada miembro resuelto apto, llama a la operación virtual [campo] con cero, crea la orden con nombre y selector 0, la envía mediante la operación virtual [campo] con false y actualiza el estado de las órdenes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-588c24e3c4638d","name":"ObjList::SetCommand","member":"SetCommand","family":"ObjList","returns":"void","args":["str","point"],"kind":"method","signature":"void ObjList::SetCommand(str, point)","summary":{"en":"For each resolved eligible member, calls virtual [field] with zero, creates a named point command with selector 1, submits it through virtual [field] with false, and updates command state.","es":"Para cada miembro resuelto apto, llama a la operación virtual [campo] con cero, crea una orden con nombre dirigida a un punto y selector 1, la envía mediante la operación virtual [campo] con false y actualiza el estado de las órdenes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4d26dcef43dbda","name":"ObjList::SetCommand","member":"SetCommand","family":"ObjList","returns":"void","args":["str","Obj"],"kind":"method","signature":"void ObjList::SetCommand(str, Obj)","summary":{"en":"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.","es":"Tras validar el receptor y el Obj de destino, llama a la operación virtual [campo] con cero en cada miembro apto, crea una orden dirigida a un objeto con selector 2, la envía mediante la operación virtual [campo] con false y actualiza el estado de las órdenes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-699723ecddb264","name":"ObjList::SetCommandOffset","member":"SetCommandOffset","family":"ObjList","returns":"void","args":["str","point"],"kind":"method","signature":"void ObjList::SetCommandOffset(str, point)","summary":{"en":"Computes the list center, offsets each eligible member position from that center, clamps the translated target to map bounds, then creates and submits a selector-1 point command after virtual [field].","es":"Calcula el centro de la lista y la posición relativa de cada miembro apto respecto a ese centro, limita el destino trasladado a los bordes del mapa y después crea y envía una orden de punto con selector 1 tras la operación virtual [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2fa585a4e59d20","name":"ObjList::GetCanExecCmd","member":"GetCanExecCmd","family":"ObjList","returns":"ObjList","args":["str"],"kind":"method","signature":"ObjList ObjList::GetCanExecCmd(str)","summary":{"en":"Allocates a new ObjList, resolves the command through the command-order registry virtual [field], and copies slots of valid source members whose virtual [field] predicate accepts that command.","es":"Reserva una ObjList nueva, resuelve la orden mediante la operación virtual [campo] del registro de órdenes y copia las entradas de los miembros válidos de origen cuyo predicado virtual [campo] acepta esa orden."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6a0bcdd255670d","name":"ObjList::FilterClosest","member":"FilterClosest","family":"ObjList","returns":"ObjList","args":["point","int"],"kind":"method","signature":"ObjList ObjList::FilterClosest(point, int)","summary":{"en":"Creates an ObjList through a bounded distance-selection helper using a point and count.","es":"Crea una ObjList mediante una selección por distancia acotada que usa un punto y una cantidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8723c3b25eed56","name":"ObjList::Face","member":"Face","family":"ObjList","returns":"void","args":["point"],"kind":"method","signature":"void ObjList::Face(point)","summary":{"en":"After popping the point and receiver list, the handler traverses member slots.","es":"Tras extraer de la pila el punto y la lista receptora, el gestor recorre las entradas de sus miembros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c33938dde64d98","name":"ObjList::SetFood","member":"SetFood","family":"ObjList","returns":"void","args":["int"],"kind":"method","signature":"void ObjList::SetFood(int)","summary":{"en":"The handler rejects a negative input.","es":"El gestor rechaza una entrada negativa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-882dc82fc25fde","name":"ObjList::SetPlayer","member":"SetPlayer","family":"ObjList","returns":"void","args":["int"],"kind":"method","signature":"void ObjList::SetPlayer(int)","summary":{"en":"The handler accepts input player numbers 1 through 16.","es":"El gestor acepta números de jugador de 1 a 16."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5205905d8f87f9","name":"ObjList::InHolder","member":"InHolder","family":"ObjList","returns":"int","args":["str"],"kind":"method","signature":"int ObjList::InHolder(str)","summary":{"en":"Finds the settlement whose stored name matches the supplied string, then counts list members convertible to Unit whose stored holder identifier matches that settlement.","es":"Busca el asentamiento cuyo nombre almacenado coincide con el texto indicado y cuenta los miembros de la lista convertibles a Unit cuyo identificador de contenedor coincide con ese asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e20df27463a1f9","name":"ObjList::AddToHolder","member":"AddToHolder","family":"ObjList","returns":"void","args":["str"],"kind":"method","signature":"void ObjList::AddToHolder(str)","summary":{"en":"Moves compatible units from the list into the named settlement.","es":"Mueve las unidades compatibles de la lista al asentamiento indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-34830b6a940489","name":"ObjList::SetVisible","member":"SetVisible","family":"ObjList","returns":"void","args":["bool"],"kind":"method","signature":"void ObjList::SetVisible(bool)","summary":{"en":"Applies a visibility boolean to an object list and to eligible nested visibility controllers of its members.","es":"Aplica un booleano de visibilidad a una lista de objetos y a los controladores de visibilidad anidados elegibles de sus miembros."},"notes":{},"examples":{},"technical":{}},{"id":"api-93ab92c7a55298","name":"ObjList::ObjPlayer","member":"ObjPlayer","family":"ObjList","returns":"ObjList","args":["int"],"kind":"method","signature":"ObjList ObjList::ObjPlayer(int)","summary":{"en":"Builds a new ObjList containing source members owned by the requested script player.","es":"Construye una nueva ObjList con los miembros de origen que pertenecen al jugador de scripts indicado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2970abb32cee0a","name":"ObjList::ObjEnemy","member":"ObjEnemy","family":"ObjList","returns":"ObjList","args":["int"],"kind":"method","signature":"ObjList ObjList::ObjEnemy(int)","summary":{"en":"Filters an ObjList using the zero state of a player relation bit.","es":"Filtra una ObjList según si está a cero un bit de relación del jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-927aea0132e0c7","name":"ObjList::ObjAlly","member":"ObjAlly","family":"ObjList","returns":"ObjList","args":["int"],"kind":"method","signature":"ObjList ObjList::ObjAlly(int)","summary":{"en":"Filters an ObjList using the set state of a player relation bit.","es":"Filtra una ObjList según si está activo un bit de relación del jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-eeb3c8ee3b8b39","name":"ObjList::ObjClass","member":"ObjClass","family":"ObjList","returns":"ObjList","args":["str"],"kind":"method","signature":"ObjList ObjList::ObjClass(str)","summary":{"en":"Filters an ObjList by class-template ancestry.","es":"Filtra una ObjList por la ascendencia de la plantilla de clase."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3166b3c9240813","name":"ObjList::ObjSpecial","member":"ObjSpecial","family":"ObjList","returns":"void","args":["int"],"kind":"method","signature":"void ObjList::ObjSpecial(int)","summary":{"en":"Selects ObjList member slots by a numbered special-bit test and constructs an ObjList value.","es":"Selecciona posiciones de miembros de ObjList mediante una comprobación de un bit especial numerado y construye un valor ObjList."},"notes":{},"examples":{},"technical":{}},{"id":"api-35769df910f1ac","name":"ObjList::ObjInjured","member":"ObjInjured","family":"ObjList","returns":"ObjList","args":[],"kind":"method","signature":"ObjList ObjList::ObjInjured()","summary":{"en":"Filters an ObjList by a strict object-field comparison.","es":"Filtra una ObjList mediante una comparación estricta de un campo del objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6cae2540f85bae","name":"ObjList::ObjFullStamina","member":"ObjFullStamina","family":"ObjList","returns":"ObjList","args":[],"kind":"method","signature":"ObjList ObjList::ObjFullStamina()","summary":{"en":"Filters an ObjList by a non-strict object-field comparison.","es":"Filtra una ObjList mediante una comparación no estricta de un campo del objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-423490f8f1fcd2","name":"ObjList::Find","member":"Find","family":"ObjList","returns":"Obj","args":["str"],"kind":"method","signature":"Obj ObjList::Find(str)","summary":{"en":"Returns the first live ObjList member matching a resolved class-template ancestry test.","es":"Devuelve el primer miembro vivo de ObjList que cumple la comprobación de ascendencia de la plantilla de clase resuelta."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7e29b6403a6ffe","name":"ObjList::FindAlly","member":"FindAlly","family":"ObjList","returns":"Obj","args":["int","str"],"kind":"method","signature":"Obj ObjList::FindAlly(int, str)","summary":{"en":"Returns the first live class-matching ObjList member with the selected relation bit set.","es":"Devuelve el primer miembro vivo de ObjList que coincide con la clase y tiene activado el bit de relación seleccionado."},"notes":{},"examples":{},"technical":{}},{"id":"api-24e43378efd1c7","name":"ObjList::FindEnemy","member":"FindEnemy","family":"ObjList","returns":"Obj","args":["int","str"],"kind":"method","signature":"Obj ObjList::FindEnemy(int, str)","summary":{"en":"Returns the first live class-matching ObjList member with the selected relation bit clear.","es":"Devuelve el primer miembro vivo de ObjList que coincide con la clase y tiene desactivado el bit de relación seleccionado."},"notes":{},"examples":{},"technical":{}},{"id":"api-18622f1c12cb62","name":"Conversation::Init","member":"Init","family":"Conversation","returns":"void","args":["str"],"kind":"method","signature":"void Conversation::Init(str)","summary":{"en":"CKS Conversation Init adapter that replaces a referenced window and delegates named initialization.","es":"Adaptador de Init de Conversation en CKS que sustituye una ventana pasada por referencia y delega la inicialización por nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-df6a0a6cbca8c4","name":"Conversation::SetActor","member":"SetActor","family":"Conversation","returns":"void","args":["str","Unit"],"kind":"method","signature":"void Conversation::SetActor(str, Unit)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-0de186f837ca3e","name":"Conversation::SetDefActor","member":"SetDefActor","family":"Conversation","returns":"void","args":["str","str"],"kind":"method","signature":"void Conversation::SetDefActor(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-a7d17b79f2cb3b","name":"ActorPresent","member":"ActorPresent","family":"Global","returns":"bool","args":["str"],"kind":"function","signature":"bool ActorPresent(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-784d66faefef63","name":"ConvResult","member":"ConvResult","family":"Global","returns":"str","args":["str"],"kind":"function","signature":"str ConvResult(str)","summary":{"en":"Adapts a CKS string through the engine conversion helpers and returns a managed result string.","es":"Adapta un texto CKS mediante las operaciones de conversión del motor y devuelve un texto de resultado gestionado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6511aeea5359ad","name":"ConvSetResult","member":"ConvSetResult","family":"Global","returns":"void","args":["str","str"],"kind":"function","signature":"void ConvSetResult(str, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-c412a9c6dcf8f1","name":"Conversation::Run","member":"Run","family":"Conversation","returns":"void","args":[],"kind":"method","signature":"void Conversation::Run()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-2faabaddeaff31","name":"RunConv","member":"RunConv","family":"Global","returns":"str","args":["str"],"kind":"function","signature":"str RunConv(str)","summary":{"en":"CKS native primitive that starts and presents a conversation directly by name.","es":"Primitiva CKS que inicia y presenta una conversación directamente por su nombre."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1c7cf06f46ffe7","name":"_ListConvs","member":"_ListConvs","family":"Global","returns":"str","args":[],"kind":"function","signature":"str _ListConvs()","summary":{"en":"Concatenates string keys from two native tree containers into a managed result.","es":"Concatena claves de texto de dos contenedores internos de árbol y produce un resultado de texto gestionado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-06925e35e33897","name":"EnvWriteString","member":"EnvWriteString","family":"Global","returns":"void","args":["str","str"],"kind":"function","signature":"void EnvWriteString(str, str)","summary":{"en":"Pops value and key managed strings and delegates their payloads to the environment writer.","es":"Extrae de la pila textos gestionados para el valor y la clave, y pasa sus contenidos al escritor del entorno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1fb5ba61e3cf43","name":"EnvWriteInt","member":"EnvWriteInt","family":"Global","returns":"void","args":["str","int"],"kind":"function","signature":"void EnvWriteInt(str, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-da2c2759eaaed6","name":"EnvReadString","member":"EnvReadString","family":"Global","returns":"str","args":["str"],"kind":"function","signature":"str EnvReadString(str)","summary":{"en":"Consumes a managed key string, calls the environment string reader and pushes a managed string result.","es":"Consume una clave de texto gestionado, llama al lector de textos del entorno e introduce en la pila un resultado de texto gestionado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-93f1fab8c16711","name":"EnvReadInt","member":"EnvReadInt","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int EnvReadInt(str)","summary":{"en":"Pops a managed key string and pushes the 32-bit result of the environment integer helper.","es":"Extrae de la pila una clave de texto gestionado e introduce el resultado de 32 bits de la operación auxiliar de entero del entorno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5ec23c8392e43b","name":"EnvWriteObj","member":"EnvWriteObj","family":"Global","returns":"void","args":["str","Obj"],"kind":"function","signature":"void EnvWriteObj(str, Obj)","summary":{"en":"Encodes a resolved object identifier as decimal marker text and delegates it with the key.","es":"Codifica el identificador del objeto obtenido como texto de marca decimal y lo pasa junto con la clave."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cbc338087e049a","name":"EnvReadObj","member":"EnvReadObj","family":"Global","returns":"Obj","args":["str"],"kind":"function","signature":"Obj EnvReadObj(str)","summary":{"en":"Delegates key lookup and writes an eight-byte result with initialized low16 identifier and zero offset.","es":"Delega la búsqueda de la clave y escribe un resultado de ocho bytes con un identificador inicializado en los 16 bits bajos y un desplazamiento cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-85691c6d928444","name":"EnvWriteString","member":"EnvWriteString","family":"Global","returns":"void","args":["Settlement","str","str"],"kind":"function","signature":"void EnvWriteString(Settlement, str, str)","summary":{"en":"CKS native primitive that writes a string value under a key into a settlement's Env key-value store.","es":"Primitiva CKS que escribe un valor de texto asociado a una clave en el almacén de claves y valores Env de un asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-449a962e0d2253","name":"EnvWriteInt","member":"EnvWriteInt","family":"Global","returns":"void","args":["Settlement","str","int"],"kind":"function","signature":"void EnvWriteInt(Settlement, str, int)","summary":{"en":"Formats a settlement-scoped environment path and writes a decimal integer value.","es":"Da formato a una ruta del entorno específica del asentamiento y escribe un entero decimal."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-71cc7f4b25ee9c","name":"EnvReadString","member":"EnvReadString","family":"Global","returns":"str","args":["Settlement","str"],"kind":"function","signature":"str EnvReadString(Settlement, str)","summary":{"en":"Builds a settlement-scoped environment path and returns the string obtained from the environment lookup helper.","es":"Construye una ruta del entorno específica del asentamiento y devuelve el texto obtenido mediante la operación de consulta del entorno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6110deaabf3ae6","name":"EnvReadInt","member":"EnvReadInt","family":"Global","returns":"int","args":["Settlement","str"],"kind":"function","signature":"int EnvReadInt(Settlement, str)","summary":{"en":"EnvReadInt builds a settlement property path and reads its integer value.","es":"EnvReadInt construye una ruta de propiedad del asentamiento y lee su valor entero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-92c8b21d28149d","name":"EnvWriteObj","member":"EnvWriteObj","family":"Global","returns":"void","args":["Settlement","str","Obj"],"kind":"function","signature":"void EnvWriteObj(Settlement, str, Obj)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-ec5135d218226c","name":"EnvReadObj","member":"EnvReadObj","family":"Global","returns":"Obj","args":["Settlement","str"],"kind":"function","signature":"Obj EnvReadObj(Settlement, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-875e1e5c3fa301","name":"EnvWriteString","member":"EnvWriteString","family":"Global","returns":"void","args":["Building","str","str"],"kind":"function","signature":"void EnvWriteString(Building, str, str)","summary":{"en":"Formats a building-scoped environment path and delegates the value string to the environment writer.","es":"Da formato a una ruta del entorno específica del edificio y pasa el texto del valor a la operación de escritura del entorno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ebf9b8a3c09260","name":"EnvWriteInt","member":"EnvWriteInt","family":"Global","returns":"void","args":["Building","str","int"],"kind":"function","signature":"void EnvWriteInt(Building, str, int)","summary":{"en":"Formats a building-scoped environment path and delegates an integer value as decimal text to the environment writer.","es":"Da formato a una ruta del entorno específica del edificio y pasa un entero como texto decimal a la operación de escritura del entorno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8b6d9c3c75a882","name":"EnvReadString","member":"EnvReadString","family":"Global","returns":"str","args":["Building","str"],"kind":"function","signature":"str EnvReadString(Building, str)","summary":{"en":"Formats a building-scoped environment path and returns a managed string from its reader helper.","es":"Da formato a una ruta del entorno específica del edificio y devuelve un texto gestionado obtenido por su operación de lectura."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f1a54d40ec00e5","name":"EnvReadInt","member":"EnvReadInt","family":"Global","returns":"int","args":["Building","str"],"kind":"function","signature":"int EnvReadInt(Building, str)","summary":{"en":"Formats a building-scoped environment path and returns the integer produced by its reader helper.","es":"Da formato a una ruta del entorno específica del edificio y devuelve el entero obtenido por su operación de lectura."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-60ed7e72a917b1","name":"EnvWriteObj","member":"EnvWriteObj","family":"Global","returns":"void","args":["Building","str","Obj"],"kind":"function","signature":"void EnvWriteObj(Building, str, Obj)","summary":{"en":"Formats a building-scoped key and encodes an object identifier for the environment writer.","es":"Da formato a una clave específica del edificio y codifica un identificador de objeto para la operación de escritura del entorno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ffc84fb1811583","name":"EnvReadObj","member":"EnvReadObj","family":"Global","returns":"Obj","args":["Building","str"],"kind":"function","signature":"Obj EnvReadObj(Building, str)","summary":{"en":"Formats a building-scoped key and writes an Obj result with initialized low16 identifier and zero offset.","es":"Da formato a una clave asociada a un edificio y escribe un resultado Obj con un identificador inicializado en los 16 bits bajos y desplazamiento cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-df426a07065c67","name":"EnvWriteString","member":"EnvWriteString","family":"Global","returns":"void","args":["int","str","str"],"kind":"function","signature":"void EnvWriteString(int, str, str)","summary":{"en":"Writes a string under a key in the specified player's environment. Arguments are, in order, the player number, the key, and the string to write.","es":"Escribe un texto bajo una clave en el entorno del jugador indicado. Los argumentos son, en orden, el número de jugador, la clave y el texto que se quiere escribir."},"notes":{"en":"This overload scopes the key to the specified player. Scripts use it, for example, to record research states. Retention of this data across games and complete player-number validation are not documented.","es":"Esta variante asocia la clave al jugador indicado. Los scripts la utilizan, por ejemplo, para registrar estados de investigación. La conservación de esos datos entre partidas y la validación completa del número de jugador no están documentadas."},"examples":{},"technical":{"en":true}},{"id":"api-182f37e8ac8a4c","name":"EnvWriteInt","member":"EnvWriteInt","family":"Global","returns":"void","args":["int","str","int"],"kind":"function","signature":"void EnvWriteInt(int, str, int)","summary":{"en":"Formats a player-scoped environment path and writes a decimal integer value.","es":"Da formato a una ruta del entorno específica del jugador y escribe un entero decimal."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c70e5120165fe3","name":"EnvReadString","member":"EnvReadString","family":"Global","returns":"str","args":["int","str"],"kind":"function","signature":"str EnvReadString(int, str)","summary":{"en":"Builds a player-scoped environment path and returns the string obtained from the environment lookup helper.","es":"Construye una ruta del entorno específica del jugador y devuelve el texto obtenido mediante la operación de consulta del entorno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-579065c27b2094","name":"EnvReadInt","member":"EnvReadInt","family":"Global","returns":"int","args":["int","str"],"kind":"function","signature":"int EnvReadInt(int, str)","summary":{"en":"Formats a player-scoped environment path and returns the integer reader result.","es":"Da formato a una ruta del entorno específica del jugador y devuelve el resultado de la lectura entera."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3283f44b0c00e0","name":"EnvWriteObj","member":"EnvWriteObj","family":"Global","returns":"void","args":["int","str","Obj"],"kind":"function","signature":"void EnvWriteObj(int, str, Obj)","summary":{"en":"Formats a player-scoped key and encodes an object identifier for the environment writer.","es":"Da formato a una clave específica del jugador y codifica un identificador de objeto para la operación de escritura del entorno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7adaf48e9f5382","name":"EnvReadObj","member":"EnvReadObj","family":"Global","returns":"Obj","args":["int","str"],"kind":"function","signature":"Obj EnvReadObj(int, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-cbe7fba0e9c7b9","name":"EnvList","member":"EnvList","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void EnvList(str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-422722f598c9c1","name":"EnvList","member":"EnvList","family":"Global","returns":"void","args":["Settlement","str"],"kind":"function","signature":"void EnvList(Settlement, str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-dfba7d86b39eb8","name":"EnvFind","member":"EnvFind","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void EnvFind(str)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-af6794af74e236","name":"EnvExport","member":"EnvExport","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void EnvExport(str)","summary":{"en":"Consumes a filename and dispatches the serializer-produced buffer to a VFS stream.","es":"Consume un nombre de archivo y envía a un flujo VFS el búfer producido por el serializador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d49ad4e8e05031","name":"_ClearEnv","member":"_ClearEnv","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _ClearEnv()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-eeea6bbff95af9","name":"RegisterSettlementUpgrade","member":"RegisterSettlementUpgrade","family":"Global","returns":"void","args":["Settlement","str"],"kind":"function","signature":"void RegisterSettlementUpgrade(Settlement, str)","summary":{"en":"Parses command-definition triples and dispatches settlement property writes.","es":"Analiza ternas de definición de órdenes y solicita escrituras de propiedades del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3a43720d8af900","name":"RegisterPlayerUpgrade","member":"RegisterPlayerUpgrade","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void RegisterPlayerUpgrade(int, str)","summary":{"en":"Gates on research command type and dispatches player property writes from command triples.","es":"Comprueba el tipo de orden de investigación y solicita escrituras de propiedades del jugador a partir de ternas de órdenes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-55f6b5e03ee6c8","name":"RunSequence","member":"RunSequence","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void RunSequence(str)","summary":{"en":"Validates a named sequence and starts the matching sequence when validation succeeds.","es":"Valida una secuencia por nombre e inicia la secuencia coincidente si la validación se supera."},"notes":{},"examples":{},"technical":{}},{"id":"api-deadcde3e683a6","name":"_SequencesStatus","member":"_SequencesStatus","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _SequencesStatus()","summary":{"en":"Prints a status line for every registered script sequence.","es":"Muestra una línea de estado para cada secuencia de scripts registrada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-aded3e538bcc29","name":"IsRunning","member":"IsRunning","family":"Global","returns":"bool","args":["str"],"kind":"function","signature":"bool IsRunning(str)","summary":{"en":"IsRunning tests exact provider text Running.","es":"IsRunning comprueba que el texto del proveedor sea exactamente Running."},"notes":{},"examples":{},"technical":{}},{"id":"api-e2fef6f142bddc","name":"IsWaiting","member":"IsWaiting","family":"Global","returns":"bool","args":["str"],"kind":"function","signature":"bool IsWaiting(str)","summary":{"en":"IsWaiting tests exact provider text Waiting.","es":"IsWaiting comprueba que el texto del proveedor sea exactamente Waiting."},"notes":{},"examples":{},"technical":{}},{"id":"api-459fffc8e43835","name":"IsFinished","member":"IsFinished","family":"Global","returns":"bool","args":["str"],"kind":"function","signature":"bool IsFinished(str)","summary":{"en":"IsFinished tests exact provider text Finished.","es":"IsFinished comprueba que el texto del proveedor sea exactamente Finished."},"notes":{},"examples":{},"technical":{}},{"id":"api-e9e5f89c290df1","name":"ViewPos","member":"ViewPos","family":"Global","returns":"point","args":[],"kind":"function","signature":"point ViewPos()","summary":{"en":"Converts the native viewport midpoint to a world point and pushes it on the CKS VM stack.","es":"Convierte el punto medio de la vista interna en un punto del mundo y lo introduce en la pila de la máquina virtual CKS."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d914c9c7d0d145","name":"View","member":"View","family":"Global","returns":"void","args":["point","bool"],"kind":"function","signature":"void View(point, bool)","summary":{"en":"Pops a world point and lock boolean from the CKS VM stack and forwards them to the native camera-centering helper.","es":"Extrae de la pila CKS un punto del mundo y un booleano de bloqueo, y los pasa a la operación interna que centra la cámara."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2cb09f0445f49f","name":"PlayMusic","member":"PlayMusic","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void PlayMusic(str)","summary":{"en":"PlayMusic dispatches a guarded named sound request.","es":"PlayMusic envía una solicitud de sonido por nombre protegida por comprobaciones."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d96b60f6638464","name":"PlaySound","member":"PlaySound","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void PlaySound(str)","summary":{"en":"plays a global 2D non-spatial sound effect via the sound manager.","es":"Reproduce un efecto de sonido global 2D, sin posición espacial, mediante el gestor de sonido."},"notes":{},"examples":{},"technical":{}},{"id":"api-9450db27337973","name":"PlaySound","member":"PlaySound","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void PlaySound(int, str)","summary":{"en":"PlaySound player overload gates its request on the local player index.","es":"La variante de PlaySound que recibe un jugador condiciona su solicitud al índice del jugador local."},"notes":{},"examples":{},"technical":{}},{"id":"api-7b768afb043319","name":"MusicPlaying","member":"MusicPlaying","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool MusicPlaying()","summary":{"en":"MusicPlaying tests the low16 result of a virtual manager query.","es":"MusicPlaying comprueba los 16 bits bajos del resultado de una consulta virtual al gestor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-89ab9a8e01e52f","name":"SetSpeed","member":"SetSpeed","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void SetSpeed(int)","summary":{"en":"SetSpeed prepares and submits a command when game field230 is zero.","es":"SetSpeed prepara y envía una orden cuando el campo 230 del juego es cero."},"notes":{},"examples":{},"technical":{}},{"id":"api-b669440198cd87","name":"GetSpeed","member":"GetSpeed","family":"Global","returns":"int","args":[],"kind":"function","signature":"int GetSpeed()","summary":{"en":"GetSpeed reads game field1244 with a null fallback.","es":"GetSpeed lee el campo 1244 del juego, con un valor alternativo nulo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3a837de50384cb","name":"TogglePause","member":"TogglePause","family":"Global","returns":"void","args":[],"kind":"function","signature":"void TogglePause()","summary":{"en":"TogglePause alternates submitted values between one and saved speed.","es":"TogglePause alterna los valores enviados entre uno y la velocidad guardada."},"notes":{},"examples":{},"technical":{}},{"id":"api-3b3bcdd31665e8","name":"_Run","member":"_Run","family":"Global","returns":"bool","args":["str"],"kind":"function","signature":"bool _Run(str)","summary":{"en":"_Run returns true only after both compile and map scheduling helpers return zero.","es":"_Run devuelve true únicamente cuando tanto la operación de compilación como la de planificación del mapa devuelven cero."},"notes":{},"examples":{},"technical":{}},{"id":"api-a3beaef4b79590","name":"Run","member":"Run","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void Run(str)","summary":{"en":"Adapts the verified global Run overload with 0 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de Run sin argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e2b7f7dae28e75","name":"Run","member":"Run","family":"Global","returns":"void","args":["str","int"],"kind":"function","signature":"void Run(str, int)","summary":{"en":"Adapts the verified global Run overload with 1 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de Run con un argumento entero a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1f57d2e0559c82","name":"Run","member":"Run","family":"Global","returns":"void","args":["str","int","int"],"kind":"function","signature":"void Run(str, int, int)","summary":{"en":"Adapts the verified global Run overload with 2 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de Run con dos argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ef99773d83d246","name":"Run","member":"Run","family":"Global","returns":"void","args":["str","int","int","int"],"kind":"function","signature":"void Run(str, int, int, int)","summary":{"en":"Adapts the verified global Run overload with 3 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de Run con tres argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fadb507a81655c","name":"Run","member":"Run","family":"Global","returns":"void","args":["str","int","int","int","int"],"kind":"function","signature":"void Run(str, int, int, int, int)","summary":{"en":"Adapts the verified global Run overload with 4 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de Run con cuatro argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9b3149f0e833dd","name":"Run","member":"Run","family":"Global","returns":"void","args":["str","int","int","int","int","int"],"kind":"function","signature":"void Run(str, int, int, int, int, int)","summary":{"en":"Adapts the verified global Run overload with 5 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de Run con cinco argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3a8765881b2b48","name":"Settlement::Run","member":"Run","family":"Settlement","returns":"void","args":["str"],"kind":"method","signature":"void Settlement::Run(str)","summary":{"en":"Compiles the requested script with a Settlement argument declaration and dispatches it after successful compilation.","es":"Compila el script indicado con una declaración de argumento Settlement y lo ejecuta si la compilación se completa correctamente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cd8e910ba77a2c","name":"IRun","member":"IRun","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int IRun(str)","summary":{"en":"Adapts the verified global IRun overload with 0 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de IRun sin argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3e6a639c2e3314","name":"IRun","member":"IRun","family":"Global","returns":"int","args":["str","int"],"kind":"function","signature":"int IRun(str, int)","summary":{"en":"Adapts the verified global IRun overload with 1 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de IRun con un argumento entero a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a211cc53c23151","name":"IRun","member":"IRun","family":"Global","returns":"int","args":["str","int","int"],"kind":"function","signature":"int IRun(str, int, int)","summary":{"en":"Adapts the verified global IRun overload with 2 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de IRun con dos argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-73ca30d53d3f3e","name":"IRun","member":"IRun","family":"Global","returns":"int","args":["str","int","int","int"],"kind":"function","signature":"int IRun(str, int, int, int)","summary":{"en":"Adapts the verified global IRun overload with 3 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de IRun con tres argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9f39ebdb163cf5","name":"IRun","member":"IRun","family":"Global","returns":"int","args":["str","int","int","int","int"],"kind":"function","signature":"int IRun(str, int, int, int, int)","summary":{"en":"Adapts the verified global IRun overload with 4 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de IRun con cuatro argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3c256fc7613343","name":"IRun","member":"IRun","family":"Global","returns":"int","args":["str","int","int","int","int","int"],"kind":"function","signature":"int IRun(str, int, int, int, int, int)","summary":{"en":"Adapts the verified global IRun overload with 5 integer arguments to named script compilation and dispatch.","es":"Adapta la variante global verificada de IRun con cinco argumentos enteros a la compilación y ejecución de un script con nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-579610fb0a1240","name":"ToggleFPS","member":"ToggleFPS","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ToggleFPS()","summary":{"en":"ToggleFPS writes the zero test of global [field].","es":"ToggleFPS escribe el resultado de comprobar si el valor global [campo] es cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cbd114564b4dc2","name":"GetConst","member":"GetConst","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int GetConst(str)","summary":{"en":"Looks up and returns an integer gameplay configuration constant from the global constants table by name string.","es":"Busca por nombre y devuelve una constante entera de configuración del juego de la tabla global de constantes."},"notes":{},"examples":{},"technical":{}},{"id":"api-614ca450185801","name":"GetConstStr","member":"GetConstStr","family":"Global","returns":"str","args":["str"],"kind":"function","signature":"str GetConstStr(str)","summary":{"en":"Looks up a key under GamePlay and returns the resulting string or an empty fallback.","es":"Busca una clave en GamePlay y devuelve el texto resultante o un texto vacío como alternativa."},"notes":{},"examples":{},"technical":{}},{"id":"api-9fb41fb2372660","name":"rand","member":"rand","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int rand(int)","summary":{"en":"rand passes a zero-based bound to the game RNG virtual method.","es":"rand pasa un límite numerado desde cero al método virtual del generador aleatorio del juego."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bec652f76e3061","name":"BlockUserInput","member":"BlockUserInput","family":"Global","returns":"void","args":[],"kind":"function","signature":"void BlockUserInput()","summary":{"en":"Dispatches input-block flags and refreshes then destroys the control-group HUD holder.","es":"Aplica las marcas de bloqueo de entrada, actualiza el contenedor del HUD de grupos de control y después lo destruye."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-90357304ee3c91","name":"UnblockUserInput","member":"UnblockUserInput","family":"Global","returns":"void","args":[],"kind":"function","signature":"void UnblockUserInput()","summary":{"en":"Dispatches input-unblock flags and ensures the control-group HUD exists.","es":"Aplica las marcas de desbloqueo de entrada y garantiza que exista el HUD de grupos de control."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-251f7a32e5256b","name":"ExploreCircle","member":"ExploreCircle","family":"Global","returns":"void","args":["int","point","int"],"kind":"function","signature":"void ExploreCircle(int, point, int)","summary":{"en":"Validates a player index and delegates a center and radius to a map exploration helper.","es":"Valida un índice de jugador y pasa un centro y un radio a una operación de exploración del mapa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e0d209b23bf3db","name":"ExploreArea","member":"ExploreArea","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void ExploreArea(int, str)","summary":{"en":"Gates a named-area reveal call by a signed player index.","es":"Condiciona la llamada de revelación de un área por nombre a un índice de jugador con signo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6b9e84041838e8","name":"Party","member":"Party","family":"Global","returns":"ObjList","args":[],"kind":"function","signature":"ObjList Party()","summary":{"en":"Copies the game object's container at [field] into a new ObjList wrapper.","es":"Copia el contenedor [campo] del objeto de partida en una ObjList nueva."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5571dcd79037d9","name":"GetTime","member":"GetTime","family":"Global","returns":"int","args":[],"kind":"function","signature":"int GetTime()","summary":{"en":"GetTime takes no arguments and pushes the 32-bit game clock counter at [shared state][field], the same field that CKS Clock divides by 1000 to obtain seconds.","es":"GetTime no recibe argumentos e introduce en la pila el contador de reloj de partida de 32 bits de [estado compartido][campo]; CKS Clock divide ese mismo campo entre 1000 para obtener segundos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-09a50e36e90ac6","name":"EndGame","member":"EndGame","family":"Global","returns":"void","args":["int","bool"],"kind":"function","signature":"void EndGame(int, bool)","summary":{"en":"Converts a one-based player input to a zero-based index and delegates its address with the lose flag to the game virtual method.","es":"Convierte el jugador indicado, numerado desde uno, en un índice desde cero y pasa su dirección junto con la marca de derrota al método virtual del juego."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3aeb76b9f5f820","name":"IsMultiplayer","member":"IsMultiplayer","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool IsMultiplayer()","summary":{"en":"IsMultiplayer tests whether the session byte contains any set bit.","es":"IsMultiplayer comprueba si hay algún bit activo en el byte de sesión."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d954fc3f9cc61d","name":"SelAvgLevel","member":"SelAvgLevel","family":"Global","returns":"int","args":[],"kind":"function","signature":"int SelAvgLevel()","summary":{"en":"SelAvgLevel averages eligible primary-selection values.","es":"SelAvgLevel calcula la media de los valores elegibles de la selección principal."},"notes":{},"examples":{},"technical":{}},{"id":"api-d07ac1e7f3f967","name":"SelAvgFood","member":"SelAvgFood","family":"Global","returns":"int","args":[],"kind":"function","signature":"int SelAvgFood()","summary":{"en":"Computes a rounded average of the food-related field across eligible selected units and nested members.","es":"Calcula una media redondeada del campo relacionado con comida de las unidades seleccionadas elegibles y de sus miembros anidados."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3396a94715aeca","name":"SelAvgStamina","member":"SelAvgStamina","family":"Global","returns":"int","args":[],"kind":"function","signature":"int SelAvgStamina()","summary":{"en":"SelAvgStamina averages eligible direct and nested values.","es":"SelAvgStamina calcula la media de los valores directos y anidados elegibles."},"notes":{},"examples":{},"technical":{}},{"id":"api-512b6ca27374e7","name":"SelAvgArmor","member":"SelAvgArmor","family":"Global","returns":"int","args":[],"kind":"function","signature":"int SelAvgArmor()","summary":{"en":"Computes a rounded average of armor across eligible selected units and nested members.","es":"Calcula una media redondeada de la armadura de las unidades seleccionadas elegibles y de sus miembros anidados."},"notes":{},"examples":{},"technical":{}},{"id":"api-836f1553255849","name":"SelAvgDamage","member":"SelAvgDamage","family":"Global","returns":"int","args":[],"kind":"function","signature":"int SelAvgDamage()","summary":{"en":"SelAvgDamage computes an unsigned rounded selection average.","es":"SelAvgDamage calcula una media redondeada sin signo de la selección."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a2948dd17d31d5","name":"SelHealth","member":"SelHealth","family":"Global","returns":"int","args":[],"kind":"function","signature":"int SelHealth()","summary":{"en":"Adds together current health values for the selection, including nested objects.","es":"Suma los valores de vida actual de la selección, incluidos los objetos contenidos."},"notes":{},"examples":{},"technical":{}},{"id":"api-c6b25a16b946a8","name":"SelMaxHealth","member":"SelMaxHealth","family":"Global","returns":"int","args":[],"kind":"function","signature":"int SelMaxHealth()","summary":{"en":"Adds together maximum health values for the selection, including nested objects.","es":"Suma los valores de vida máxima de la selección, incluidos los objetos contenidos."},"notes":{},"examples":{},"technical":{}},{"id":"api-5cbbb284896dd5","name":"LockView","member":"LockView","family":"Global","returns":"void","args":[],"kind":"function","signature":"void LockView()","summary":{"en":"LockView sets global [field], the flag read by IsViewLocked and shared with camera-follow activation.","es":"LockView establece el valor global [campo], el indicador leído por IsViewLocked y compartido con la activación del seguimiento de cámara."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-645241f6e8e868","name":"UnlockView","member":"UnlockView","family":"Global","returns":"void","args":[],"kind":"function","signature":"void UnlockView()","summary":{"en":"UnlockView clears global [field].","es":"UnlockView limpia el valor global [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ec260b22d25e13","name":"IsViewLocked","member":"IsViewLocked","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool IsViewLocked()","summary":{"en":"IsViewLocked returns whether global [field] is nonzero.","es":"IsViewLocked devuelve si el valor global [campo] es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-10197c7a9ce686","name":"StartViewFollow","member":"StartViewFollow","family":"Global","returns":"void","args":["Unit"],"kind":"function","signature":"void StartViewFollow(Unit)","summary":{"en":"StartViewFollow resolves the target unit and activates camera tracking by setting [shared state] at [field] to 1 and storing the unit ID at [field].","es":"StartViewFollow resuelve la unidad de destino y activa el seguimiento de cámara estableciendo [campo] de [estado compartido] en 1 y guardando el identificador de la unidad en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0d4a243a1d3eb5","name":"StopViewFollow","member":"StopViewFollow","family":"Global","returns":"void","args":[],"kind":"function","signature":"void StopViewFollow()","summary":{"en":"Writes zero to a shared 32-bit value and the all-bits-set sentinel to a shared 16-bit value.","es":"Escribe cero en un valor compartido de 32 bits y el valor centinela con todos los bits activos en un valor compartido de 16 bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4f75e48b476902","name":"StartViewFollow","member":"StartViewFollow","family":"Global","returns":"void","args":["NamedObj"],"kind":"function","signature":"void StartViewFollow(NamedObj)","summary":{"en":"Resolves a managed NamedObj packet to a live unit and conditionally installs view-follow state.","es":"Obtiene una unidad viva a partir de un paquete NamedObj gestionado e instala condicionalmente el estado de seguimiento de la vista."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b066d0fec6d502","name":"SetDifficulty","member":"SetDifficulty","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void SetDifficulty(int)","summary":{"en":"SetDifficulty admits exactly zero one and two.","es":"SetDifficulty admite exactamente los valores cero, uno y dos."},"notes":{},"examples":{},"technical":{}},{"id":"api-30016ddf9b0fd5","name":"GetDifficulty","member":"GetDifficulty","family":"Global","returns":"int","args":[],"kind":"function","signature":"int GetDifficulty()","summary":{"en":"GetDifficulty copies the dword at pointer field [field].","es":"GetDifficulty copia el dword del campo de puntero [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cc550ee8c0ddd5","name":"GetMapRect","member":"GetMapRect","family":"Global","returns":"rect","args":[],"kind":"function","signature":"rect GetMapRect()","summary":{"en":"Returns the map bounds as a rectangle, in left, top, right, bottom order.","es":"Devuelve los límites del mapa como un rectángulo, en el orden izquierda, arriba, derecha y abajo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b1025cc8331388","name":"MapName","member":"MapName","family":"Global","returns":"str","args":[],"kind":"function","signature":"str MapName()","summary":{"en":"MapName selects inline or pointed storage at game[field] and pushes an eight-byte managed string.","es":"MapName selecciona el almacenamiento incluido o apuntado en partida[campo] e introduce en la pila un texto gestionado de ocho bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c41e71ac2fdd24","name":"ChangeMap","member":"ChangeMap","family":"Global","returns":"void","args":["str","str"],"kind":"function","signature":"void ChangeMap(str, str)","summary":{"en":"ChangeMap looks up its first string in the game map table before forwarding mapped text and its second string.","es":"ChangeMap busca el primer texto en la tabla de mapas del juego antes de pasar el texto asociado y el segundo texto."},"notes":{},"examples":{},"technical":{}},{"id":"api-663ca4ce3c1822","name":"SetNextSeason","member":"SetNextSeason","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void SetNextSeason(str)","summary":{"en":"SetNextSeason stores codes3,2,1 only for complete winter,autumn,spring matches.","es":"SetNextSeason guarda los códigos 3, 2 y 1 únicamente cuando hay una coincidencia completa con winter, autumn o spring, respectivamente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0ca3c2388e9bfd","name":"GetTeamMilitaryScore","member":"GetTeamMilitaryScore","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int GetTeamMilitaryScore(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-82fb73e246aaa8","name":"GetTeamPowerScore","member":"GetTeamPowerScore","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int GetTeamPowerScore(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-d01f6a807f58e3","name":"GetTeamAchievementsScore","member":"GetTeamAchievementsScore","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int GetTeamAchievementsScore(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-fe683d8d2d30bd","name":"GetTeamOverallScore","member":"GetTeamOverallScore","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int GetTeamOverallScore(int)","summary":{"en":"Calculates and returns the average composite score across all players on a specified team.","es":"Calcula y devuelve la puntuación compuesta media de todos los jugadores del equipo indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-a5ffb53570f0ca","name":"GetVec","member":"GetVec","family":"Global","returns":"point","args":["point","point","int"],"kind":"function","signature":"point GetVec(point, point, int)","summary":{"en":"Scales a wrapped integer point difference using signed division by an integer helper return.","es":"Escala una diferencia entera de puntos con desbordamiento usando una división con signo por el resultado entero de una operación auxiliar."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e772530797bb4d","name":"IsPassable","member":"IsPassable","family":"Global","returns":"bool","args":["point"],"kind":"function","signature":"bool IsPassable(point)","summary":{"en":"Returns an inverse map bitmap bit after signed bounds checks.","es":"Devuelve el valor inverso de un bit del mapa de bits del mapa después de comprobar los límites con signo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-41d5d37a044da4","name":"IsPassable3x3","member":"IsPassable3x3","family":"Global","returns":"bool","args":["point"],"kind":"function","signature":"bool IsPassable3x3(point)","summary":{"en":"Tests a point and its eight surrounding offsets through a map passability bitmap helper.","es":"Comprueba un punto y sus ocho posiciones circundantes mediante una operación del mapa de bits de transitabilidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-df7ce9f3fb45cc","name":"BlockMiniMap","member":"BlockMiniMap","family":"Global","returns":"void","args":["bool"],"kind":"function","signature":"void BlockMiniMap(bool)","summary":{"en":"Passes an inverted script boolean to a UI control helper and stores the original byte at Game[field].","es":"Pasa el booleano del script invertido a una operación auxiliar de control de interfaz y guarda el byte original en Game[campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0ee3b54bec96b7","name":"IsExplored","member":"IsExplored","family":"Global","returns":"bool","args":["point","int"],"kind":"function","signature":"bool IsExplored(point, int)","summary":{"en":"Forwards a point and decremented player value to the exploration receiver.","es":"Pasa un punto y un número de jugador reducido en uno al receptor de exploración."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0d2f4144fe29e0","name":"SelectionGold","member":"SelectionGold","family":"Global","returns":"int","args":[],"kind":"function","signature":"int SelectionGold()","summary":{"en":"SelectionGold sums selected wagon subtype-zero amounts.","es":"SelectionGold suma las cantidades seleccionadas de Wagon de subtipo cero."},"notes":{},"examples":{},"technical":{}},{"id":"api-0e9cf031208176","name":"SelectionFood","member":"SelectionFood","family":"Global","returns":"int","args":[],"kind":"function","signature":"int SelectionFood()","summary":{"en":"SelectionFood sums selected wagon subtype-one amounts.","es":"SelectionFood suma las cantidades seleccionadas de Wagon de subtipo uno."},"notes":{},"examples":{},"technical":{}},{"id":"api-4765879ee7f411","name":"NoTents","member":"NoTents","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool NoTents()","summary":{"en":"NoTents negates an object predicate over the map vector.","es":"NoTents niega el resultado de una condición sobre objetos del vector del mapa."},"notes":{},"examples":{},"technical":{}},{"id":"api-88331f1fe6cb76","name":"RandomOffset","member":"RandomOffset","family":"Global","returns":"point","args":["int"],"kind":"function","signature":"point RandomOffset(int)","summary":{"en":"RandomOffset calls virtual slot [field] twice on Game[field] with the pair (-r,r), then writes (second,first).","es":"RandomOffset llama dos veces a la operación virtual [campo] sobre Game[campo] con el par (-r,r) y después escribe (segundo,primero)."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3f4f3bf3f1bd20","name":"RandomPointInCircle","member":"RandomPointInCircle","family":"Global","returns":"point","args":["point","int"],"kind":"function","signature":"point RandomPointInCircle(point, int)","summary":{"en":"Constructs a point from radial and angular samples and clamps it to map bounds.","es":"Construye un punto a partir de muestras de radio y ángulo y lo limita a los bordes del mapa."},"notes":{},"examples":{},"technical":{}},{"id":"api-15eee2e0409267","name":"PlayMovie","member":"PlayMovie","family":"Global","returns":"bool","args":["str"],"kind":"function","signature":"bool PlayMovie(str)","summary":{"en":"PlayMovie returns the saved movie helper result as a bool.","es":"PlayMovie devuelve como bool el resultado guardado de la operación de reproducción de películas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cefaf5cabf174f","name":"Translate","member":"Translate","family":"Global","returns":"str","args":["str"],"kind":"function","signature":"str Translate(str)","summary":{"en":"Translate resolves a string through primary and fallback translation tables.","es":"Translate obtiene un texto mediante las tablas de traducción principal y alternativa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b6df3d2fa1b8e3","name":"Translatef","member":"Translatef","family":"Global","returns":"str","args":["str","str"],"kind":"function","signature":"str Translatef(str, str)","summary":{"en":"Selects a translation table and formats one string value against a key.","es":"Selecciona una tabla de traducción y da formato a un valor de texto usando una clave."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dd51f617779090","name":"Translatef","member":"Translatef","family":"Global","returns":"str","args":["str","str","str"],"kind":"function","signature":"str Translatef(str, str, str)","summary":{"en":"Translatef chooses a translation table and formats a key with two strings.","es":"Translatef elige una tabla de traducción y da formato a una clave con dos textos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4f1bf36fe934d1","name":"Translatef","member":"Translatef","family":"Global","returns":"str","args":["str","str","str","str"],"kind":"function","signature":"str Translatef(str, str, str, str)","summary":{"en":"Resolves a translation key and formats it with three string arguments.","es":"Obtiene una clave de traducción y le da formato con tres argumentos de texto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-11a7b741fe9785","name":"SaveAdventure","member":"SaveAdventure","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void SaveAdventure(str)","summary":{"en":"SaveAdventure builds profile[field] slash payload dot-adv and forwards it on the initial phase.","es":"SaveAdventure construye perfil[campo], una barra, el contenido indicado y la extensión .adv, y pasa esa ruta en la fase inicial."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-37c25501adbba9","name":"WasSelectionAssigned","member":"WasSelectionAssigned","family":"Global","returns":"bool","args":["int","int"],"kind":"function","signature":"bool WasSelectionAssigned(int, int)","summary":{"en":"WasSelectionAssigned group overload tests the stored assignment mask.","es":"La variante de WasSelectionAssigned que recibe un grupo comprueba la máscara de asignación almacenada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b87dd9c3969998","name":"WasSelectionAssigned","member":"WasSelectionAssigned","family":"Global","returns":"bool","args":["int"],"kind":"function","signature":"bool WasSelectionAssigned(int)","summary":{"en":"WasSelectionAssigned player overload tests any stored assignment bit.","es":"La variante de WasSelectionAssigned que recibe un jugador comprueba si hay algún bit de asignación almacenado."},"notes":{},"examples":{},"technical":{}},{"id":"api-e95143c16afc2c","name":"IsSelectionAssigned","member":"IsSelectionAssigned","family":"Global","returns":"bool","args":["int","int"],"kind":"function","signature":"bool IsSelectionAssigned(int, int)","summary":{"en":"Validates player and selection indices and reports whether the selected selection contains any units.","es":"Valida los índices de jugador y selección e indica si la selección consultada contiene alguna unidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-10c9395f5bdfcf","name":"IsSelectionAssigned","member":"IsSelectionAssigned","family":"Global","returns":"bool","args":["int"],"kind":"function","signature":"bool IsSelectionAssigned(int)","summary":{"en":"IsSelectionAssigned player overload scans ten live counts.","es":"La variante de IsSelectionAssigned que recibe un jugador recorre diez recuentos activos."},"notes":{},"examples":{},"technical":{}},{"id":"api-cc1df49c2e6ae2","name":"SetGlobalBloodlust","member":"SetGlobalBloodlust","family":"Global","returns":"void","args":["bool"],"kind":"function","signature":"void SetGlobalBloodlust(bool)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-eca2b538c30ac0","name":"RevealHiddenEnemyUnits","member":"RevealHiddenEnemyUnits","family":"Global","returns":"void","args":["point","int","int"],"kind":"function","signature":"void RevealHiddenEnemyUnits(point, int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-ca3dffe70a19f5","name":"InvalidateDamageFormulaParams","member":"InvalidateDamageFormulaParams","family":"Global","returns":"void","args":[],"kind":"function","signature":"void InvalidateDamageFormulaParams()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-cfa5b8cc7e3ff9","name":"SwapSelectedObj","member":"SwapSelectedObj","family":"Global","returns":"void","args":["Obj","Obj"],"kind":"function","signature":"void SwapSelectedObj(Obj, Obj)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-a83637c8371b40","name":"Crash","member":"Crash","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Crash()","summary":{"en":"Crash attempts an absolute zero-address dword write before its normal status-zero tail.","es":"Crash intenta escribir un valor de 32 bits en la dirección absoluta cero antes de su final normal, que devuelve el estado cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-67973ed506eb43","name":"AreaCenter","member":"AreaCenter","family":"Global","returns":"point","args":["str"],"kind":"function","signature":"point AreaCenter(str)","summary":{"en":"Returns area coordinates selected by its geometry mode field.","es":"Devuelve las coordenadas de un área seleccionadas mediante su campo de modo geométrico."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f5409c89b31358","name":"DisableArea","member":"DisableArea","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void DisableArea(str)","summary":{"en":"Clears a resolved area state field before a conditional thread request.","es":"Pone a cero un campo de estado del área obtenida antes de solicitar condicionalmente un hilo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-24618265660f49","name":"EnableArea","member":"EnableArea","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void EnableArea(str)","summary":{"en":"Dispatches a successfully resolved area to an enable helper.","es":"Envía un área obtenida correctamente a una operación de activación."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e9aaa687779c01","name":"GetRandomPointInArea","member":"GetRandomPointInArea","family":"Global","returns":"point","args":["str"],"kind":"function","signature":"point GetRandomPointInArea(str)","summary":{"en":"Returns a helper point or a fixed pair when area lookup fails.","es":"Devuelve un punto calculado por una operación auxiliar, o un par fijo si falla la búsqueda del área."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b3ff74df525cd2","name":"AreaDistTo","member":"AreaDistTo","family":"Global","returns":"int","args":["point","str"],"kind":"function","signature":"int AreaDistTo(point, str)","summary":{"en":"Computes a nonnegative area distance value after name resolution.","es":"Tras buscar el área por nombre, calcula un valor de distancia al área no negativo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c9071aefc168e7","name":"_AdvPlaceAreaRect","member":"_AdvPlaceAreaRect","family":"Global","returns":"void","args":["str","rect","str","str"],"kind":"function","signature":"void _AdvPlaceAreaRect(str, rect, str, str)","summary":{"en":"Spawns an AdvArea and forwards rectangle, name and string setup.","es":"Crea un AdvArea y pasa la configuración de rectángulo, nombre y texto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8f81c6c5a75309","name":"_AdvPlaceAreaCirc","member":"_AdvPlaceAreaCirc","family":"Global","returns":"void","args":["str","point","int","str","str"],"kind":"function","signature":"void _AdvPlaceAreaCirc(str, point, int, str, str)","summary":{"en":"Spawns and configures a circular adventure area from script arguments.","es":"Crea y configura un área circular de aventura a partir de los argumentos del script."},"notes":{},"examples":{},"technical":{}},{"id":"api-fb2ea807f79f07","name":"Sacrifice::AddDruid","member":"AddDruid","family":"Sacrifice","returns":"bool","args":["Druid","int"],"kind":"method","signature":"bool Sacrifice::AddDruid(Druid, int)","summary":{"en":"For a nonnull Sacrifice, passes the resolved Druid and a wrapping 32-bit sum of an existing receiver value and the integer argument to an operation, then returns whether its result is nonzero. Returns false for a null Sacrifice.","es":"Si Sacrifice no es nulo, pasa el Druid resuelto y la suma de 32 bits con desbordamiento de un valor del receptor y el argumento entero a una operación, y devuelve si su resultado no es cero. Devuelve false si Sacrifice es nulo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e00988ff984db7","name":"Sacrifice::RemoveDruid","member":"RemoveDruid","family":"Sacrifice","returns":"void","args":["Druid"],"kind":"method","signature":"void Sacrifice::RemoveDruid(Druid)","summary":{"en":"Consumes the Druid and Sacrifice references. For a nonnull Sacrifice, passes the receiver and resolved Druid to an implementation operation.","es":"Consume las referencias Druid y Sacrifice. Si Sacrifice no es nulo, pasa el receptor y el Druid resuelto a una operación de implementación."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5b3fdd7e0db869","name":"Sacrifice::Consume","member":"Consume","family":"Sacrifice","returns":"int","args":["int","int","bool"],"kind":"method","signature":"int Sacrifice::Consume(int, int, bool)","summary":{"en":"At entry cursor S, Consume returns native status 1 without changing the cursor when both bytes S-1 and S-2 are nonzero, after storing dword[S-6] through global pointer [field].","es":"Con el cursor de entrada S, Consume devuelve el estado interno 1 sin modificar el cursor cuando los bytes S-1 y S-2 son distintos de cero, después de almacenar dword[S-6] mediante el puntero global [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3c5a1a9c258b05","name":"Sacrifice::IsEmpty","member":"IsEmpty","family":"Sacrifice","returns":"bool","args":[],"kind":"method","signature":"bool Sacrifice::IsEmpty()","summary":{"en":"Sacrifice IsEmpty pushes receiver dword[field] != 0 for a resolved receiver and pushes true when receiver resolution is null.","es":"IsEmpty de Sacrifice introduce en la pila receptor.dword[campo] != 0 si el receptor se resuelve; introduce true si la resolución del receptor es nula."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f74676c2774537","name":"Sacrifice::MistAction","member":"MistAction","family":"Sacrifice","returns":"void","args":["int"],"kind":"method","signature":"void Sacrifice::MistAction(int)","summary":{"en":"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.","es":"Procesa una colección temporal y acepta entradas no nulas solo si tienen una determinada bandera y su referencia registrada es nula o coincide con el receptor resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-228467f06b9a36","name":"Sacrifice::IsInvisibility","member":"IsInvisibility","family":"Sacrifice","returns":"bool","args":[],"kind":"method","signature":"bool Sacrifice::IsInvisibility()","summary":{"en":"For a resolved Sacrifice, IsInvisibility selects the string at descriptor+8 from receiver[field] and pushes whether case-insensitive comparison with Hide returns zero; null resolution pushes false.","es":"Para un Sacrifice resuelto, IsInvisibility selecciona el texto de descriptor+8 desde receptor[campo] e introduce en la pila si la comparación con Hide, sin distinguir mayúsculas y minúsculas, devuelve cero; si no se resuelve introduce false."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-67ccf8769b42bc","name":"Sacrifice::Druids","member":"Druids","family":"Sacrifice","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Sacrifice::Druids()","summary":{"en":"Copies the Sacrifice object's linked-list member handles into a new ObjList.","es":"Copia las referencias de miembros de la lista enlazada de Sacrifice en una nueva ObjList."},"notes":{},"examples":{},"technical":{}},{"id":"api-b2dde1c74d2654","name":"Sacrifice::UpdateCoverOfMercy","member":"UpdateCoverOfMercy","family":"Sacrifice","returns":"void","args":[],"kind":"method","signature":"void Sacrifice::UpdateCoverOfMercy()","summary":{"en":"Consumes one reference and queries an interface derived from the receiver. If that query is nonnull, invokes the corresponding operation on the returned interface.","es":"Consume una referencia y consulta una interfaz derivada del receptor. Si la consulta no es nula, invoca la operación correspondiente sobre la interfaz obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-046283abde23f6","name":"GiveNote","member":"GiveNote","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void GiveNote(str)","summary":{"en":"Converts the script name to a native string and dispatches to the note-manager helper with a zero second argument.","es":"Convierte el nombre del script en un texto interno y lo pasa a la operación auxiliar del gestor de notas con un segundo argumento igual a cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9c82e78ca5cd81","name":"RemoveNote","member":"RemoveNote","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void RemoveNote(str)","summary":{"en":"Converts the script name to a native string and dispatches to the note-manager removal helper.","es":"Convierte el nombre del script en un texto interno y lo pasa a la operación auxiliar de eliminación del gestor de notas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-59f7b17a4a5eaa","name":"ShowNotes","member":"ShowNotes","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ShowNotes()","summary":{"en":"Dispatches a zero argument to the notes-dialog helper and returns normally.","es":"Pasa un argumento cero a la operación del diálogo de notas y termina normalmente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bc5a5e2c68a190","name":"ClearNotes","member":"ClearNotes","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ClearNotes()","summary":{"en":"Dispatches note-tree erasure and resets its header links and logical count to the empty state.","es":"Solicita borrar el árbol de notas y reinicia sus enlaces de cabecera y su recuento lógico al estado vacío."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-75a51127259c53","name":"IsNoteActive","member":"IsNoteActive","family":"Global","returns":"bool","args":["str"],"kind":"function","signature":"bool IsNoteActive(str)","summary":{"en":"Returns whether the input name has an exact case-sensitive key in the note-manager tree.","es":"Devuelve si el nombre indicado existe como clave exacta, distinguiendo mayúsculas y minúsculas, en el árbol del gestor de notas."},"notes":{},"examples":{},"technical":{}},{"id":"api-0ccd0819a54178","name":"CreateFeedback","member":"CreateFeedback","family":"Global","returns":"void","args":["str","Unit"],"kind":"function","signature":"void CreateFeedback(str, Unit)","summary":{"en":"Resolves a Unit and a feedback class name, looks up its class template, and spawns the feedback visual/audio effect.","es":"Obtiene una Unit y un nombre de clase de respuesta visual, consulta su plantilla de clase y crea el efecto visual y sonoro correspondiente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-12840a5f7c6336","name":"CreateFeedback","member":"CreateFeedback","family":"Global","returns":"void","args":["str","Unit","int"],"kind":"function","signature":"void CreateFeedback(str, Unit, int)","summary":{"en":"Resolves a unit and named class and dispatches feedback construction with the supplied duration integer.","es":"Obtiene una unidad y una clase por nombre y solicita construir la respuesta visual con el entero de duración indicado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7bd526fad361f0","name":"CreateFeedback","member":"CreateFeedback","family":"Global","returns":"void","args":["str","point"],"kind":"function","signature":"void CreateFeedback(str, point)","summary":{"en":"Constructs named feedback at a supplied point and initializes its scheduling field from the current game field.","es":"Construye un efecto de respuesta visual con nombre en el punto indicado e inicializa su campo de planificación a partir del campo actual del juego."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5995e6051be4d5","name":"CreateFeedback","member":"CreateFeedback","family":"Global","returns":"void","args":["str","point","int"],"kind":"function","signature":"void CreateFeedback(str, point, int)","summary":{"en":"Constructs named feedback at a supplied point and initializes its scheduling field with the integer offset.","es":"Construye un efecto de respuesta visual con nombre en el punto indicado e inicializa su campo de planificación con el desplazamiento entero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-21446dc3e34e00","name":"DiplCeaseFire","member":"DiplCeaseFire","family":"Global","returns":"void","args":["int","int","bool"],"kind":"function","signature":"void DiplCeaseFire(int, int, bool)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-70ce729949cbbe","name":"DiplShareView","member":"DiplShareView","family":"Global","returns":"void","args":["int","int","bool"],"kind":"function","signature":"void DiplShareView(int, int, bool)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-244184fbba9e8c","name":"DiplShareControl","member":"DiplShareControl","family":"Global","returns":"void","args":["int","int","bool"],"kind":"function","signature":"void DiplShareControl(int, int, bool)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-df6dfbbbd4e9c6","name":"DiplShareSupport","member":"DiplShareSupport","family":"Global","returns":"void","args":["int","int","bool"],"kind":"function","signature":"void DiplShareSupport(int, int, bool)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-e0b107903c201d","name":"DiplGetCeaseFire","member":"DiplGetCeaseFire","family":"Global","returns":"bool","args":["int","int"],"kind":"function","signature":"bool DiplGetCeaseFire(int, int)","summary":{"en":"Evaluates whether player 1 has a ceasefire with player 2 by querying bit 0 of the player's diplomacy record.","es":"Comprueba si el jugador 1 tiene una tregua con el jugador 2 consultando el bit 0 del registro de diplomacia del jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-cd737fb412d493","name":"DiplGetShareView","member":"DiplGetShareView","family":"Global","returns":"bool","args":["int","int"],"kind":"function","signature":"bool DiplGetShareView(int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-1f9cc1bde4d3e2","name":"DiplGetShareControl","member":"DiplGetShareControl","family":"Global","returns":"bool","args":["int","int"],"kind":"function","signature":"bool DiplGetShareControl(int, int)","summary":{"en":"Evaluates whether player 1 has granted shared control to player 2 by querying bit 5 of the player's diplomacy record.","es":"Comprueba si el jugador 1 ha concedido control compartido al jugador 2 consultando el bit 5 del registro de diplomacia del jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-2c307a77639b78","name":"DiplGetShareSupport","member":"DiplGetShareSupport","family":"Global","returns":"bool","args":["int","int"],"kind":"function","signature":"bool DiplGetShareSupport(int, int)","summary":{"en":"inspects diplomacy mask bit 2 to determine if two players share support.","es":"Comprueba el bit 2 de la máscara diplomática para determinar si dos jugadores comparten apoyo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8fcddf4122d430","name":"ClearDiplomacy","member":"ClearDiplomacy","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ClearDiplomacy()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-70dc4d0def1fb9","name":"RecreateExploration","member":"RecreateExploration","family":"Global","returns":"void","args":[],"kind":"function","signature":"void RecreateExploration()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-e86e7a981c865a","name":"Obj::AsGate","member":"AsGate","family":"Obj","returns":"Gate","args":[],"kind":"method","signature":"Gate Obj::AsGate()","summary":{"en":"Queries the resolved Obj for its Gate component and returns a Gate reference or an invalid-reference sentinel.","es":"Consulta el componente Gate del objeto resuelto y devuelve una referencia Gate o un valor centinela de referencia no válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-64a508aa36073c","name":"Gate::IsOpened","member":"IsOpened","family":"Gate","returns":"bool","args":[],"kind":"method","signature":"bool Gate::IsOpened()","summary":{"en":"CKS Gate::IsOpened tests the resolved gate state and animation frame, with true on an invalid receiver.","es":"Gate::IsOpened comprueba en CKS el estado de la puerta obtenida y el fotograma de animación; devuelve true si el receptor no es válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b7219b20b90209","name":"Gate::IsClosed","member":"IsClosed","family":"Gate","returns":"bool","args":[],"kind":"method","signature":"bool Gate::IsClosed()","summary":{"en":"CKS Gate::IsClosed tests the resolved gate state and animation frame, with false on an invalid receiver.","es":"Gate::IsClosed comprueba en CKS el estado de la puerta obtenida y el fotograma de animación; devuelve false si el receptor no es válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d9ead9e647e457","name":"Gate::AreEnemiesAround","member":"AreEnemiesAround","family":"Gate","returns":"bool","args":[],"kind":"method","signature":"bool Gate::AreEnemiesAround()","summary":{"en":"Gate around predicates test cached dwords.","es":"Los predicados de entorno de Gate comprueban dwords almacenados en caché."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c7c1ca639e58af","name":"Gate::AreFriendsAround","member":"AreFriendsAround","family":"Gate","returns":"bool","args":[],"kind":"method","signature":"bool Gate::AreFriendsAround()","summary":{"en":"Gate around predicates test cached dwords.","es":"Los predicados de entorno de Gate comprueban dwords almacenados en caché."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-502ddb42a018e2","name":"Gate::LookAround","member":"LookAround","family":"Gate","returns":"void","args":["int"],"kind":"method","signature":"void Gate::LookAround(int)","summary":{"en":"Resets gate proximity cache and runs a bounded native circle scan.","es":"Reinicia la caché de proximidad de Gate y realiza una búsqueda circular interna acotada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-291893a801142a","name":"Gate::OpenNow","member":"OpenNow","family":"Gate","returns":"void","args":[],"kind":"method","signature":"void Gate::OpenNow()","summary":{"en":"CKS-exposed Gate::OpenNow, setting the target state to open and resetting the timer, guarded by broken status and current state.","es":"Gate::OpenNow, expuesta a CKS, establece el estado de destino como abierto y reinicia el temporizador, con comprobaciones del estado actual y de rotura."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c28d253803dd22","name":"Gate::CloseNow","member":"CloseNow","family":"Gate","returns":"void","args":[],"kind":"method","signature":"void Gate::CloseNow()","summary":{"en":"CKS-exposed Gate::CloseNow, setting the target state to closed and resetting the timer, guarded by broken status and current state.","es":"Gate::CloseNow, expuesta a CKS, establece el estado de destino como cerrado y reinicia el temporizador, con comprobaciones del estado actual y de rotura."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fd5598c87fe703","name":"Obj::AsTeleport","member":"AsTeleport","family":"Obj","returns":"Teleport","args":[],"kind":"method","signature":"Teleport Obj::AsTeleport()","summary":{"en":"Resolves an Obj and queries its Teleport interface to build a Teleport handle.","es":"Obtiene un Obj y consulta su interfaz Teleport para construir una referencia Teleport."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ab6685d52011c6","name":"Teleport::destination","member":"destination","family":"Teleport","returns":"Teleport","args":[],"kind":"property","signature":"Teleport Teleport::destination()","summary":{"en":"Teleport::destination copies Teleport [field] into the low word of an 8-byte result and zeroes its second dword, while leaving the first dword's upper word unspecified.","es":"Teleport::destination copia Teleport [campo] en la palabra baja de un resultado de 8 bytes y pone a cero su segundo dword, dejando sin especificar la palabra alta del primer dword."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-12ed22ea1d2a27","name":"Teleport::exit_vector","member":"exit_vector","family":"Teleport","returns":"point","args":[],"kind":"property","signature":"point Teleport::exit_vector()","summary":{"en":"Teleport exit_vector copies two dwords.","es":"exit_vector de Teleport copia dos valores de 32 bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fef44437811a91","name":"Teleport::Traverse","member":"Traverse","family":"Teleport","returns":"void","args":["int"],"kind":"method","signature":"void Teleport::Traverse(int)","summary":{"en":"Teleport::Traverse ORs the dword at an indexed player record [field] into the resolved Teleport dword [field].","es":"Teleport::Traverse aplica OR del dword [campo] de un registro de jugador indexado sobre el dword [campo] del Teleport resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-be021396c57b0a","name":"Ship::ShowBuildAnimation","member":"ShowBuildAnimation","family":"Ship","returns":"void","args":["point"],"kind":"method","signature":"void Ship::ShowBuildAnimation(point)","summary":{"en":"ShowBuildAnimation uses a 30-byte retained packet and leaves the VM cursor unchanged on nonzero wait returns, consuming the packet only on its terminal zero return.","es":"ShowBuildAnimation usa un paquete conservado de 30 bytes y deja sin modificar el cursor de la máquina virtual cuando devuelve una espera distinta de cero; consume el paquete únicamente en su devolución final de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-eab1659e7291ee","name":"Ship::NotifyBoardUnit","member":"NotifyBoardUnit","family":"Ship","returns":"void","args":["Unit"],"kind":"method","signature":"void Ship::NotifyBoardUnit(Unit)","summary":{"en":"Resolves Ship and Unit references and conditionally invokes the native boarding notification admission helper.","es":"Resuelve las referencias Ship y Unit e invoca la operación interna de admisión de notificación de embarque si se cumple la condición."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a24f048c7a0018","name":"Ship::AreUnitsToBoard","member":"AreUnitsToBoard","family":"Ship","returns":"bool","args":[],"kind":"method","signature":"bool Ship::AreUnitsToBoard()","summary":{"en":"Cleans invalid or destroyed entries from a ship boarding list and reports whether any remain.","es":"Limpia las entradas no válidas o destruidas de la lista de embarque de un barco e indica si queda alguna."},"notes":{},"examples":{},"technical":{}},{"id":"api-0732f15e7e8afe","name":"Ship::BestCandidateToBoard","member":"BestCandidateToBoard","family":"Ship","returns":"Unit","args":[],"kind":"method","signature":"Unit Ship::BestCandidateToBoard()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-5caa61b2ac64e4","name":"Ship::BoardUnit","member":"BoardUnit","family":"Ship","returns":"bool","args":["Unit"],"kind":"method","signature":"bool Ship::BoardUnit(Unit)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-2ef5d739abadc6","name":"Ship::NotifyBoardUnitCancel","member":"NotifyBoardUnitCancel","family":"Ship","returns":"void","args":["Unit"],"kind":"method","signature":"void Ship::NotifyBoardUnitCancel(Unit)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-2de2a450966043","name":"Ship::NotifyShipBoardingCancel","member":"NotifyShipBoardingCancel","family":"Ship","returns":"void","args":[],"kind":"method","signature":"void Ship::NotifyShipBoardingCancel()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-f37397912e3025","name":"Ship::UnboardUnits","member":"UnboardUnits","family":"Ship","returns":"void","args":["ObjList"],"kind":"method","signature":"void Ship::UnboardUnits(ObjList)","summary":{"en":"Selects candidate positions and dispatches a reserve and movement routine for matching ObjList members.","es":"Selecciona posiciones candidatas y solicita una operación de reserva y movimiento para los miembros coincidentes de ObjList."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0fe79ea377bffa","name":"Ship::UnboardAllUnits","member":"UnboardAllUnits","family":"Ship","returns":"void","args":[],"kind":"method","signature":"void Ship::UnboardAllUnits()","summary":{"en":"Resolves the Ship, builds a filtered position vector and repeatedly dispatches its first matching member while candidates and the saved-container count remain.","es":"Resuelve el Ship, crea un vector de posiciones filtrado y procesa repetidamente su primer miembro coincidente mientras queden candidatos y elementos en el contador del contenedor guardado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1db17f81193a46","name":"IsPointInWater","member":"IsPointInWater","family":"Global","returns":"bool","args":["point"],"kind":"function","signature":"bool IsPointInWater(point)","summary":{"en":"Evaluates whether a given map coordinate corresponds to a water terrain tile by querying the global map terrain grid.","es":"Comprueba si las coordenadas de mapa indicadas corresponden a una celda de agua consultando la cuadrícula global del terreno."},"notes":{},"examples":{},"technical":{}},{"id":"api-335bb56a69d285","name":"Ship::FindPointToStay","member":"FindPointToStay","family":"Ship","returns":"point","args":[],"kind":"method","signature":"point Ship::FindPointToStay()","summary":{"en":"FindPointToStay tries up to 100 points offset by two separate [-500,500] draws, requiring matching LSA, a clear occupancy bit and a nonzero clearance-helper result.","es":"FindPointToStay prueba hasta 100 puntos desplazados mediante dos selecciones independientes entre -500 y 500; exige una LSA coincidente, un bit de ocupación desactivado y un resultado no nulo de la comprobación de espacio libre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6d3a2898a76d36","name":"Ship::UnitsCount","member":"UnitsCount","family":"Ship","returns":"int","args":[],"kind":"method","signature":"int Ship::UnitsCount()","summary":{"en":"Ship[field] is a Holder handle, and this function returns that Holder's current occupancy at [field].","es":"Ship[campo] es una referencia Holder; esta función devuelve la ocupación actual de ese Holder almacenada en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c7a80e637e894c","name":"Ship::UnitsMax","member":"UnitsMax","family":"Ship","returns":"int","args":[],"kind":"method","signature":"int Ship::UnitsMax()","summary":{"en":"Ship[field] is a Holder handle, and this function returns that Holder's capacity at [field].","es":"Ship[campo] es una referencia Holder; esta función devuelve la capacidad de ese Holder almacenada en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4c5d544930d554","name":"Ship::Idle","member":"Idle","family":"Ship","returns":"void","args":[],"kind":"method","signature":"void Ship::Idle()","summary":{"en":"Initializes ship idle state when necessary and returns the VM blocking status.","es":"Inicializa el estado de reposo del barco cuando hace falta y devuelve el estado de bloqueo de la máquina virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a1d261f8cb7a72","name":"Ship::HasAiTransport","member":"HasAiTransport","family":"Ship","returns":"bool","args":[],"kind":"method","signature":"bool Ship::HasAiTransport()","summary":{"en":"HasAiTransport returns whether the resolved ship's string at [field] has nonzero length at [field].","es":"HasAiTransport devuelve si el texto [campo] del barco resuelto tiene una longitud distinta de cero en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a576611dfb3cbf","name":"Ship::GetUnitsOnBoard","member":"GetUnitsOnBoard","family":"Ship","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Ship::GetUnitsOnBoard()","summary":{"en":"Copies the container at [field] of the object selected by the Ship's [field] handle.","es":"Copia el contenedor [campo] del objeto seleccionado por la referencia [campo] de Ship."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9b8d03a9db37de","name":"Ship::ApplyAiTransport","member":"ApplyAiTransport","family":"Ship","returns":"void","args":[],"kind":"method","signature":"void Ship::ApplyAiTransport()","summary":{},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{}},{"id":"api-6335d0410e2966","name":"Ship::ClearAiTransport","member":"ClearAiTransport","family":"Ship","returns":"void","args":[],"kind":"method","signature":"void Ship::ClearAiTransport()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-7309ac940feced","name":"Ship::GetTransPt","member":"GetTransPt","family":"Ship","returns":"point","args":[],"kind":"method","signature":"point Ship::GetTransPt()","summary":{"en":"Returns two 32-bit components from the resolved Ship as a point.","es":"Devuelve dos componentes de 32 bits del barco resuelto como un punto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4679f6ec0d35f6","name":"Ship::IsBuilding","member":"IsBuilding","family":"Ship","returns":"bool","args":[],"kind":"method","signature":"bool Ship::IsBuilding()","summary":{"en":"Ship::IsBuilding returns the one-byte predicate signed_dword(Ship[field])>0 for a resolved Ship and false for an unresolved handle.","es":"Ship::IsBuilding devuelve el predicado de un byte signed_dword(Ship[campo])>0 para un Ship resuelto, y false para una referencia sin resolver."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-734b36486507ac","name":"Ship::NumUnitsToBoard","member":"NumUnitsToBoard","family":"Ship","returns":"int","args":[],"kind":"method","signature":"int Ship::NumUnitsToBoard()","summary":{"en":"Ship::NumUnitsToBoard returns the dword at resolved Ship[field], the count component of its [field] pending container, or zero when the handle cannot resolve.","es":"Ship::NumUnitsToBoard devuelve el dword Ship[campo] resuelto, que es el componente de recuento de su contenedor de pendientes [campo]; devuelve cero si no se puede resolver la referencia."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f67f1f84d09593","name":"Unit::RecalcBonuses","member":"RecalcBonuses","family":"Unit","returns":"void","args":[],"kind":"method","signature":"void Unit::RecalcBonuses()","summary":{"en":"Calls a resolved Unit's virtual bonus recalculation slot.","es":"Invoca la operación virtual de recálculo de bonificaciones de la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2ea8abd4b6c7fd","name":"Unit::AddBonus","member":"AddBonus","family":"Unit","returns":"void","args":["int","int","int","int","int"],"kind":"method","signature":"void Unit::AddBonus(int, int, int, int, int)","summary":{"en":"Builds a bonus descriptor, adds it to a Unit-linked collection, and recalculates bonuses.","es":"Construye un descriptor de bonificación, lo añade a una colección asociada a Unit y recalcula las bonificaciones."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ab30ca2957dc19","name":"Unit::RemoveBonus","member":"RemoveBonus","family":"Unit","returns":"void","args":["int","int","int","int","int"],"kind":"method","signature":"void Unit::RemoveBonus(int, int, int, int, int)","summary":{"en":"Subtracts a bonus descriptor from a Unit-linked collection and recalculates bonuses.","es":"Retira un descriptor de bonificación de una colección asociada a Unit y recalcula las bonificaciones."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-04c0aad17467cb","name":"ItemUsed","member":"ItemUsed","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void ItemUsed(int)","summary":{"en":"Deducts a script-supplied amount from a registry object's dword and invokes its virtual slot zero when nonpositive.","es":"Resta una cantidad proporcionada por el script al dword de un objeto del registro e invoca su operación virtual cero si el resultado no es positivo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c8b237e1e034ab","name":"GetUseCount","member":"GetUseCount","family":"Global","returns":"int","args":[],"kind":"function","signature":"int GetUseCount()","summary":{"en":"Returns a field from the active item's script context or zero when context resolution fails.","es":"Devuelve un campo del contexto de scripts del objeto del inventario activo, o cero si no se puede obtener el contexto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-215ef0f80acc3f","name":"Item::use_count","member":"use_count","family":"Item","returns":"int","args":[],"kind":"property","signature":"int Item::use_count()","summary":{"en":"Item::use_count resolves an Item, resolves the registry slot stored at Item [field], and returns the secondary object's dword at [field].","es":"Item::use_count resuelve un Item, resuelve la entrada de registro almacenada en Item [campo] y devuelve el dword [campo] del objeto secundario."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a3c64771545b15","name":"Item::custom_data","member":"custom_data","family":"Item","returns":"int","args":[],"kind":"property","signature":"int Item::custom_data()","summary":{"en":"Item::custom_data re-resolves the Item wrapper's registered base object through [field] and returns its dword at [field].","es":"Item::custom_data vuelve a resolver el objeto base registrado del envoltorio Item mediante [campo] y devuelve su dword [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a82b9e85f0b907","name":"Item::id","member":"id","family":"Item","returns":"str","args":[],"kind":"property","signature":"str Item::id()","summary":{"en":"Builds a VM string from the registered item base descriptor first string.","es":"Construye un texto de la máquina virtual a partir del primer texto del descriptor base registrado del objeto del inventario."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c3728a4723b6fb","name":"Item::name","member":"name","family":"Item","returns":"str","args":[],"kind":"property","signature":"str Item::name()","summary":{"en":"Builds a VM string from the same descriptor string selected by Item id.","es":"Construye un texto de la máquina virtual a partir del texto de ese descriptor seleccionado por el identificador de Item."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7e19891ed3a268","name":"Item::display_name","member":"display_name","family":"Item","returns":"str","args":[],"kind":"property","signature":"str Item::display_name()","summary":{"en":"Builds a VM string from the descriptor second string at [field].","es":"Construye un texto de la máquina virtual a partir del segundo texto del descriptor, almacenado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e24ff602f436ae","name":"Item::Use","member":"Use","family":"Item","returns":"void","args":[],"kind":"method","signature":"void Item::Use()","summary":{"en":"Resolves the registered Item base and forwards it to the immediate use helper.","es":"Obtiene la base registrada de Item y la pasa a la operación de uso inmediato."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5d2ed5f76bd578","name":"Item::Use","member":"Use","family":"Item","returns":"void","args":["Obj"],"kind":"method","signature":"void Item::Use(Obj)","summary":{"en":"Forwards a target object handle to the targeted use helper after resolving the Item base.","es":"Tras obtener la base de Item, pasa una referencia del objeto de destino a la operación de uso dirigido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6487dbe2b45123","name":"Item::Use","member":"Use","family":"Item","returns":"void","args":["point"],"kind":"method","signature":"void Item::Use(point)","summary":{"en":"Clamps a point to signed map bounds and forwards it to the positional use helper.","es":"Limita un punto a los límites con signo del mapa y lo pasa a la operación de uso por posición."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-82d79632c7f032","name":"Item::SetCustomData","member":"SetCustomData","family":"Item","returns":"void","args":["int"],"kind":"method","signature":"void Item::SetCustomData(int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-b252f786bf5ef8","name":"GetThis","member":"GetThis","family":"Global","returns":"Item","args":[],"kind":"function","signature":"Item GetThis()","summary":{"en":"Returns the item reference stored by the current item script while its registry entry remains nonnull.","es":"Devuelve la referencia del objeto de inventario guardada por el script de objeto actual mientras su entrada en el registro no sea nula."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6079af35339d84","name":"Flying::PlayAnim","member":"PlayAnim","family":"Flying","returns":"void","args":["int","point","int"],"kind":"method","signature":"void Flying::PlayAnim(int, point, int)","summary":{"en":"Validates and starts a Flying animation, then suspends the VM.","es":"Valida e inicia una animación de Flying y después suspende la máquina virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c946fc5bdf2f4a","name":"Flying::IsInAir","member":"IsInAir","family":"Flying","returns":"bool","args":[],"kind":"method","signature":"bool Flying::IsInAir()","summary":{"en":"Flying::IsInAir extracts bit 22 from the resolved Flying object's dword at offset [field] and returns it as a boolean.","es":"Flying::IsInAir extrae el bit 22 del dword [campo] del objeto Flying resuelto y lo devuelve como booleano."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-72fb8fa8264105","name":"Flying::IsLanding","member":"IsLanding","family":"Flying","returns":"bool","args":[],"kind":"method","signature":"bool Flying::IsLanding()","summary":{"en":"Returns true when a particular object flag is set and a stored 32-bit field is nonzero. The field meanings are not documented.","es":"Devuelve true si una determinada bandera del objeto está activa y un campo almacenado de 32 bits no es cero. Los significados de los campos no están documentados."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-898545b6438199","name":"Flying::z","member":"z","family":"Flying","returns":"int","args":[],"kind":"property","signature":"int Flying::z()","summary":{"en":"Resolves a Flying handle and returns the associated height calculation.","es":"Obtiene una referencia Flying y devuelve el cálculo de altura asociado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6b676a5f9cbc5b","name":"Flying::PickFlyingPoint","member":"PickFlyingPoint","family":"Flying","returns":"point","args":["int"],"kind":"method","signature":"point Flying::PickFlyingPoint(int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-d62afc4c81ca92","name":"Flying::PickLandingPoint","member":"PickLandingPoint","family":"Flying","returns":"point","args":["int"],"kind":"method","signature":"point Flying::PickLandingPoint(int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-61fa09636b69cb","name":"Flying::FindNearBird","member":"FindNearBird","family":"Flying","returns":"Flying","args":[],"kind":"method","signature":"Flying Flying::FindNearBird()","summary":{"en":"Returns the first nonself spatial candidate with the exact receiver template inside a fixed search circle.","es":"Devuelve el primer candidato espacial distinto del propio receptor que tiene exactamente su misma plantilla dentro de un círculo de búsqueda fijo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-59660554d84a01","name":"Flying::AdjustFlyDir","member":"AdjustFlyDir","family":"Flying","returns":"void","args":["point&"],"kind":"method","signature":"void Flying::AdjustFlyDir(point&)","summary":{"en":"Conditionally transforms a referenced point outside an inset rectangle using object vector fields and quadrant rotations.","es":"Transforma condicionalmente un punto pasado por referencia que está fuera de un rectángulo reducido, usando campos vectoriales del objeto y rotaciones por cuadrantes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-362f2268510335","name":"GetTerrainHeight","member":"GetTerrainHeight","family":"Global","returns":"int","args":["point"],"kind":"function","signature":"int GetTerrainHeight(point)","summary":{"en":"Clamps a world point to map bounds and samples terrain height there.","es":"Limita un punto del mundo a los bordes del mapa y consulta la altura del terreno en esa posición."},"notes":{},"examples":{},"technical":{}},{"id":"api-af0b323275a7bd","name":"GetVecByDir","member":"GetVecByDir","family":"Global","returns":"point","args":["point","int"],"kind":"function","signature":"point GetVecByDir(point, int)","summary":{"en":"Scales an input point vector to a requested integer magnitude.","es":"Escala el vector del punto de entrada hasta la magnitud entera indicada."},"notes":{},"examples":{},"technical":{}},{"id":"api-af7f752abd3338","name":"GetAngleByDir","member":"GetAngleByDir","family":"Global","returns":"int","args":["point"],"kind":"function","signature":"int GetAngleByDir(point)","summary":{"en":"GetAngleByDir forms a wrapped unsigned squared length and applies a finite-path asin/quadrant pipeline before low-dword integer conversion.","es":"GetAngleByDir calcula una longitud al cuadrado sin signo con desbordamiento y aplica un cálculo con asin y cuadrantes en su ruta de valores finitos, antes de convertir los 32 bits inferiores a entero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d5b56337dfbbfa","name":"GetDirByAngle","member":"GetDirByAngle","family":"Global","returns":"point","args":["int"],"kind":"function","signature":"point GetDirByAngle(int)","summary":{"en":"Handler for this function, point GetDirByAngle(int): returns cosine and sine of a degree angle scaled by 100.","es":"Gestor de point GetDirByAngle(int): devuelve el coseno y el seno de un ángulo en grados, multiplicados por 100."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-536e7917651faa","name":"MapSize","member":"MapSize","family":"Global","returns":"int","args":[],"kind":"function","signature":"int MapSize()","summary":{"en":"Implements this function, returning the global map maximum X bound.","es":"Implementa esta función devolviendo el límite máximo X del mapa global."},"notes":{},"examples":{},"technical":{}},{"id":"api-5af7e70595ba00","name":"Unit::GetAnimDuration","member":"GetAnimDuration","family":"Unit","returns":"int","args":["int"],"kind":"method","signature":"int Unit::GetAnimDuration(int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-0f36f216ded370","name":"Unit::dir","member":"dir","family":"Unit","returns":"point","args":[],"kind":"property","signature":"point Unit::dir()","summary":{"en":"Returns two 32-bit components from the resolved Unit as a point.","es":"Devuelve dos componentes de 32 bits de la unidad resuelta como un punto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bd99d0cc6d4cce","name":"OnLeft","member":"OnLeft","family":"Global","returns":"bool","args":["point","point"],"kind":"function","signature":"bool OnLeft(point, point)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-5ba859dcf8114c","name":"NumSquads","member":"NumSquads","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int NumSquads(int)","summary":{"en":"NumSquads returns a per-player squad pointer-span length divided by four for input IDs 1 through 16 and zero otherwise.","es":"NumSquads devuelve la extensión del conjunto de punteros de escuadras del jugador dividida entre cuatro para los identificadores del 1 al 16; devuelve cero en otro caso."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-34ac1de1153bb6","name":"GetSquad","member":"GetSquad","family":"Global","returns":"Squad","args":["int","int"],"kind":"function","signature":"Squad GetSquad(int, int)","summary":{"en":"Handler for this function, Squad GetSquad(int, int): packs player and index into a 4-byte Squad value.","es":"Gestor de Squad GetSquad(int, int): empaqueta el jugador y el índice en un valor Squad de 4 bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e609f5da86072e","name":"Unit::GetSquad","member":"GetSquad","family":"Unit","returns":"Squad","args":[],"kind":"method","signature":"Squad Unit::GetSquad()","summary":{"en":"Returns the zero-extended squad word linked from a resolved Unit.","es":"Devuelve el valor de escuadra de 16 bits asociado a la Unit obtenida, ampliado con ceros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e27831aa899ab5","name":"Squad::Player","member":"Player","family":"Squad","returns":"int","args":[],"kind":"method","signature":"int Squad::Player()","summary":{"en":"Handler for this function, int Squad::Player(Squad): decodes the player from the Squad value.","es":"Gestor de int Squad::Player(Squad): extrae el jugador del valor Squad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c7ab24ca4ac5ff","name":"Squad::No","member":"No","family":"Squad","returns":"int","args":[],"kind":"method","signature":"int Squad::No()","summary":{"en":"Squad No returns the twelve-bit packed squad index.","es":"No de Squad devuelve el índice de escuadra compactado de doce bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a85a8cfc007286","name":"Squad::Eval","member":"Eval","family":"Squad","returns":"int","args":[],"kind":"method","signature":"int Squad::Eval()","summary":{"en":"CKS scripting bridge returning the cached combat evaluation sum of a squad from offset [field].","es":"Acceso expuesto a los scripts CKS que devuelve la suma de evaluación de combate de un escuadrón almacenada en caché en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f4f4de70b800c3","name":"Squad::State","member":"State","family":"Squad","returns":"int","args":[],"kind":"method","signature":"int Squad::State()","summary":{"en":"Returns the squad's numeric state code as an integer obtained from an unsigned 16-bit value.","es":"Devuelve el código numérico de estado del escuadrón como un entero obtenido de un valor de 16 bits sin signo."},"notes":{"en":"Scripts compare this result with state constants such as SS_Approach and SS_ApproachWait. This entry does not enumerate the meaning of every code. Behavior with an invalid squad reference is not yet documented.","es":"Los scripts comparan este resultado con constantes de estado, como SS_Approach y SS_ApproachWait. Esta ficha no enumera el significado de todos los códigos. El comportamiento con una referencia de escuadrón no válida todavía no está documentado."},"examples":{},"technical":{"en":true}},{"id":"api-2031ffc8bbe6e4","name":"Squad::SetState","member":"SetState","family":"Squad","returns":"void","args":["int"],"kind":"method","signature":"void Squad::SetState(int)","summary":{"en":"updates a squad's internal state code and records the transition timestamp.","es":"Actualiza el código de estado interno de un escuadrón y registra el instante de la transición."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-89991932fcfb9d","name":"Squad::StateTime","member":"StateTime","family":"Squad","returns":"int","args":[],"kind":"method","signature":"int Squad::StateTime()","summary":{"en":"Squad StateTime returns game [field] minus resolved squad record [field].","es":"StateTime de Squad devuelve [campo] de la partida menos [campo] del registro de escuadrón resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-374958a8f7080b","name":"Squad::Size","member":"Size","family":"Squad","returns":"int","args":[],"kind":"method","signature":"int Squad::Size()","summary":{"en":"CKS scripting bridge and internal accessor returning the active unit count of a squad from offset [field].","es":"Acceso interno expuesto a los scripts CKS que devuelve el número de unidades activas de un escuadrón desde [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d2d7780ed7a631","name":"Squad::SrcGAIKA","member":"SrcGAIKA","family":"Squad","returns":"GAIKA","args":[],"kind":"method","signature":"GAIKA Squad::SrcGAIKA()","summary":{"en":"The SrcGAIKA and DestGAIKA handlers return the squad record's 16-bit fields at [field] and [field], respectively.","es":"Los gestores SrcGAIKA y DestGAIKA devuelven, respectivamente, los campos de 16 bits [campo] y [campo] del registro de escuadrón."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3d006a2a500561","name":"Squad::DestGAIKA","member":"DestGAIKA","family":"Squad","returns":"GAIKA","args":[],"kind":"method","signature":"GAIKA Squad::DestGAIKA()","summary":{"en":"The SrcGAIKA and DestGAIKA handlers return the squad record's 16-bit fields at [field] and [field], respectively.","es":"Los gestores SrcGAIKA y DestGAIKA devuelven, respectivamente, los campos de 16 bits [campo] y [campo] del registro de escuadrón."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-72d8174e5a6e50","name":"Squad::GAIKAIn","member":"GAIKAIn","family":"Squad","returns":"GAIKA","args":[],"kind":"method","signature":"GAIKA Squad::GAIKAIn()","summary":{"en":"Squad::GAIKAIn resolves the packed Squad value and returns the zero-extended 16-bit field at squad record [field].","es":"Squad::GAIKAIn resuelve el valor Squad empaquetado y devuelve el campo de 16 bits [campo] del registro de escuadrón, extendido con ceros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b1da87f19d121d","name":"Squad::Leader","member":"Leader","family":"Squad","returns":"Unit","args":[],"kind":"method","signature":"Unit Squad::Leader()","summary":{"en":"CKS scripting bridge resolving a squad's leading unit handle from the head of its member collection.","es":"Enlace de scripts CKS que obtiene la referencia de la unidad líder de una escuadra a partir del inicio de su colección de miembros."},"notes":{},"examples":{},"technical":{}},{"id":"api-cdab4678c65ace","name":"Squad::Units","member":"Units","family":"Squad","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Squad::Units()","summary":{"en":"Copies the Squad record's [field] member container into a new ObjList.","es":"Copia el contenedor de miembros [campo] del registro Squad en una ObjList nueva."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-99d1b5cc7a1636","name":"Squad::SetState","member":"SetState","family":"Squad","returns":"void","args":["int","int","int"],"kind":"method","signature":"void Squad::SetState(int, int, int)","summary":{"en":"Updates state, masked flags and a game-clock snapshot for a resolved Squad.","es":"Actualiza el estado, las marcas enmascaradas y una instantánea del reloj del juego para la Squad obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bddf559d4a3221","name":"Squad::ClrCmd","member":"ClrCmd","family":"Squad","returns":"void","args":["int","int","int"],"kind":"method","signature":"void Squad::ClrCmd(int, int, int)","summary":{"en":"Updates a squad command state and notifies member units.","es":"Actualiza el estado de órdenes de una escuadra y avisa a las unidades que la componen."},"notes":{},"examples":{},"technical":{}},{"id":"api-5f0f1450470c42","name":"Squad::SetCmd","member":"SetCmd","family":"Squad","returns":"void","args":["int","int","int","str"],"kind":"method","signature":"void Squad::SetCmd(int, int, int, str)","summary":{"en":"Updates squad state and flags and submits named zero-argument commands to member units.","es":"Actualiza el estado y las marcas de la escuadra y envía órdenes por nombre sin argumentos a las unidades que la componen."},"notes":{},"examples":{},"technical":{}},{"id":"api-7a58b8738c1408","name":"Squad::SetCmd","member":"SetCmd","family":"Squad","returns":"void","args":["int","int","int","str","point"],"kind":"method","signature":"void Squad::SetCmd(int, int, int, str, point)","summary":{"en":"Resolves the squad reference and delegates a command operation with target point coordinates.","es":"Resuelve la referencia del escuadrón y delega una operación de orden con las coordenadas del punto de destino."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2b3e93ab099be5","name":"Squad::SetCmd","member":"SetCmd","family":"Squad","returns":"void","args":["int","int","int","str","Obj"],"kind":"method","signature":"void Squad::SetCmd(int, int, int, str, Obj)","summary":{"en":"Updates squad command state and submits an object-target command to eligible member units.","es":"Actualiza el estado de órdenes de la escuadra y envía una orden dirigida a un objeto a las unidades elegibles que la componen."},"notes":{},"examples":{},"technical":{}},{"id":"api-dc71a0d248ed83","name":"ObjList::Siege","member":"Siege","family":"ObjList","returns":"void","args":["Obj","int","int"],"kind":"method","signature":"void ObjList::Siege(Obj, int, int)","summary":{"en":"The handler pops two integers and two object handles.","es":"El gestor extrae de la pila dos enteros y dos referencias a objetos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0afd9c6e0038c2","name":"Squad::Siege","member":"Siege","family":"Squad","returns":"void","args":["Obj","int","int","int"],"kind":"method","signature":"void Squad::Siege(Obj, int, int, int)","summary":{"en":"Stores the final state argument before validating the target and delegates member siege planning.","es":"Guarda el argumento de estado final antes de validar el destino y solicita la planificación del asedio de los miembros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8b1df849124b6b","name":"Squad::SendTo","member":"SendTo","family":"Squad","returns":"void","args":["GAIKA","int"],"kind":"method","signature":"void Squad::SendTo(GAIKA, int)","summary":{"en":"Validates a packed Squad handle and delegates a destination command for an active squad.","es":"Valida una referencia Squad compactada y solicita una orden de destino para una escuadra activa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ec0f95ea99f6d0","name":"Squad::AIDest","member":"AIDest","family":"Squad","returns":"GAIKA","args":[],"kind":"method","signature":"GAIKA Squad::AIDest()","summary":{"en":"Returns a squad's AI destination identifier with a stored-field fallback.","es":"Devuelve el identificador de destino de IA de una escuadra, con un campo almacenado como alternativa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-134def0846a39e","name":"Squad::OrderDest","member":"OrderDest","family":"Squad","returns":"GAIKA","args":[],"kind":"method","signature":"GAIKA Squad::OrderDest()","summary":{"en":"Resolves a Squad record and returns the order destination selected by a record helper.","es":"Obtiene un registro Squad y devuelve el destino de la orden seleccionado mediante una operación del registro."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-74935ba0cfcecb","name":"Squad::DelOrder","member":"DelOrder","family":"Squad","returns":"void","args":[],"kind":"method","signature":"void Squad::DelOrder()","summary":{"en":"Delegates a packed squad index to the player AI order-release helper.","es":"Pasa un índice compactado de escuadra a la operación de liberación de órdenes de la IA del jugador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9a90378451e8dc","name":"Squad::GetFlags","member":"GetFlags","family":"Squad","returns":"int","args":[],"kind":"method","signature":"int Squad::GetFlags()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-8a369b0635f605","name":"Squad::TestFlags","member":"TestFlags","family":"Squad","returns":"bool","args":["int"],"kind":"method","signature":"bool Squad::TestFlags(int)","summary":{"en":"Tests whether a squad satisfies all bits in a specified bitmask against its internal flags at offset [field].","es":"Comprueba si un escuadrón cumple todos los bits de una máscara indicada comparándolos con sus indicadores internos almacenados en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e4287e0532dd7d","name":"Squad::SetFlags","member":"SetFlags","family":"Squad","returns":"void","args":["int","int"],"kind":"method","signature":"void Squad::SetFlags(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-40a8644cb6acf1","name":"Squad::Lock","member":"Lock","family":"Squad","returns":"void","args":[],"kind":"method","signature":"void Squad::Lock()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-48bc1f57aa6d5f","name":"Squad::Unlock","member":"Unlock","family":"Squad","returns":"void","args":[],"kind":"method","signature":"void Squad::Unlock()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-cda904befc212f","name":"Squad::LastFightTime","member":"LastFightTime","family":"Squad","returns":"int","args":[],"kind":"method","signature":"int Squad::LastFightTime()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-2ea924f4cd3feb","name":"Squad::InHolder","member":"InHolder","family":"Squad","returns":"bool","args":[],"kind":"method","signature":"bool Squad::InHolder()","summary":{"en":"Scans squad members and rejects non-null entries with holder word FFFF.","es":"Recorre los miembros de la escuadra y rechaza las entradas no nulas cuyo valor de contenedor sea FFFF."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1b15ae266a5f4b","name":"Squad::pos","member":"pos","family":"Squad","returns":"point","args":[],"kind":"property","signature":"point Squad::pos()","summary":{"en":"Resolves a squad leader and returns its point or (-1,-1).","es":"Obtiene el líder de una escuadra y devuelve su punto o (-1,-1)."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0d0540b442ef66","name":"Squad::health","member":"health","family":"Squad","returns":"int","args":[],"kind":"property","signature":"int Squad::health()","summary":{"en":"Computes current health by summing the [field] dword of each non-null registry object in the resolved squad member traversal.","es":"Calcula la vida actual sumando el dword [campo] de cada objeto no nulo del registro al recorrer los miembros del escuadrón resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9becf93c3075ef","name":"Squad::maxhealth","member":"maxhealth","family":"Squad","returns":"int","args":[],"kind":"property","signature":"int Squad::maxhealth()","summary":{"en":"Computes maximum health by summing the [field] dword of each non-null registry object in the resolved squad member traversal.","es":"Calcula la vida máxima sumando el dword [campo] de cada objeto no nulo del registro al recorrer los miembros del escuadrón resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-31d7f6140eb605","name":"Squad::food","member":"food","family":"Squad","returns":"int","args":[],"kind":"property","signature":"int Squad::food()","summary":{"en":"Sums food dwords of resolved squad members.","es":"Suma los valores de comida de 32 bits de los miembros obtenidos de la escuadra."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3456851f83e3df","name":"Squad::FoodComing","member":"FoodComing","family":"Squad","returns":"int","args":[],"kind":"method","signature":"int Squad::FoodComing()","summary":{"en":"Sums food amounts of player wagons whose command target belongs to the requested squad.","es":"Suma las cantidades de comida de las unidades Wagon del jugador cuyo destino de orden pertenece a la escuadra indicada."},"notes":{},"examples":{},"technical":{}},{"id":"api-59dfc80d73fd60","name":"Squad::SendFoodWagon","member":"SendFoodWagon","family":"Squad","returns":"bool","args":["int","int"],"kind":"method","signature":"bool Squad::SendFoodWagon(int, int)","summary":{"en":"Selects an eligible nearby food wagon (scanning existing wagons and buildings that can spawn one) and constructs/enqueues a \"follow\" command targeting a hero; its own selection algorithm is substantially richer than a simple nearby-wagon scan.","es":"Selecciona una unidad Wagon de comida cercana y elegible, buscando entre las existentes y los edificios que pueden crear una, y construye y pone en cola una orden \"follow\" dirigida a un héroe; su algoritmo de selección es considerablemente más complejo que una simple búsqueda de Wagon cercanas."},"notes":{},"examples":{},"technical":{}},{"id":"api-4e2bc4d85bc6b9","name":"Squad::EvalAttach","member":"EvalAttach","family":"Squad","returns":"int","args":["Unit","int"],"kind":"method","signature":"int Squad::EvalAttach(Unit, int)","summary":{"en":"Scores a candidate unit using squad size, affiliation equality and its virtual level result.","es":"Puntúa una unidad candidata usando el tamaño de la escuadra, la igualdad de afiliación y el resultado de su nivel virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6406759692a3c2","name":"Squad::Count","member":"Count","family":"Squad","returns":"int","args":["str"],"kind":"method","signature":"int Squad::Count(str)","summary":{"en":"Counts squad members whose class template matches a named ancestry chain.","es":"Cuenta los miembros de la escuadra cuya plantilla de clase coincide con una cadena de ascendencia indicada por nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d351109f6e5898","name":"Squad::HasFreedom","member":"HasFreedom","family":"Squad","returns":"bool","args":[],"kind":"method","signature":"bool Squad::HasFreedom()","summary":{"en":"Scans members for a particular object flag or a nonzero class-query result.","es":"Examina los miembros para comprobar una determinada bandera del objeto o un resultado no nulo de consulta de clase."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a66d0fb5dbf0ca","name":"GAIKACount","member":"GAIKACount","family":"Global","returns":"int","args":[],"kind":"function","signature":"int GAIKACount()","summary":{"en":"Returns the number of GAIKA records in the shared AI record range.","es":"Devuelve el número de registros GAIKA del intervalo compartido de registros de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c344d0923e598e","name":"GetGAIKA","member":"GetGAIKA","family":"Global","returns":"GAIKA","args":["int"],"kind":"function","signature":"GAIKA GetGAIKA(int)","summary":{"en":"Leaves the four-byte argument slot unchanged so that its value becomes the GAIKA result.","es":"Deja intacta la posición de cuatro bytes del argumento, por lo que su valor pasa a ser el resultado GAIKA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3855112fba1edf","name":"GetGAIKA","member":"GetGAIKA","family":"Global","returns":"GAIKA","args":["Obj"],"kind":"function","signature":"GAIKA GetGAIKA(Obj)","summary":{"en":"Resolves an Obj handle and pushes the zero-extended low word returned by its object-position GAIKA helper.","es":"Resuelve una referencia Obj e introduce en la pila la palabra baja, extendida con ceros, que devuelve su operación auxiliar de GAIKA de posición del objeto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1c7e53d13d6d0c","name":"GetGAIKA","member":"GetGAIKA","family":"Global","returns":"GAIKA","args":["point"],"kind":"function","signature":"GAIKA GetGAIKA(point)","summary":{"en":"Obtains the GAIKA value associated with the point's coordinates in the AI map. Returns zero if that AI map is unavailable.","es":"Obtiene el valor GAIKA asociado a las coordenadas del punto en el mapa de IA. Devuelve cero si ese mapa de IA no está disponible."},"notes":{"en":"The result is obtained from an unsigned 16-bit value. Zero is a default return value in the case described, but it has not been established as a universally invalid GAIKA. Map topology and complete behavior for coordinates outside its bounds are not documented here.","es":"El resultado procede de un valor de 16 bits sin signo. Cero es un valor de retorno predeterminado en el caso descrito, pero no está demostrado que siempre represente un GAIKA no válido. La topología del mapa y el comportamiento completo con coordenadas fuera de sus límites no están documentados aquí."},"examples":{},"technical":{}},{"id":"api-38d0f9b05d7bd7","name":"GetGAIKA","member":"GetGAIKA","family":"Global","returns":"GAIKA","args":["int","int"],"kind":"function","signature":"GAIKA GetGAIKA(int, int)","summary":{"en":"Resolves two integer coordinates through the global AI map and returns a zero-extended 16-bit GAIKA value.","es":"Obtiene dos coordenadas enteras mediante el mapa global de IA y devuelve un valor GAIKA de 16 bits ampliado con ceros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6979b2a7f2c5fd","name":"LAIKA","member":"LAIKA","family":"Global","returns":"GAIKA","args":["int","int"],"kind":"function","signature":"GAIKA LAIKA(int, int)","summary":{"en":"Returns the first 16-bit value of the selected AI entry after checked player and index lookup, or zero on failure.","es":"Devuelve el primer valor de 16 bits de la entrada de IA seleccionada tras comprobar el jugador y el índice, o cero si falla la búsqueda."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c785be52156976","name":"GAIKA::ID","member":"ID","family":"GAIKA","returns":"int","args":[],"kind":"method","signature":"int GAIKA::ID()","summary":{"en":"Leaves the four-byte GAIKA receiver slot unchanged so that its value becomes the integer result.","es":"Deja intacta la posición de cuatro bytes del receptor GAIKA, por lo que su valor pasa a ser el resultado entero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dee86dd2faa3e0","name":"GAIKA::Empty","member":"Empty","family":"GAIKA","returns":"bool","args":[],"kind":"method","signature":"bool GAIKA::Empty()","summary":{"en":"GAIKA::Empty returns whether the selected global GAIKA record dword [field] is zero, with true on explicit resolution failure.","es":"GAIKA::Empty devuelve si el dword [campo] del registro global GAIKA seleccionado es cero; devuelve true ante un fallo explícito de resolución."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e82684ec24dcc6","name":"GAIKA::Type","member":"Type","family":"GAIKA","returns":"int","args":[],"kind":"method","signature":"int GAIKA::Type()","summary":{"en":"GAIKA::Type returns integer 0 or 1 according to whether global GAIKA record dword [field] is nonzero.","es":"GAIKA::Type devuelve el entero 0 o 1 según si el dword [campo] del registro global GAIKA es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6d4d8d3a7851ab","name":"GAIKA::Center","member":"Center","family":"GAIKA","returns":"point","args":[],"kind":"method","signature":"point GAIKA::Center()","summary":{"en":"GAIKA::Center copies dwords +8 and +12 from a resolved GAIKA record, returning a zero point if no record resolves.","es":"GAIKA::Center copia los valores de 32 bits situados a +8 y +12 del registro GAIKA obtenido; devuelve un punto cero si no se obtiene ningún registro."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-10552fa2b41179","name":"GAIKA::GetDestPoint","member":"GetDestPoint","family":"GAIKA","returns":"point","args":["Unit"],"kind":"method","signature":"point GAIKA::GetDestPoint(Unit)","summary":{"en":"Returns a stored destination or derives an approach point for selected building configurations.","es":"Devuelve un destino almacenado o calcula un punto de aproximación para determinadas configuraciones de edificios."},"notes":{},"examples":{},"technical":{}},{"id":"api-95865b7068620f","name":"GAIKA::settlement","member":"settlement","family":"GAIKA","returns":"Settlement","args":[],"kind":"property","signature":"Settlement GAIKA::settlement()","summary":{"en":"Returns the settlement handle attached to a GAIKA record, or a null handle.","es":"Devuelve la referencia del asentamiento asociada a un registro GAIKA, o una referencia nula."},"notes":{},"examples":{},"technical":{}},{"id":"api-2af7a1b0197bda","name":"GAIKA::GetSquads","member":"GetSquads","family":"GAIKA","returns":"void","args":["SquadList&"],"kind":"method","signature":"void GAIKA::GetSquads(SquadList&)","summary":{"en":"The two-argument GetSquads replaces its referenced list with a fresh list of every packed squad ID in record [field].","es":"La variante de GetSquads con dos argumentos sustituye la lista pasada por referencia por una lista nueva de todos los identificadores de escuadrón empaquetados del registro [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-99dde81257082c","name":"GAIKA::GetSquads","member":"GetSquads","family":"GAIKA","returns":"void","args":["SquadList&","int"],"kind":"method","signature":"void GAIKA::GetSquads(SquadList&, int)","summary":{"en":"The three-argument GetSquads replaces the referenced list and appends squad IDs whose nonzero [field] and computed category intersect its mask.","es":"La variante de GetSquads con tres argumentos sustituye la lista pasada por referencia y añade identificadores de escuadrón cuyo [campo] distinto de cero y categoría calculada se cruzan con su máscara."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0a293c07e8b35d","name":"GAIKA::GetSquads","member":"GetSquads","family":"GAIKA","returns":"void","args":["SquadList&","int","int"],"kind":"method","signature":"void GAIKA::GetSquads(SquadList&, int, int)","summary":{"en":"The four-argument GetSquads requires relation mask 1 before applying the category mask and rebuilding the output list.","es":"La variante de GetSquads con cuatro argumentos exige la máscara de relación 1 antes de aplicar la máscara de categoría y reconstruir la lista de salida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-27dda5133ef3a6","name":"GAIKA::GetSquads","member":"GetSquads","family":"GAIKA","returns":"void","args":["SquadList&","int","int","int"],"kind":"method","signature":"void GAIKA::GetSquads(SquadList&, int, int, int)","summary":{"en":"Builds a SquadList from GAIKA squads filtered by relation and destination masks.","es":"Construye una SquadList con escuadras de GAIKA filtradas por máscaras de relación y destino."},"notes":{},"examples":{},"technical":{}},{"id":"api-d91f772358de22","name":"GAIKA::Eval","member":"Eval","family":"GAIKA","returns":"int","args":["int"],"kind":"method","signature":"int GAIKA::Eval(int)","summary":{"en":"The two-argument Eval adds squad [field] values selected by category mask, with a separately gated attached-settlement contribution.","es":"La variante de Eval con dos argumentos suma los valores [campo] de los escuadrones seleccionados por la máscara de categoría, con una contribución del asentamiento asociado controlada por una condición independiente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-faca20e2ff91be","name":"GAIKA::Eval","member":"Eval","family":"GAIKA","returns":"int","args":["int","int"],"kind":"method","signature":"int GAIKA::Eval(int, int)","summary":{"en":"The three-argument Eval gates category-matching cached evaluation sums on relation mask 1 for the selected player.","es":"La variante de Eval con tres argumentos condiciona las sumas de evaluación almacenadas en caché que coinciden con la categoría a la máscara de relación 1 del jugador seleccionado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cca15bdbf433a0","name":"GAIKA::Eval","member":"Eval","family":"GAIKA","returns":"int","args":["int","int","int"],"kind":"method","signature":"int GAIKA::Eval(int, int, int)","summary":{"en":"Evaluates cached squad and conditional guard contributions under presence, player and relation controls.","es":"Evalúa las contribuciones almacenadas de las escuadras y, condicionalmente, de las guardias, bajo comprobaciones de presencia, jugador y relación."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8298fd848942f8","name":"GAIKA::Eval","member":"Eval","family":"GAIKA","returns":"void","args":["int","int","int&","int&","int&","int&"],"kind":"method","signature":"void GAIKA::Eval(int, int, int&, int&, int&, int&)","summary":{"en":"Accumulates three relation buckets and a conditional fourth squad subset into four referenced integers.","es":"Acumula tres grupos de relaciones y, condicionalmente, un cuarto subconjunto de escuadras en cuatro enteros pasados por referencia."},"notes":{},"examples":{},"technical":{}},{"id":"api-775ae4f2a3c524","name":"GAIKA::EvalNeighbors","member":"EvalNeighbors","family":"GAIKA","returns":"void","args":["int","int","int&","int&","int&","bool"],"kind":"method","signature":"void GAIKA::EvalNeighbors(int, int, int&, int&, int&, bool)","summary":{"en":"Traverses neighboring GAIKA records, filters them, and accumulates three referenced evaluation outputs.","es":"Recorre los registros GAIKA vecinos, los filtra y acumula tres salidas de evaluación pasadas por referencia."},"notes":{},"examples":{},"technical":{}},{"id":"api-7cfc6570fbdbcf","name":"GAIKA::Count","member":"Count","family":"GAIKA","returns":"void","args":["int","int","int&","int&","int&","int&"],"kind":"method","signature":"void GAIKA::Count(int, int, int&, int&, int&, int&)","summary":{"en":"The seven-argument Count fills four referenced accumulators selected by category mask and relation codes, leaving its fourth output unchanged on missing GAIKA.","es":"Count con siete argumentos rellena cuatro acumuladores pasados por referencia, seleccionados por una máscara de categorías y códigos de relación; deja su cuarta salida sin modificar si falta GAIKA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-49e7fcd53956f2","name":"GAIKA::GetPriority","member":"GetPriority","family":"GAIKA","returns":"int","args":["int"],"kind":"method","signature":"int GAIKA::GetPriority(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-75e7a2b3b0ce7f","name":"GAIKA::GetLAIKA","member":"GetLAIKA","family":"GAIKA","returns":"int","args":["int"],"kind":"method","signature":"int GAIKA::GetLAIKA(int)","summary":{"en":"GetLAIKA returns the zero-extended mapping word indexed by low16 GAIKA in the selected player's AI table, with zero for locally rejected cases.","es":"GetLAIKA devuelve la palabra de correspondencia, extendida con ceros, indexada por los 16 bits bajos de GAIKA en la tabla de IA del jugador seleccionado; devuelve cero para los casos rechazados localmente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2c5b52ff71d9ce","name":"GAIKA::CalcPriority","member":"CalcPriority","family":"GAIKA","returns":"int","args":["int"],"kind":"method","signature":"int GAIKA::CalcPriority(int)","summary":{"en":"Calls a selected priority script with a temporary referenced integer and returns its nonnegative contribution under the native dispatch gate.","es":"Ejecuta un script de prioridad seleccionado con un entero temporal pasado por referencia y devuelve su contribución no negativa si se cumple la condición interna de despacho."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-109f66db0f9fe1","name":"GAIKA::SetPriority","member":"SetPriority","family":"GAIKA","returns":"void","args":["int","int"],"kind":"method","signature":"void GAIKA::SetPriority(int, int)","summary":{"en":"SetPriority resolves low16 GAIKA through a player AI word mapping and calls the mapped-priority helper with the supplied priority.","es":"SetPriority resuelve los 16 bits bajos de GAIKA mediante una correspondencia de palabras de la IA del jugador y llama a la operación auxiliar de prioridad mapeada con la prioridad indicada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-98a1ea1c53381c","name":"GAIKA::Prioritized","member":"Prioritized","family":"GAIKA","returns":"bool","args":["int"],"kind":"method","signature":"bool GAIKA::Prioritized(int)","summary":{"en":"Looks up the selected AI table entry and returns bit zero of its stored 16-bit value.","es":"Busca la entrada seleccionada de la tabla de IA y devuelve el bit cero de su valor almacenado de 16 bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3b96545b889e54","name":"GAIKA::Explored","member":"Explored","family":"GAIKA","returns":"bool","args":["int"],"kind":"method","signature":"bool GAIKA::Explored(int)","summary":{"en":"Resolves a player's GAIKA-related AI record and returns a mode-dependent explored predicate.","es":"Obtiene un registro de IA del jugador relacionado con GAIKA y devuelve una comprobación de exploración dependiente del modo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4497a86cc9c70b","name":"GAIKA::Explore","member":"Explore","family":"GAIKA","returns":"void","args":["int","bool"],"kind":"method","signature":"void GAIKA::Explore(int, bool)","summary":{"en":"Sets or clears bit 1 in a validated per-player GAIKA record.","es":"Activa o desactiva el bit 1 de un registro GAIKA validado para el jugador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-41a85b9ffc1794","name":"GAIKA::CanExplore","member":"CanExplore","family":"GAIKA","returns":"bool","args":["int"],"kind":"method","signature":"bool GAIKA::CanExplore(int)","summary":{"en":"Selects adjacent or object-derived per-player descriptors passing a native exploration predicate.","es":"Selecciona descriptores por jugador adyacentes u obtenidos de un objeto que cumplen un predicado interno de exploración."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-23a6a71c49751e","name":"GAIKA::Revealed","member":"Revealed","family":"GAIKA","returns":"bool","args":["int"],"kind":"method","signature":"bool GAIKA::Revealed(int)","summary":{"en":"Resolves a player GAIKA record and delegates a mode-dependent Boolean predicate.","es":"Obtiene un registro GAIKA del jugador y solicita una comprobación booleana dependiente del modo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-89b1118b55cdef","name":"GAIKA::LastSeen","member":"LastSeen","family":"GAIKA","returns":"int","args":["int"],"kind":"method","signature":"int GAIKA::LastSeen(int)","summary":{"en":"GAIKA::LastSeen returns dword [field] of the mapped player record, or integer zero on explicit resolution failure.","es":"GAIKA::LastSeen devuelve el dword [campo] del registro de jugador mapeado, o el entero cero ante un fallo explícito de resolución."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a4afcccadc5425","name":"GAIKA::NoAttack","member":"NoAttack","family":"GAIKA","returns":"bool","args":["int"],"kind":"method","signature":"bool GAIKA::NoAttack(int)","summary":{"en":"Reads the no-attack mask in a byte of the resolved GAIKA record.","es":"Lee la máscara de no atacar en un byte del registro GAIKA resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d1d4fca9f83240","name":"GAIKA::SetNoAttack","member":"SetNoAttack","family":"GAIKA","returns":"void","args":["int","bool"],"kind":"method","signature":"void GAIKA::SetNoAttack(int, bool)","summary":{"en":"Updates the no-attack mask in a byte of the resolved GAIKA record.","es":"Actualiza la máscara de no atacar en un byte del registro GAIKA resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-80658c7223813b","name":"GAIKA::NoRecruit","member":"NoRecruit","family":"GAIKA","returns":"bool","args":["int"],"kind":"method","signature":"bool GAIKA::NoRecruit(int)","summary":{"en":"Reads the no-recruit mask in a byte of the mapped player record.","es":"Lee la máscara de no reclutar en un byte del registro del jugador asociado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ce8352fe4a82e4","name":"GAIKA::SetNoRecruit","member":"SetNoRecruit","family":"GAIKA","returns":"void","args":["int","bool"],"kind":"method","signature":"void GAIKA::SetNoRecruit(int, bool)","summary":{"en":"Updates the no-recruit mask in a byte of the mapped player record.","es":"Actualiza la máscara de no reclutar en un byte del registro del jugador asociado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-19d1d2ac5f7524","name":"GAIKA::GetDistToPlayers","member":"GetDistToPlayers","family":"GAIKA","returns":"void","args":["int","int&","int&","int&"],"kind":"method","signature":"void GAIKA::GetDistToPlayers(int, int&, int&, int&)","summary":{"en":"Scans town halls and reports minimum weighted distances for three diplomatic relation categories.","es":"Recorre los ayuntamientos e informa de las distancias ponderadas mínimas para tres categorías de relación diplomática."},"notes":{},"examples":{},"technical":{}},{"id":"api-c20814590c5e9b","name":"GAIKA::GetDistToArmies","member":"GetDistToArmies","family":"GAIKA","returns":"int","args":["int"],"kind":"method","signature":"int GAIKA::GetDistToArmies(int)","summary":{"en":"Reduces helper distances over qualifying squads from sixteen player slots, with a 32000 initial cap.","es":"Reduce los valores de distancia calculados para las escuadras que cumplen las condiciones entre dieciséis posiciones de jugador, con un límite inicial de 32000."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cbf558d0a283aa","name":"GAIKA::Count","member":"Count","family":"GAIKA","returns":"int","args":["int","int","str"],"kind":"method","signature":"int GAIKA::Count(int, int, str)","summary":{"en":"The string Count returns the number of selected squad members whose class template inherits from the requested class descriptor, with a gated Sentry contribution.","es":"Count con texto devuelve el número de miembros seleccionados de la escuadra cuya plantilla de clase deriva del descriptor de clase indicado, con una contribución de Sentry condicionada por comprobaciones."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4d5242a72d91cd","name":"GAIKA::MinNeed","member":"MinNeed","family":"GAIKA","returns":"int","args":["int","int","int","int"],"kind":"method","signature":"int GAIKA::MinNeed(int, int, int, int)","summary":{"en":"Scales a scripted army-need value by an AI table divisor.","es":"Escala un valor de necesidad militar definido por scripts mediante un divisor de una tabla de IA."},"notes":{},"examples":{},"technical":{}},{"id":"api-798a3e96e82c62","name":"GAIKA::MaxNeed","member":"MaxNeed","family":"GAIKA","returns":"int","args":["int","int","int","int"],"kind":"method","signature":"int GAIKA::MaxNeed(int, int, int, int)","summary":{"en":"Scales a helper result by the selected per-player GAIKA divisor with unsigned division and a minimum nonzero quotient.","es":"Escala un resultado auxiliar mediante el divisor GAIKA seleccionado por jugador, con división sin signo y un cociente mínimo distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c9893aaa3e067a","name":"GAIKA::Recruit","member":"Recruit","family":"GAIKA","returns":"int","args":["int","int","int","int"],"kind":"method","signature":"int GAIKA::Recruit(int, int, int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-d09ef484b034f0","name":"GAIKA::GetStrat","member":"GetStrat","family":"GAIKA","returns":"int","args":["int"],"kind":"method","signature":"int GAIKA::GetStrat(int)","summary":{"en":"Delegates a GAIKA value and player index to a strategy-script helper and returns its low-word result.","es":"Pasa un valor GAIKA y un índice de jugador a una operación de scripts de estrategia y devuelve los 16 bits inferiores del resultado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e6c959662f0096","name":"GAIKA::StratRunning","member":"StratRunning","family":"GAIKA","returns":"int","args":["int"],"kind":"method","signature":"int GAIKA::StratRunning(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-7b4c47f5c7ea65","name":"GAIKA::RunStrat","member":"RunStrat","family":"GAIKA","returns":"void","args":["int","int"],"kind":"method","signature":"void GAIKA::RunStrat(int, int)","summary":{"en":"Resolves a per-player AI strategy context and delegates a GAIKA strategy assignment.","es":"Obtiene un contexto de estrategia de IA por jugador y solicita una asignación de estrategia GAIKA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b08bfaffc98751","name":"GAIKA::AllEnemiesInHolder","member":"AllEnemiesInHolder","family":"GAIKA","returns":"bool","args":["int"],"kind":"method","signature":"bool GAIKA::AllEnemiesInHolder(int)","summary":{"en":"Reports the negation of an accumulator set by qualifying squads with a nonempty [field] member and leader word[field] equal to FFFF.","es":"Devuelve la negación de un acumulador establecido por los escuadrones que cumplen las condiciones: un miembro [campo] no vacío y la palabra de líder [campo] igual a FFFF."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-feea122d804406","name":"GAIKA::MilitaryPresence","member":"MilitaryPresence","family":"GAIKA","returns":"bool","args":["int"],"kind":"method","signature":"bool GAIKA::MilitaryPresence(int)","summary":{"en":"Returns true for a selected squad with clear flag bit4 or for qualifying positive holder guard count.","es":"Devuelve true para una escuadra seleccionada cuyo bit 4 está desactivado, o cuando se cumple la condición de un recuento positivo de guardias del contenedor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-db9d6cec57588e","name":"GAIKA::Neighbors","member":"Neighbors","family":"GAIKA","returns":"int","args":[],"kind":"method","signature":"int GAIKA::Neighbors()","summary":{"en":"GAIKA::Neighbors returns global GAIKA record word [field] as a four-byte integer, or zero on explicit resolution failure.","es":"GAIKA::Neighbors devuelve la palabra [campo] del registro global GAIKA como entero de cuatro bytes, o cero ante un fallo explícito de resolución."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-18d46de8cf249b","name":"GAIKA::Neighbor","member":"Neighbor","family":"GAIKA","returns":"GAIKA","args":["int"],"kind":"method","signature":"GAIKA GAIKA::Neighbor(int)","summary":{"en":"GAIKA::Neighbor reads a neighbor word for signed index from zero through the stored count inclusive.","es":"GAIKA::Neighbor lee un valor de vecino de 16 bits para un índice con signo comprendido entre cero y el recuento almacenado, ambos incluidos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-15e6bf21eb4367","name":"SetNoAttack","member":"SetNoAttack","family":"Global","returns":"void","args":["str","int","bool"],"kind":"function","signature":"void SetNoAttack(str, int, bool)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-398f832428d363","name":"SetNoRecruit","member":"SetNoRecruit","family":"Global","returns":"void","args":["str","int","bool"],"kind":"function","signature":"void SetNoRecruit(str, int, bool)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-67e54e3effccb9","name":"AreaAINoRecruit","member":"AreaAINoRecruit","family":"Global","returns":"void","args":["str","int","bool"],"kind":"function","signature":"void AreaAINoRecruit(str, int, bool)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-d288bfadc5b32d","name":"AreaAINoAttack","member":"AreaAINoAttack","family":"Global","returns":"void","args":["str","int","bool"],"kind":"function","signature":"void AreaAINoAttack(str, int, bool)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-5debc84e94b696","name":"AreaAIMaxPriority","member":"AreaAIMaxPriority","family":"Global","returns":"void","args":["str","int","bool"],"kind":"function","signature":"void AreaAIMaxPriority(str, int, bool)","summary":{"en":"Applies priority 100 or -1 to player AI records whose points lie inside a named area.","es":"Aplica la prioridad 100 o -1 a los registros de IA del jugador cuyos puntos están dentro de un área con nombre."},"notes":{},"examples":{},"technical":{}},{"id":"api-741c7ba0d336e5","name":"AreaAISetAttackOptimism","member":"AreaAISetAttackOptimism","family":"Global","returns":"void","args":["str","int","int"],"kind":"function","signature":"void AreaAISetAttackOptimism(str, int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-1ffd0d3092213b","name":"SetMAIKA","member":"SetMAIKA","family":"Global","returns":"void","args":["GAIKA","GAIKA","GAIKA"],"kind":"function","signature":"void SetMAIKA(GAIKA, GAIKA, GAIKA)","summary":{"en":"Validates three distinct GAIKA identifiers and delegates a relation update to the global AI context.","es":"Valida tres identificadores GAIKA distintos y solicita una actualización de relación en el contexto global de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d115a1dcb4c7b3","name":"DumpMAIKA","member":"DumpMAIKA","family":"Global","returns":"void","args":["int","int","int"],"kind":"function","signature":"void DumpMAIKA(int, int, int)","summary":{"en":"DumpMAIKA filters and visits six-byte route records.","es":"DumpMAIKA filtra y recorre registros de ruta de seis bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c1556f7648c928","name":"Settlement::UnitsInHolderEval","member":"UnitsInHolderEval","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::UnitsInHolderEval()","summary":{"en":"Sums a native evaluation value across live members of the settlement holder.","es":"Suma un valor interno de evaluación de los miembros vivos del contenedor del asentamiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1fc6f539a5ed33","name":"SquadList::IsValid","member":"IsValid","family":"SquadList","returns":"bool","args":[],"kind":"method","signature":"bool SquadList::IsValid()","summary":{"en":"Returns whether the signed SquadList index resolves within the native list-entry table.","es":"Devuelve si el índice con signo de SquadList se puede resolver dentro de la tabla interna de entradas de lista."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c3e7368655eed6","name":"SquadList::EOL","member":"EOL","family":"SquadList","returns":"bool","args":[],"kind":"method","signature":"bool SquadList::EOL()","summary":{"en":"Tests whether a squad-list iterator is at its end.","es":"Comprueba si el iterador de una lista de escuadras está al final."},"notes":{},"examples":{},"technical":{}},{"id":"api-02c1a8e345b2b6","name":"SquadList::Rewind","member":"Rewind","family":"SquadList","returns":"bool","args":[],"kind":"method","signature":"bool SquadList::Rewind()","summary":{"en":"Resolves a SquadList and resets its cursor to the start, returning whether an element is available.","es":"Obtiene una SquadList y reinicia su cursor al principio; devuelve si hay un elemento disponible."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6ccdd77461f354","name":"SquadList::Next","member":"Next","family":"SquadList","returns":"bool","args":[],"kind":"method","signature":"bool SquadList::Next()","summary":{"en":"Resolves a SquadList value and returns whether its cursor advance helper finds another element.","es":"Obtiene un valor SquadList y devuelve si la operación de avance del cursor encuentra otro elemento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2e9cdd2abbaab4","name":"SquadList::Cur","member":"Cur","family":"SquadList","returns":"Squad","args":[],"kind":"method","signature":"Squad SquadList::Cur()","summary":{"en":"Resolves a SquadList cursor and returns the current packed Squad value from its chunked storage.","es":"Obtiene el cursor de una SquadList y devuelve el valor Squad compactado actual de su almacenamiento por bloques."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3684c35ef3aeee","name":"SquadList::Size","member":"Size","family":"SquadList","returns":"int","args":[],"kind":"method","signature":"int SquadList::Size()","summary":{"en":"Returns the backing collection count for a resolved active SquadList cursor, otherwise zero.","es":"Devuelve el recuento de la colección subyacente para el cursor activo obtenido de SquadList; en otro caso devuelve cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7ee8549008a5e1","name":"SquadList::Eval","member":"Eval","family":"SquadList","returns":"int","args":[],"kind":"method","signature":"int SquadList::Eval()","summary":{"en":"Returns the native evaluation helper result for a resolved active list, otherwise zero.","es":"Devuelve el resultado de la operación interna de evaluación para una lista activa resuelta; en otro caso devuelve cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6431bd14e790ba","name":"SquadList::Lock","member":"Lock","family":"SquadList","returns":"void","args":[],"kind":"method","signature":"void SquadList::Lock()","summary":{"en":"Sets bit 3 on every squad record referenced by a resolved SquadList.","es":"Activa el bit 3 de cada registro de escuadra al que hace referencia la SquadList obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cec4eca78743fe","name":"SquadList::Unlock","member":"Unlock","family":"SquadList","returns":"void","args":[],"kind":"method","signature":"void SquadList::Unlock()","summary":{"en":"Clears bit 3 on every squad record referenced by a resolved SquadList.","es":"Desactiva el bit 3 de cada registro de escuadra al que hace referencia la SquadList obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-90ad266bdc3d3f","name":"SquadList::Add","member":"Add","family":"SquadList","returns":"void","args":["Squad"],"kind":"method","signature":"void SquadList::Add(Squad)","summary":{"en":"Creates a list entry when necessary and passes the supplied Squad low word to its append helper.","es":"Crea una entrada de lista cuando hace falta y pasa los 16 bits inferiores de Squad a la operación que la añade."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3279ccf46c0ed6","name":"SquadList::Select","member":"Select","family":"SquadList","returns":"void","args":["int"],"kind":"method","signature":"void SquadList::Select(int)","summary":{"en":"Reconciles the current player selection and adds resolved members of the supplied squad list.","es":"Reconcilia la selección del jugador actual y añade los miembros obtenidos de la lista de escuadras indicada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5873c9346576e6","name":"SquadList::Train","member":"Train","family":"SquadList","returns":"int","args":["int","int","int","int","Obj"],"kind":"method","signature":"int SquadList::Train(int, int, int, int, Obj)","summary":{"en":"Partitions squad members and forwards train and enter state arguments to separate regrouping calls.","es":"Divide los miembros de la escuadra y pasa los argumentos de estado de entrenamiento y entrada a llamadas de reagrupamiento separadas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2c37e6b0fe49ff","name":"Settlement::NumTowers","member":"NumTowers","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::NumTowers()","summary":{"en":"Counts settlement members whose class inherits from Tower.","es":"Cuenta los miembros del asentamiento cuya clase deriva de Tower."},"notes":{},"examples":{},"technical":{}},{"id":"api-9935dd4a15d9a3","name":"Settlement::NumTowersBroken","member":"NumTowersBroken","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::NumTowersBroken()","summary":{"en":"NumTowersBroken counts live Tower descendants whose broken-state field equals 3.","es":"NumTowersBroken cuenta los objetos vivos derivados de Tower cuyo campo de estado de rotura es igual a 3."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0b00e0e7ebfe11","name":"Settlement::NumGates","member":"NumGates","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::NumGates()","summary":{"en":"Counts live settlement members that can be converted to Gate.","es":"Cuenta los miembros vivos del asentamiento que pueden convertirse a Gate."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-48e815317c8f42","name":"Settlement::NumGatesBroken","member":"NumGatesBroken","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::NumGatesBroken()","summary":{"en":"Counts settlement members convertible to Gate whose original-object broken state is 3.","es":"Cuenta los miembros del asentamiento convertibles a Gate cuyo estado de rotura del objeto original es 3."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b01b99cbc5b0f4","name":"Settlement::EvalDefences","member":"EvalDefences","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::EvalDefences()","summary":{"en":"EvalDefences computes a presence score of 300 or 1000 for towers plus 4000 for gates.","es":"EvalDefences calcula una puntuación de presencia de 300 o 1000 para las torres, más 4000 para las puertas."},"notes":{},"examples":{},"technical":{}},{"id":"api-43d93d07274672","name":"Settlement::FindCatapultSpot","member":"FindCatapultSpot","family":"Settlement","returns":"point","args":["point"],"kind":"method","signature":"point Settlement::FindCatapultSpot(point)","summary":{"en":"CKS adapter with unreconciled twenty-byte native input consumption that forwards an extra selector to class lookup and cached point selection.","es":"Adaptador CKS cuyo consumo interno de veinte bytes de entrada todavía no está reconciliado; pasa un selector adicional a la búsqueda de clase y a la selección de un punto almacenado en caché."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d42c6c5b44b555","name":"Settlement::BestGate","member":"BestGate","family":"Settlement","returns":"Gate","args":["point"],"kind":"method","signature":"Gate Settlement::BestGate(point)","summary":{"en":"BestGate selects the first Gate with a strictly smaller native position score plus signed field [field] divided by five.","es":"BestGate selecciona el primer Gate cuya puntuación interna de posición, sumada al campo con signo [campo] dividido entre cinco, sea estrictamente menor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4e6e20130a55d2","name":"Settlement::OpenAllGates","member":"OpenAllGates","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::OpenAllGates()","summary":{"en":"OpenAllGates traverses gate members and submits opengate commands for gates whose target-state field is not 1.","es":"OpenAllGates recorre los miembros de tipo puerta y envía órdenes opengate a las puertas cuyo campo de estado de destino no sea 1."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d82b5d5dff5890","name":"Settlement::IdleAllGates","member":"IdleAllGates","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::IdleAllGates()","summary":{"en":"IdleAllGates invokes gate virtual slot [field] with argument 1 when its current string does not equal idle.","es":"IdleAllGates invoca la operación virtual [campo] de la puerta con argumento 1 cuando su texto actual no coincide con idle."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d7113c2a6d1f4c","name":"Building::IsVeryBroken","member":"IsVeryBroken","family":"Building","returns":"bool","args":[],"kind":"method","signature":"bool Building::IsVeryBroken()","summary":{"en":"Building::IsVeryBroken returns true when current health is below integer maximum health divided by twenty.","es":"Building::IsVeryBroken devuelve true cuando la vida actual es menor que la vida máxima entera dividida entre veinte."},"notes":{},"examples":{},"technical":{}},{"id":"api-f75d77a5743046","name":"Settlement::CanBeCaptured","member":"CanBeCaptured","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::CanBeCaptured()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-3f314106f674bd","name":"Settlement::IsStronghold","member":"IsStronghold","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsStronghold()","summary":{"en":"Calls the BaseTownhall-family predicate on a resolved settlement.","es":"Aplica el predicado de la familia BaseTownhall a un asentamiento resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f3c8ce6dd9f384","name":"Settlement::IsVillage","member":"IsVillage","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsVillage()","summary":{"en":"Returns the village-class predicate for a valid Settlement.","es":"Devuelve la comprobación de clase de aldea para un Settlement válido."},"notes":{},"examples":{},"technical":{}},{"id":"api-dca547de6794a5","name":"Settlement::IsOutpost","member":"IsOutpost","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsOutpost()","summary":{"en":"Tests whether the supplied settlement object inherits from the Outpost script class.","es":"Comprueba si el objeto de asentamiento indicado deriva de la clase de scripts Outpost."},"notes":{},"examples":{},"technical":{}},{"id":"api-df26d57c2655d6","name":"Settlement::IsTTent","member":"IsTTent","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsTTent()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-3dd130c08c78cd","name":"Settlement::IsShipyard","member":"IsShipyard","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsShipyard()","summary":{"en":"Returns whether the linked object template inherits BaseShipyard, including the ordinary first-use literal lookup and cache path.","es":"Devuelve si la plantilla del objeto asociado deriva de BaseShipyard, incluyendo la búsqueda inicial del literal y su almacenamiento para usos posteriores."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-84a65044c6684c","name":"Settlement::IsAlly","member":"IsAlly","family":"Settlement","returns":"bool","args":["int"],"kind":"method","signature":"bool Settlement::IsAlly(int)","summary":{"en":"Settlement IsAlly resolves the settlement owner and tests bit zero of the indexed player-relation table entry.","es":"IsAlly de Settlement obtiene el propietario del asentamiento y comprueba el bit cero de la entrada indexada de la tabla de relaciones del jugador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-273f6884ec5557","name":"Settlement::IsEnemy","member":"IsEnemy","family":"Settlement","returns":"bool","args":["int"],"kind":"method","signature":"bool Settlement::IsEnemy(int)","summary":{"en":"Returns the inverse low-bit predicate from a player relation table for a valid settlement.","es":"Devuelve la condición inversa del bit inferior de una tabla de relaciones del jugador para un asentamiento válido."},"notes":{},"examples":{},"technical":{}},{"id":"api-7b8e7fd6707abf","name":"Settlement::IsOwn","member":"IsOwn","family":"Settlement","returns":"bool","args":["int"],"kind":"method","signature":"bool Settlement::IsOwn(int)","summary":{"en":"Settlement::IsOwn returns true only when a valid Settlement owner's zero-based index equals idPlayer minus one.","es":"Settlement::IsOwn devuelve true únicamente cuando el índice del propietario de un Settlement válido, numerado desde cero, es igual a idPlayer menos uno."},"notes":{},"examples":{},"technical":{}},{"id":"api-03c6c22368664b","name":"Settlement::IsIndependent","member":"IsIndependent","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsIndependent()","summary":{"en":"Returns true when the resolved settlement has linked owner code 14 or 15.","es":"Devuelve true si el asentamiento resuelto tiene asociado el código de propietario 14 o 15."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bde65fa34c1b6e","name":"Settlement::IsIndependentGuarded","member":"IsIndependentGuarded","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsIndependentGuarded()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-f8b50b30c29517","name":"Settlement::GetRel","member":"GetRel","family":"Settlement","returns":"int","args":["int"],"kind":"method","signature":"int Settlement::GetRel(int)","summary":{"en":"Returns a numeric relation code from the associated owner index and the queried player matrix bit.","es":"Devuelve un código numérico de relación a partir del índice de propietario asociado y del bit de la matriz del jugador consultado."},"notes":{},"examples":{},"technical":{}},{"id":"api-47b79998e0effe","name":"Settlement::MaxPopulation","member":"MaxPopulation","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::MaxPopulation()","summary":{"en":"Settlement::MaxPopulation resolves a Settlement and returns its dword at [field], with zero as the invalid-object fallback.","es":"Settlement::MaxPopulation resuelve un Settlement y devuelve su dword [campo]; usa cero como valor alternativo para un objeto no válido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dc304a2296325d","name":"Settlement::SupplyCount","member":"SupplyCount","family":"Settlement","returns":"int","args":["str"],"kind":"method","signature":"int Settlement::SupplyCount(str)","summary":{"en":"Counts same-owner buildings of a requested class that are associated with the specified settlement.","es":"Cuenta los edificios de la clase indicada que tienen el mismo propietario y están asociados al asentamiento indicado."},"notes":{},"examples":{},"technical":{}},{"id":"api-682ce32f024d9a","name":"Settlement::BestToSupply","member":"BestToSupply","family":"Settlement","returns":"Settlement","args":[],"kind":"method","signature":"Settlement Settlement::BestToSupply()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-8b70d4dc59b05f","name":"SettlementCount","member":"SettlementCount","family":"Global","returns":"int","args":["point","int","str"],"kind":"function","signature":"int SettlementCount(point, int, str)","summary":{"en":"SettlementCount counts class-matching settlements below a strict unsigned metric threshold.","es":"SettlementCount cuenta los asentamientos que coinciden con la clase y están por debajo de un umbral estricto de medida sin signo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c4de5a2f2cec63","name":"FindRuins","member":"FindRuins","family":"Global","returns":"Obj","args":["point","int","int"],"kind":"function","signature":"Obj FindRuins(point, int, int)","summary":{"en":"Scans settlement slots and returns the last randomly accepted matching ruins handle.","es":"Recorre las posiciones de asentamientos y devuelve la última referencia de ruinas coincidente aceptada aleatoriamente."},"notes":{},"examples":{},"technical":{}},{"id":"api-0b86264fb10210","name":"AttackSetForTraining","member":"AttackSetForTraining","family":"Global","returns":"bool","args":["Obj","point","int"],"kind":"function","signature":"bool AttackSetForTraining(Obj, point, int)","summary":{"en":"Selects a prioritized nearby training target and queues approach and engagement commands.","es":"Selecciona un objetivo de entrenamiento cercano según su prioridad y pone en cola las órdenes de aproximación y enfrentamiento."},"notes":{},"examples":{},"technical":{}},{"id":"api-03896bbe91213b","name":"Unit::BestTargetInGAIKA","member":"BestTargetInGAIKA","family":"Unit","returns":"Obj","args":[],"kind":"method","signature":"Obj Unit::BestTargetInGAIKA()","summary":{"en":"Returns a target object handle selected by the GAIKA target search helper for a resolved Unit.","es":"Devuelve la referencia de un objetivo seleccionado por la búsqueda de objetivos GAIKA para la Unit obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5d909a0083cf9e","name":"Unit::AI","member":"AI","family":"Unit","returns":"bool","args":[],"kind":"method","signature":"bool Unit::AI()","summary":{"en":"Queries whether a unit is controlled by AI by verifying player AI state and checking the squad record's active AI flag.","es":"Comprueba si una unidad está controlada por IA verificando el estado de IA del jugador y la marca de IA activa del registro de la escuadra."},"notes":{},"examples":{},"technical":{}},{"id":"api-e5a5a7ee4a7f49","name":"AIRun","member":"AIRun","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int AIRun(str)","summary":{"en":"Starts a named AI script task in the current player context and returns its task identifier or -1.","es":"Inicia una tarea de script de IA por nombre en el contexto del jugador actual y devuelve su identificador de tarea o -1."},"notes":{},"examples":{},"technical":{}},{"id":"api-7528c05de9ef18","name":"AIRun","member":"AIRun","family":"Global","returns":"int","args":["str","Settlement","ObjList","Obj","int"],"kind":"function","signature":"int AIRun(str, Settlement, ObjList, Obj, int)","summary":{"en":"Starts a typed AI script task in the current script player's AI context and returns its task identifier.","es":"Inicia una tarea de script de IA por tipo en el contexto de IA del jugador del script actual y devuelve su identificador de tarea."},"notes":{},"examples":{},"technical":{}},{"id":"api-c25f150fb4229b","name":"AIRun","member":"AIRun","family":"Global","returns":"int","args":["int","str","Settlement","ObjList","Obj","int"],"kind":"function","signature":"int AIRun(int, str, Settlement, ObjList, Obj, int)","summary":{"en":"Attempts to start an AI script task for the supplied one-based player and returns its task identifier or -1.","es":"Intenta iniciar una tarea de script de IA para el jugador indicado, numerado desde uno, y devuelve el identificador de tarea o -1."},"notes":{},"examples":{},"technical":{}},{"id":"api-374ab22a2b4aef","name":"AIBreakScript","member":"AIBreakScript","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void AIBreakScript(int)","summary":{"en":"Checks the current script player's AI context and delegates the input script ID to an AI break helper.","es":"Comprueba el contexto de IA del jugador del script actual y pasa el identificador de script indicado a una operación de interrupción de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8d61aa609997fe","name":"AIBreakScript","member":"AIBreakScript","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void AIBreakScript(int, int)","summary":{"en":"Routes an interruption request for the identified script to the specified player's AI system. Arguments are the player number followed by the script ID.","es":"Encamina al sistema de IA del jugador indicado una solicitud de interrupción para el script identificado. Los argumentos son el número de jugador y el identificador del script, en ese orden."},"notes":{"en":"The request is routed when the corresponding AI context exists. Immediate interruption and effects on pending scripts or tasks are not documented. The player-number check does not cover every invalid value; use valid player numbers.","es":"La solicitud se encamina cuando existe el contexto de IA correspondiente. No está documentado que la interrupción sea inmediata ni cómo afecta a los scripts o tareas pendientes. La comprobación del número de jugador no cubre todos los valores no válidos; deben utilizarse números de jugador válidos."},"examples":{},"technical":{"en":true}},{"id":"api-2a920d1e6bfd55","name":"AIExecCmd","member":"AIExecCmd","family":"Global","returns":"void","args":["Obj","str"],"kind":"function","signature":"void AIExecCmd(Obj, str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-b66350e83a9ffd","name":"IsAIShow","member":"IsAIShow","family":"Global","returns":"void","args":[],"kind":"function","signature":"void IsAIShow()","summary":{"en":"IsAIShow physically pushes one equality byte.","es":"IsAIShow introduce físicamente en la pila un byte con el resultado de una comparación de igualdad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c8981a3a5015b7","name":"ScrollTo","member":"ScrollTo","family":"Global","returns":"void","args":["point","int"],"kind":"function","signature":"void ScrollTo(point, int)","summary":{"en":"Uses a persistent blocking frame to interpolate a projected viewport center and schedule retries.","es":"Usa un marco bloqueante persistente para interpolar el centro proyectado de la vista y programar reintentos."},"notes":{},"examples":{},"technical":{}},{"id":"api-e52da809a96231","name":"Settlement::BestBarrack","member":"BestBarrack","family":"Settlement","returns":"Barrack","args":["int"],"kind":"method","signature":"Barrack Settlement::BestBarrack(int)","summary":{"en":"Selects an eligible barracks in the settlement with the lowest score accepted by its selection procedure. Returns an invalid reference if no candidate is selected.","es":"Selecciona un cuartel elegible del asentamiento con la menor puntuación admitida por su procedimiento de selección. Devuelve una referencia no válida si no selecciona ningún candidato."},"notes":{"en":"Selection filters settlement members and excludes barracks in a particular state. The exact meaning of that state, the score, and the integer argument is not fully documented; this entry does not identify them as distance, level, or unit count.","es":"La selección filtra los miembros del asentamiento y descarta los cuarteles en un determinado estado. El significado exacto de ese estado, de la puntuación y del argumento entero no está completamente documentado; esta ficha no lo identifica como distancia, nivel ni número de unidades."},"examples":{},"technical":{}},{"id":"api-dee774963f4c12","name":"GetGaikaCenter","member":"GetGaikaCenter","family":"Global","returns":"point","args":["int"],"kind":"function","signature":"point GetGaikaCenter(int)","summary":{"en":"Returns the point fields of a record selected by the low 16 bits of the input.","es":"Devuelve los campos de punto del registro seleccionado por los 16 bits inferiores de la entrada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8fe16948c7a6d1","name":"GetSquadCenter","member":"GetSquadCenter","family":"Global","returns":"point","args":["int","int"],"kind":"function","signature":"point GetSquadCenter(int, int)","summary":{"en":"Averages resolved squad-member coordinates using unsigned division by the stored total count.","es":"Calcula la media de las coordenadas de los miembros de escuadra obtenidos, usando una división sin signo por el recuento total almacenado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4ee1428f78877c","name":"Settlement::FindBuilding","member":"FindBuilding","family":"Settlement","returns":"Building","args":["str"],"kind":"method","signature":"Building Settlement::FindBuilding(str)","summary":{"en":"Returns the first settlement member whose template derives from a requested class name.","es":"Devuelve el primer miembro del asentamiento cuya plantilla deriva de la clase indicada por nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5b416aa50ef555","name":"Settlement::FindResearchLab","member":"FindResearchLab","family":"Settlement","returns":"Building","args":["str"],"kind":"method","signature":"Building Settlement::FindResearchLab(str)","summary":{"en":"Finds a unit linked to a named research descriptor and returns its Building handle.","es":"Busca una unidad asociada a un descriptor de investigación por nombre y devuelve su referencia Building."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6cfc6893573fdb","name":"Building::IsBarrack","member":"IsBarrack","family":"Building","returns":"bool","args":[],"kind":"method","signature":"bool Building::IsBarrack()","summary":{"en":"Evaluates a Building through the native barracks-family class predicate and returns a VM boolean.","es":"Evalúa un Building mediante el predicado interno de clase de la familia de cuarteles y devuelve un booleano de la máquina virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-61d2b7f04a1a17","name":"SetToIdx","member":"SetToIdx","family":"Global","returns":"int","args":["Settlement"],"kind":"function","signature":"int SetToIdx(Settlement)","summary":{"en":"SetToIdx reads the resolved Settlement slot-index field.","es":"SetToIdx lee el campo de índice de posición del Settlement obtenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-26a63bd6803875","name":"IdxToSet","member":"IdxToSet","family":"Global","returns":"Settlement","args":["int"],"kind":"function","signature":"Settlement IdxToSet(int)","summary":{"en":"IdxToSet returns the handle ID from an indexed global-map settlement pointer, or a null handle for an invalid or empty slot.","es":"IdxToSet devuelve el identificador de referencia a partir del puntero indexado de asentamientos del mapa global, o una referencia nula si la posición está vacía o no es válida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-535b16e3a8c3ac","name":"MaxSetIdx","member":"MaxSetIdx","family":"Global","returns":"int","args":[],"kind":"function","signature":"int MaxSetIdx()","summary":{"en":"Handler for this function, int MaxSetIdx(): returns the number of settlement slots.","es":"Gestor de int MaxSetIdx(): devuelve el número de entradas de asentamientos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-94369a5980a995","name":"AIH_UnitBuilt","member":"AIH_UnitBuilt","family":"Global","returns":"void","args":["Unit"],"kind":"function","signature":"void AIH_UnitBuilt(Unit)","summary":{"en":"Resolves the Unit operand and dispatches the resulting pointer to a native AI hook.","es":"Resuelve el operando Unit y pasa el puntero resultante a una operación interna de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7837f7e3e1a193","name":"AIGetPlayer","member":"AIGetPlayer","family":"Global","returns":"int","args":[],"kind":"function","signature":"int AIGetPlayer()","summary":{"en":"Returns the current script AI player index plus one.","es":"Devuelve el índice del jugador de IA del script actual más uno."},"notes":{},"examples":{},"technical":{}},{"id":"api-abae6d83d72f73","name":"AIO_SendSquad","member":"AIO_SendSquad","family":"Global","returns":"void","args":["int","int","int"],"kind":"function","signature":"void AIO_SendSquad(int, int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-a2b45faba0a8cc","name":"AIO_Train","member":"AIO_Train","family":"Global","returns":"void","args":["int","str","int","int"],"kind":"function","signature":"void AIO_Train(int, str, int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-6f63d497a8562e","name":"ViewSlot","member":"ViewSlot","family":"Global","returns":"point","args":[],"kind":"function","signature":"point ViewSlot()","summary":{"en":"Returns viewport midpoint coordinates divided by128 while discarding the terrain-conversion output.","es":"Devuelve las coordenadas del punto medio de la vista divididas entre 128 y descarta la salida de la conversión de terreno."},"notes":{},"examples":{},"technical":{}},{"id":"api-ee307d257b71e2","name":"Squadize","member":"Squadize","family":"Global","returns":"void","args":["ObjList","SquadList","int"],"kind":"function","signature":"void Squadize(ObjList, SquadList, int)","summary":{"en":"CKS scripting primitive wrapper exposing Squadize(ObjList ol, SquadList *sl, int nState) to scenario and AI scripts.","es":"Envoltorio de una primitiva CKS que expone Squadize(ObjList ol, SquadList *sl, int nState) a los scripts de escenarios e IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-313153461ed055","name":"IsResearched","member":"IsResearched","family":"Global","returns":"bool","args":["Settlement","str"],"kind":"function","signature":"bool IsResearched(Settlement, str)","summary":{"en":"CKS scripting primitive evaluating whether a technology or upgrade has been researched, supporting both settlement-anchored and player-direct overloads.","es":"Primitiva de scripts CKS que comprueba si una tecnología o mejora se ha investigado; admite variantes asociadas a un asentamiento o directamente a un jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-e8aa9a37287ec2","name":"IsResearched","member":"IsResearched","family":"Global","returns":"bool","args":["int","str"],"kind":"function","signature":"bool IsResearched(int, str)","summary":{"en":"CKS scripting primitive evaluating whether a technology or upgrade has been researched, supporting both settlement-anchored and player-direct overloads.","es":"Primitiva de scripts CKS que comprueba si una tecnología o mejora se ha investigado; admite variantes asociadas a un asentamiento o directamente a un jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-2f5d758e565273","name":"IsResearching","member":"IsResearching","family":"Global","returns":"bool","args":["Settlement","str"],"kind":"function","signature":"bool IsResearching(Settlement, str)","summary":{"en":"CKS scripting primitive reporting whether a technology or upgrade is currently in the \"researching\" state, with a settlement-anchored overload and a player-direct overload.","es":"Primitiva de scripts CKS que indica si una tecnología o mejora está en estado de investigación; admite una variante asociada a un asentamiento y otra directamente a un jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-3d9a43246fddef","name":"IsResearching","member":"IsResearching","family":"Global","returns":"bool","args":["int","str"],"kind":"function","signature":"bool IsResearching(int, str)","summary":{"en":"CKS scripting primitive reporting whether a technology or upgrade is currently in the \"researching\" state, with a settlement-anchored overload and a player-direct overload.","es":"Primitiva de scripts CKS que indica si una tecnología o mejora está en estado de investigación; admite una variante asociada a un asentamiento y otra directamente a un jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-4e1f4b0ffb2676","name":"GetCmdCost","member":"GetCmdCost","family":"Global","returns":"bool","args":["str","int","int"],"kind":"function","signature":"bool GetCmdCost(str, int, int)","summary":{"en":"Looks up a named command and writes its gold and food cost fields to output references.","es":"Busca una orden por nombre y escribe sus costes de oro y comida en referencias de salida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-44f794124e4f88","name":"GetCmdStaminaCost","member":"GetCmdStaminaCost","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int GetCmdStaminaCost(str)","summary":{"en":"Resolves the order descriptor for a command name string and returns its required stamina cost from offset [field].","es":"Resuelve el descriptor de una orden por su nombre de texto y devuelve el coste de resistencia requerido desde [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fb9209ebded16e","name":"Settlement::CanAfford","member":"CanAfford","family":"Settlement","returns":"bool","args":["int","int"],"kind":"method","signature":"bool Settlement::CanAfford(int, int)","summary":{"en":"Tests positive signed resource quotients after subtracting the keyed reservation from available gold.","es":"Comprueba cocientes positivos con signo de recursos después de restar al oro disponible la reserva de la clave indicada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6ae59d68bed337","name":"Settlement::CanAfford","member":"CanAfford","family":"Settlement","returns":"bool","args":["str"],"kind":"method","signature":"bool Settlement::CanAfford(str)","summary":{"en":"Resolves a Settlement and named command, then returns whether a cost check succeeds.","es":"Obtiene un Settlement y una orden por nombre; devuelve si la comprobación de coste se supera."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-eaeb8ed9b3fe79","name":"Settlement::CanAfford","member":"CanAfford","family":"Settlement","returns":"bool","args":["str","int"],"kind":"method","signature":"bool Settlement::CanAfford(str, int)","summary":{"en":"Compares the requested count with the signed native command affordability count.","es":"Compara la cantidad solicitada con el recuento interno con signo de órdenes que se pueden costear."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a1529d074710c4","name":"Settlement::MaxAffordCount","member":"MaxAffordCount","family":"Settlement","returns":"int","args":["str"],"kind":"method","signature":"int Settlement::MaxAffordCount(str)","summary":{"en":"Returns the signed native command affordability count after selecting reservation treatment.","es":"Devuelve el recuento interno con signo de órdenes que se pueden costear tras seleccionar el tratamiento de las reservas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7e6b49c517a1af","name":"Settlement::CanResearch","member":"CanResearch","family":"Settlement","returns":"bool","args":["str"],"kind":"method","signature":"bool Settlement::CanResearch(str)","summary":{"en":"CKS scripting primitive reporting whether a settlement is permitted to begin researching an upgrade that is not already researched or in progress.","es":"Primitiva de scripts CKS que indica si un asentamiento puede comenzar a investigar una mejora que no esté ya investigada ni en curso."},"notes":{},"examples":{},"technical":{}},{"id":"api-8c94041a6a00b9","name":"Settlement::Research","member":"Research","family":"Settlement","returns":"void","args":["str"],"kind":"method","signature":"void Settlement::Research(str)","summary":{"en":"Resolves a Settlement and named upgrade, then conditionally submits a research command.","es":"Obtiene un Settlement y una mejora por nombre; después envía condicionalmente una orden de investigación."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-741e26fe838f72","name":"Settlement::Reserve","member":"Reserve","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::Reserve()","summary":{"en":"Returns a signed percentage of army expenditure since the reservation snapshot.","es":"Devuelve un porcentaje con signo del gasto militar desde la instantánea de reserva."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c48134a7c476c9","name":"Settlement::StopReserving","member":"StopReserving","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::StopReserving()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-53d2b8612b59f0","name":"Settlement::ReserveFor","member":"ReserveFor","family":"Settlement","returns":"bool","args":["str","int"],"kind":"method","signature":"bool Settlement::ReserveFor(str, int)","summary":{"en":"Updates keyed reservation percent and command, preserving or initializing the army snapshot by branch.","es":"Actualiza el porcentaje de reserva y la orden de la clave indicada, conservando o inicializando la instantánea del ejército según la ruta de ejecución."},"notes":{},"examples":{},"technical":{}},{"id":"api-140101b0478754","name":"Settlement::GoldSpentOnArmy","member":"GoldSpentOnArmy","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::GoldSpentOnArmy()","summary":{"en":"Returns the parsed army expenditure key on a valid receiver and omits the integer output on an invalid one.","es":"Devuelve la clave analizada de gasto militar si el receptor es válido y omite la salida entera si no lo es."},"notes":{},"examples":{},"technical":{}},{"id":"api-cc56634c326c3d","name":"Settlement::SpentGoldOnArmy","member":"SpentGoldOnArmy","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SpentGoldOnArmy(int)","summary":{"en":"Accumulates an amount in a per-game, per-settlement and per-player persistent army-spending counter.","es":"Acumula una cantidad en un contador persistente de gasto militar, separado por partida, asentamiento y jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-2af11c4d7858cb","name":"Settlement::GoldSpentOnTech","member":"GoldSpentOnTech","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::GoldSpentOnTech()","summary":{"en":"Returns the parsed technology expenditure key on a valid receiver and omits the integer output on an invalid one.","es":"Devuelve la clave analizada de gasto en tecnología si el receptor es válido y omite la salida entera si no lo es."},"notes":{},"examples":{},"technical":{}},{"id":"api-50dbd6412c0a5c","name":"Settlement::SpentGoldOnTech","member":"SpentGoldOnTech","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::SpentGoldOnTech(int)","summary":{"en":"Adds a signed amount with 32-bit wrap to the keyed technology expenditure value.","es":"Añade una cantidad con signo al gasto de la tecnología indicada, con desbordamiento aritmético de 32 bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c46150c7b01ab5","name":"Settlement::CheckTechBudget","member":"CheckTechBudget","family":"Settlement","returns":"bool","args":["str","int"],"kind":"method","signature":"bool Settlement::CheckTechBudget(str, int)","summary":{"en":"Tests technology expenditure plus adjusted command cost against a signed percentage budget.","es":"Compara el gasto en tecnología más el coste ajustado de la orden con un presupuesto porcentual con signo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a8c58b7650352d","name":"Settlement::WaterLsa","member":"WaterLsa","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::WaterLsa()","summary":{"en":"Settlement WaterLsa and LandLsa return unsigned linked-object words at [field] or [field] when its template inherits BaseShipyard, otherwise returning zero.","es":"WaterLsa y LandLsa de Settlement devuelven las palabras sin signo [campo] o [campo] del objeto vinculado si su plantilla hereda de BaseShipyard; en los demás casos devuelven cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-694498be746aa5","name":"Settlement::LandLsa","member":"LandLsa","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::LandLsa()","summary":{"en":"Settlement WaterLsa and LandLsa return unsigned linked-object words at [field] or [field] when its template inherits BaseShipyard, otherwise returning zero.","es":"WaterLsa y LandLsa de Settlement devuelven las palabras sin signo [campo] o [campo] del objeto vinculado si su plantilla hereda de BaseShipyard; en los demás casos devuelven cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b8c1a0feb1099d","name":"MilUnits","member":"MilUnits","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int MilUnits(int)","summary":{"en":"Counts eligible military units for a one-based player through the squad collection helper.","es":"Cuenta las unidades militares elegibles del jugador indicado, numerado desde uno, mediante la operación de recogida de escuadras."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-319eb5ce73e2d0","name":"HeroArmiesFullPerc","member":"HeroArmiesFullPerc","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int HeroArmiesFullPerc(int)","summary":{"en":"Computes a signed ratio from the second and third outputs of the player collection helper.","es":"Calcula una proporción con signo a partir de la segunda y tercera salidas de la operación de recogida de datos del jugador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-12192648a995ff","name":"MilEval","member":"MilEval","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int MilEval(int)","summary":{"en":"Returns a masked collection sum of squad dwords at [field].","es":"Devuelve una suma filtrada por máscara de los dwords [campo] de los escuadrones de una colección."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-615811e2baaef9","name":"AllyMilUnits","member":"AllyMilUnits","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int AllyMilUnits(int)","summary":{"en":"Sums the unit helper across player slots whose relation result is not four.","es":"Suma el resultado de la operación auxiliar de unidades entre las posiciones de jugador cuyo resultado de relación no es igual a cuatro."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b465b8108d4e97","name":"AllyMilEval","member":"AllyMilEval","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int AllyMilEval(int)","summary":{"en":"Sums squad evaluation dwords across player slots whose relation result is not four.","es":"Suma los valores de evaluación de escuadras de 32 bits entre las posiciones de jugador cuyo resultado de relación no es igual a cuatro."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-791368037d02dd","name":"EnemyMilUnits","member":"EnemyMilUnits","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int EnemyMilUnits(int)","summary":{"en":"Sums the unit helper across player slots whose relation result equals four.","es":"Suma el resultado de la operación auxiliar de unidades entre las posiciones de jugador cuyo resultado de relación es igual a cuatro."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-626ffada161121","name":"EnemyMilEval","member":"EnemyMilEval","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int EnemyMilEval(int)","summary":{"en":"Sums squad evaluation dwords across player slots whose relation result equals four.","es":"Suma los valores de evaluación de escuadras de 32 bits entre las posiciones de jugador cuyo resultado de relación es igual a cuatro."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d6746375d06d93","name":"EnemyPlayersEval","member":"EnemyPlayersEval","family":"Global","returns":"int","args":["int","int","int","int"],"kind":"function","signature":"int EnemyPlayersEval(int, int, int, int)","summary":{"en":"EnemyPlayersEval initializes and conditionally writes three outputs.","es":"EnemyPlayersEval inicializa tres salidas y las escribe condicionalmente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-275c804dc8a11d","name":"Strongholds","member":"Strongholds","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int Strongholds(int)","summary":{"en":"Strongholds counts same-owner settlements with BaseTownhall central buildings.","es":"Strongholds cuenta los asentamientos del mismo propietario que tienen edificios centrales BaseTownhall."},"notes":{},"examples":{},"technical":{}},{"id":"api-fca323213ed9b9","name":"AllyStrongholds","member":"AllyStrongholds","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int AllyStrongholds(int)","summary":{"en":"AllyStrongholds counts BaseTownhall settlements with numeric relation different from four.","es":"AllyStrongholds cuenta los asentamientos BaseTownhall cuya relación numérica es distinta de cuatro."},"notes":{},"examples":{},"technical":{}},{"id":"api-2ed44e650b5077","name":"EnemyStrongholds","member":"EnemyStrongholds","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int EnemyStrongholds(int)","summary":{"en":"Counts hostile town halls for a requested player while excluding owner id fourteen.","es":"Cuenta los ayuntamientos hostiles al jugador indicado, excluyendo los del propietario con identificador catorce."},"notes":{},"examples":{},"technical":{}},{"id":"api-01a61767d976f6","name":"Villages","member":"Villages","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int Villages(int)","summary":{"en":"Villages counts same-owner settlements with BaseVillage central buildings.","es":"Villages cuenta los asentamientos del mismo propietario que tienen edificios centrales BaseVillage."},"notes":{},"examples":{},"technical":{}},{"id":"api-a8bf7870026c8e","name":"AllyVillages","member":"AllyVillages","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int AllyVillages(int)","summary":{"en":"AllyVillages counts BaseVillage settlements with numeric relation different from four.","es":"AllyVillages cuenta los asentamientos BaseVillage cuya relación numérica es distinta de cuatro."},"notes":{},"examples":{},"technical":{}},{"id":"api-a3aa453ae2c7cb","name":"EnemyVillages","member":"EnemyVillages","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int EnemyVillages(int)","summary":{"en":"EnemyVillages counts BaseVillage settlements with relation four and owner different from fourteen.","es":"EnemyVillages cuenta los asentamientos BaseVillage con relación cuatro y propietario distinto de catorce."},"notes":{},"examples":{},"technical":{}},{"id":"api-f162367e81eddd","name":"Outposts","member":"Outposts","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int Outposts(int)","summary":{"en":"Counts live Outpost-class map objects, optionally filtered by player.","es":"Cuenta los objetos vivos de clase Outpost del mapa, opcionalmente filtrados por jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-6f70880e642837","name":"AllyOutposts","member":"AllyOutposts","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int AllyOutposts(int)","summary":{"en":"AllyOutposts counts Outpost settlements with numeric relation different from four.","es":"AllyOutposts cuenta los asentamientos Outpost cuya relación numérica es distinta de cuatro."},"notes":{},"examples":{},"technical":{}},{"id":"api-f887fe9b9017d5","name":"EnemyOutposts","member":"EnemyOutposts","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int EnemyOutposts(int)","summary":{"en":"EnemyOutposts counts Outpost settlements with relation four and owner different from fourteen.","es":"EnemyOutposts cuenta los asentamientos Outpost con relación cuatro y propietario distinto de catorce."},"notes":{},"examples":{},"technical":{}},{"id":"api-c8988863080b5b","name":"Count","member":"Count","family":"Global","returns":"int","args":["int","str"],"kind":"function","signature":"int Count(int, str)","summary":{"en":"Count looks up a class count in a player's indexed collection.","es":"Count consulta el recuento de una clase en la colección indexada del jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-311784381f8f2e","name":"AllyCount","member":"AllyCount","family":"Global","returns":"int","args":["int","str"],"kind":"function","signature":"int AllyCount(int, str)","summary":{"en":"AllyCount sums class counts for relation codes other than four.","es":"AllyCount suma los recuentos de clases para los códigos de relación distintos de cuatro."},"notes":{},"examples":{},"technical":{}},{"id":"api-8a03931e3161d5","name":"EnemyCount","member":"EnemyCount","family":"Global","returns":"int","args":["int","str"],"kind":"function","signature":"int EnemyCount(int, str)","summary":{"en":"EnemyCount sums class counts for relation code four.","es":"EnemyCount suma los recuentos de clases para el código de relación cuatro."},"notes":{},"examples":{},"technical":{}},{"id":"api-4b6354ba473d69","name":"GAIKA::LSA","member":"LSA","family":"GAIKA","returns":"int","args":[],"kind":"method","signature":"int GAIKA::LSA()","summary":{"en":"Maps a GAIKA identifier to a 16-bit LSA value through an AI record helper.","es":"Convierte un identificador GAIKA en un valor LSA de 16 bits mediante una operación de registros de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c23c9b7673f2d5","name":"LSA","member":"LSA","family":"Global","returns":"int","args":["int","int"],"kind":"function","signature":"int LSA(int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-91b5abd55d8207","name":"LSA","member":"LSA","family":"Global","returns":"int","args":["point"],"kind":"function","signature":"int LSA(point)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-e2e006cdd2dcef","name":"Obj::LSA","member":"LSA","family":"Obj","returns":"int","args":[],"kind":"method","signature":"int Obj::LSA()","summary":{"en":"Obj::LSA resolves a handle and forwards the full helper result.","es":"Obj::LSA obtiene una referencia y devuelve el resultado completo de la operación auxiliar."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fbb0bf10ad381c","name":"CheckLsaPath","member":"CheckLsaPath","family":"Global","returns":"int","args":["int","int","int"],"kind":"function","signature":"int CheckLsaPath(int, int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-7194fd7613828e","name":"Ships","member":"Ships","family":"Global","returns":"int","args":["int","int"],"kind":"function","signature":"int Ships(int, int)","summary":{"en":"Reads a 32-bit value from the AI table using the LSA and player indices. The value meaning is not documented.","es":"Lee un valor de 32 bits de la tabla de IA usando los índices de LSA y jugador. El significado del valor no está documentado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-06c73737b99000","name":"EnemyShips","member":"EnemyShips","family":"Global","returns":"int","args":["int","int"],"kind":"function","signature":"int EnemyShips(int, int)","summary":{"en":"Returns the relation-four sum of the selected AI row's sixteen dword cells.","es":"Devuelve la suma para la relación cuatro de las dieciséis celdas de 32 bits de la fila de IA seleccionada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4b3de739b5d061","name":"AllyShips","member":"AllyShips","family":"Global","returns":"int","args":["int","int"],"kind":"function","signature":"int AllyShips(int, int)","summary":{"en":"Returns the relation-two sum of the selected AI row's sixteen dword cells.","es":"Devuelve la suma para la relación dos de las dieciséis celdas de 32 bits de la fila de IA seleccionada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-92ff91c7d86af0","name":"ShipNeeds","member":"ShipNeeds","family":"Global","returns":"int","args":["int","int"],"kind":"function","signature":"int ShipNeeds(int, int)","summary":{"en":"Reads a 32-bit value from the AI table using the LSA and player indices. The value meaning is not documented.","es":"Lee un valor de 32 bits de la tabla de IA usando los índices de LSA y jugador. El significado del valor no está documentado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c993485bfeb651","name":"ClrShipNeeds","member":"ClrShipNeeds","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void ClrShipNeeds(int, int)","summary":{"en":"ClrShipNeeds writes zero to the global-AI ship-needs cell selected by lsa and player indices.","es":"ClrShipNeeds escribe cero en la celda de necesidades de barcos de la IA global seleccionada mediante los índices lsa y jugador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-77f8346b335f69","name":"IncShipNeeds","member":"IncShipNeeds","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void IncShipNeeds(int, int)","summary":{"en":"IncShipNeeds increments the global-AI ship-needs cell selected by lsa and player indices.","es":"IncShipNeeds aumenta la celda de necesidades de barcos de la IA global seleccionada mediante los índices lsa y jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-e81c5d7fbc5d8f","name":"IsWaterLsa","member":"IsWaterLsa","family":"Global","returns":"bool","args":["int"],"kind":"function","signature":"bool IsWaterLsa(int)","summary":{"en":"Handler for this function, bool IsWaterLsa(int lsa): tests whether an lsa region is water-majority.","es":"Gestor de bool IsWaterLsa(int lsa): comprueba si una región lsa está compuesta mayoritariamente por agua."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7d977debbc1d72","name":"AIAssist","member":"AIAssist","family":"Global","returns":"void","args":[],"kind":"function","signature":"void AIAssist()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-fca013866cefad","name":"AIStart","member":"AIStart","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void AIStart(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-3dbd0605ac02ca","name":"AIStart","member":"AIStart","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void AIStart(int, str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-3a3e5753477d30","name":"AIStart","member":"AIStart","family":"Global","returns":"void","args":["int","str","int"],"kind":"function","signature":"void AIStart(int, str, int)","summary":{"en":"Validates a player, AI profile, and difficulty before replacing that player's AI controller.","es":"Valida un jugador, un perfil de IA y una dificultad antes de sustituir el controlador de IA de ese jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-0c56beaa97846d","name":"AIStop","member":"AIStop","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void AIStop(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-ab47f9b39ae8a9","name":"NearestHospital","member":"NearestHospital","family":"Global","returns":"GAIKA","args":["Squad"],"kind":"function","signature":"GAIKA NearestHospital(Squad)","summary":{"en":"Scores eligible friendly hospital strongholds for a squad and returns the best GAIKA index.","es":"Puntúa las fortalezas hospitalarias aliadas elegibles para una escuadra y devuelve el mejor índice GAIKA."},"notes":{},"examples":{},"technical":{}},{"id":"api-fe06618b7b7145","name":"NearestStronghold","member":"NearestStronghold","family":"Global","returns":"Settlement","args":["point","int","int"],"kind":"function","signature":"Settlement NearestStronghold(point, int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-304474d5d555c3","name":"NearestStronghold","member":"NearestStronghold","family":"Global","returns":"Settlement","args":["point","int"],"kind":"function","signature":"Settlement NearestStronghold(point, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-f6d4098c4320f3","name":"NearestStronghold","member":"NearestStronghold","family":"Global","returns":"Settlement","args":["point"],"kind":"function","signature":"Settlement NearestStronghold(point)","summary":{"en":"NearestStronghold point overload selects the unfiltered BaseTownhall search.","es":"La variante de NearestStronghold que recibe un punto selecciona la búsqueda BaseTownhall sin filtros."},"notes":{},"examples":{},"technical":{}},{"id":"api-7ffe591ff24ab7","name":"NearestSet","member":"NearestSet","family":"Global","returns":"Settlement","args":["point","str","int","int"],"kind":"function","signature":"Settlement NearestSet(point, str, int, int)","summary":{"en":"NearestSet four-argument overload forwards the class, decremented player and supplied relation mask.","es":"La variante de cuatro argumentos de NearestSet pasa la clase, el jugador reducido en uno y la máscara de relación indicada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-881f67e48159d4","name":"NearestSet","member":"NearestSet","family":"Global","returns":"Settlement","args":["point","str","int"],"kind":"function","signature":"Settlement NearestSet(point, str, int)","summary":{"en":"NearestSet three-argument overload forwards the class, decremented player and fixed mask one.","es":"La variante de tres argumentos de NearestSet pasa la clase, el jugador reducido en uno y la máscara fija uno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0028f08086b545","name":"NearestSet","member":"NearestSet","family":"Global","returns":"Settlement","args":["point"],"kind":"function","signature":"Settlement NearestSet(point)","summary":{"en":"NearestSet point overload searches the Building central-building class without player filtering.","es":"La variante de NearestSet que recibe un punto busca la clase de edificio central de Building sin filtrar por jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-c8b7ad2a56a3d2","name":"GetSettlements","member":"GetSettlements","family":"Global","returns":"ObjList","args":["str","int"],"kind":"function","signature":"ObjList GetSettlements(str, int)","summary":{"en":"Builds an ObjList of map settlements selected by owner and central-building class.","es":"Construye una ObjList con los asentamientos del mapa seleccionados por propietario y clase de edificio central."},"notes":{},"examples":{},"technical":{}},{"id":"api-ecb80cd6af5788","name":"Settlement::GetEconomyScript","member":"GetEconomyScript","family":"Settlement","returns":"int","args":["int"],"kind":"method","signature":"int Settlement::GetEconomyScript(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-f46b869c1a40c9","name":"Settlement::RunEconomyScript","member":"RunEconomyScript","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::RunEconomyScript(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-c7a76262ac83bf","name":"Settlement::EconomyScript","member":"EconomyScript","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::EconomyScript()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-e1c205ebccb181","name":"Settlement::GetTacticScript","member":"GetTacticScript","family":"Settlement","returns":"int","args":["int"],"kind":"method","signature":"int Settlement::GetTacticScript(int)","summary":{"en":"CKS handler that invokes the tactic-selection script for a Settlement and player index.","es":"Gestor CKS que ejecuta el script de selección de táctica para un Settlement y un índice de jugador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1ddedda6b4ed3e","name":"Settlement::RunTacticScript","member":"RunTacticScript","family":"Settlement","returns":"void","args":["int"],"kind":"method","signature":"void Settlement::RunTacticScript(int)","summary":{"en":"CKS handler that forwards a tactic ID and resolved settlement to the player-AI tactic-task starter.","es":"Gestor CKS que pasa un identificador de táctica y un asentamiento resuelto a la operación que inicia la tarea de táctica de la IA del jugador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4b380637553b87","name":"Settlement::TacticScript","member":"TacticScript","family":"Settlement","returns":"int","args":[],"kind":"method","signature":"int Settlement::TacticScript()","summary":{"en":"CKS property handler that returns the settlement's current tactic ID after checking whether its task slot remains active.","es":"Gestor de propiedad CKS que devuelve el identificador de la táctica actual del asentamiento tras comprobar que su entrada de tarea sigue activa."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-86944640c6e1fe","name":"Settlement::GetGaika","member":"GetGaika","family":"Settlement","returns":"GAIKA","args":[],"kind":"method","signature":"GAIKA Settlement::GetGaika()","summary":{"en":"Returns the global AI table word associated with a Settlement.","es":"Devuelve el valor de 16 bits de la tabla global de IA asociado a un Settlement."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f09d25804a458a","name":"Settlement::CancelSupply","member":"CancelSupply","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::CancelSupply()","summary":{"en":"CancelSupply resolves stoptribute by name and forwards a seven-dword packet beginning with a partially initialized linked-object id to the native dispatch helper.","es":"CancelSupply resuelve stoptribute por su nombre y pasa a la operación interna de despacho un paquete de siete dwords que comienza con un identificador de objeto vinculado parcialmente inicializado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-528785dc4c1c32","name":"Gate::Inside","member":"Inside","family":"Gate","returns":"bool","args":["Squad"],"kind":"method","signature":"bool Gate::Inside(Squad)","summary":{"en":"Tests a native gate/member path predicate universally over squad members.","es":"Comprueba un predicado interno de puerta o ruta de miembro para todos los miembros del escuadrón."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-91dfbd53f439b9","name":"Gate::Outside","member":"Outside","family":"Gate","returns":"bool","args":["Squad"],"kind":"method","signature":"bool Gate::Outside(Squad)","summary":{"en":"Tests the zero-result gate/member path predicate universally over squad members.","es":"Comprueba para todos los miembros de la escuadra la condición de ruta de puerta o miembro que requiere un resultado cero."},"notes":{},"examples":{},"technical":{}},{"id":"api-bf8c4f387acdde","name":"Settlement::UpgradeBestBarrack","member":"UpgradeBestBarrack","family":"Settlement","returns":"bool","args":["int"],"kind":"method","signature":"bool Settlement::UpgradeBestBarrack(int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-d9d703b1916cfd","name":"Settlement::RepairAll","member":"RepairAll","family":"Settlement","returns":"void","args":[],"kind":"method","signature":"void Settlement::RepairAll()","summary":{"en":"Scans settlement members for a repair descriptor and conditionally submits one staged command per admitted member.","es":"Recorre los miembros del asentamiento buscando un descriptor de reparación y envía condicionalmente una orden por etapas para cada miembro admitido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8d91796b02aee0","name":"PrepareAiTransportShip","member":"PrepareAiTransportShip","family":"Global","returns":"Ship","args":["int","int","int","str","point"],"kind":"function","signature":"Ship PrepareAiTransportShip(int, int, int, str, point)","summary":{"en":"PrepareAiTransportShip conditionally builds an eight-byte handle result.","es":"PrepareAiTransportShip construye condicionalmente un resultado de referencia de ocho bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-40b8e74749a06e","name":"CheckLP","member":"CheckLP","family":"Global","returns":"void","args":[],"kind":"function","signature":"void CheckLP()","summary":{"en":"CheckLP calls the graph helper with fixed node indices 3 and 1, mode 1, an empty string and two minus-one values, then discards its result.","es":"CheckLP invoca la operación del grafo con los índices de nodo fijos 3 y 1, el modo 1, un texto vacío y dos valores -1; después descarta el resultado."},"notes":{"en":"⚠ Only partly documented so far.","es":"⚠ Solo está documentado parcialmente por ahora."},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4bf46f1a4488c7","name":"SendSquadToLsaX","member":"SendSquadToLsaX","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SendSquadToLsaX()","summary":{"en":"SendSquadToLsaX retains a selected-unit pointer as a sixth order operand.","es":"SendSquadToLsaX conserva un puntero a la unidad seleccionada como sexto operando de la orden."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7cd6d506eb8917","name":"GetMouseXY","member":"GetMouseXY","family":"Global","returns":"void","args":[],"kind":"function","signature":"void GetMouseXY()","summary":{"en":"Prints widened signed mouse coordinates after calling a terrain conversion whose output is unused.","es":"Muestra las coordenadas del ratón ampliadas y con signo después de invocar una conversión del terreno cuya salida no se utiliza."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1e02e6aa706322","name":"RUType","member":"RUType","family":"Global","returns":"int","args":["str","int"],"kind":"function","signature":"int RUType(str, int)","summary":{"en":"Maps a class-name string to its zero-based entry in a race-specific six-name recruitable-unit table.","es":"Convierte un nombre de clase en su índice, numerado desde cero, dentro de una tabla de seis nombres de unidades reclutables propia de la civilización."},"notes":{},"examples":{},"technical":{}},{"id":"api-3de5586518948d","name":"UType","member":"UType","family":"Global","returns":"str","args":["int","int"],"kind":"function","signature":"str UType(int, int)","summary":{"en":"Looks up a managed unit-type string by type and race indices.","es":"Busca un texto gestionado de tipo de unidad mediante los índices de tipo y civilización."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-400846ed031e59","name":"UTech","member":"UTech","family":"Global","returns":"str","args":["int","int"],"kind":"function","signature":"str UTech(int, int)","summary":{"en":"Selects a string from a race-indexed technology table and returns it as a managed CKS string.","es":"Selecciona un texto de una tabla de tecnologías indexada por civilización y lo devuelve como texto CKS gestionado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9e95a30e00c833","name":"UTrainCmd","member":"UTrainCmd","family":"Global","returns":"str","args":["int","int"],"kind":"function","signature":"str UTrainCmd(int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-609f56833072f0","name":"UEnabled","member":"UEnabled","family":"Global","returns":"bool","args":["int","int"],"kind":"function","signature":"bool UEnabled(int, int)","summary":{"en":"Handler for this function, bool UEnabled(int mask, int bit): tests one bit of a mask.","es":"Gestor de bool UEnabled(int mask, int bit): comprueba un bit de una máscara."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bacd2576d9d01f","name":"CheckUEnabled","member":"CheckUEnabled","family":"Global","returns":"bool","args":["int","int","int","int","int"],"kind":"function","signature":"bool CheckUEnabled(int, int, int, int, int)","summary":{"en":"CheckUEnabled updates an output bit mask from a unit-class count and threshold.","es":"CheckUEnabled actualiza una máscara de bits de salida a partir del recuento de una clase de unidad y un umbral."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-89de152e21e44f","name":"Squad::CalcGoAround","member":"CalcGoAround","family":"Squad","returns":"bool","args":[],"kind":"method","signature":"bool Squad::CalcGoAround()","summary":{"en":"Chooses an intermediate GAIKA waypoint and reissues squad-member commands to route around an obstruction.","es":"Elige un punto de paso GAIKA intermedio y vuelve a dar órdenes a los miembros de la escuadra para rodear un obstáculo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-21441613a95616","name":"Squad::TakeNearbyItems","member":"TakeNearbyItems","family":"Squad","returns":"bool","args":["int"],"kind":"method","signature":"bool Squad::TakeNearbyItems(int)","summary":{"en":"Selects an item holder near the squad leader and issues a getitems command.","es":"Selecciona un contenedor de objetos del inventario cerca del líder de la escuadra y da una orden getitems."},"notes":{},"examples":{},"technical":{}},{"id":"api-73915537b20160","name":"Obj::HasItem","member":"HasItem","family":"Obj","returns":"bool","args":["str"],"kind":"method","signature":"bool Obj::HasItem(str)","summary":{"en":"Calls a resolved object's virtual item-name lookup and returns whether its integer result is nonnegative.","es":"Invoca la búsqueda virtual de objetos del inventario por nombre del objeto obtenido y devuelve si el resultado entero es no negativo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d2acdead655c71","name":"Obj::UseItem","member":"UseItem","family":"Obj","returns":"bool","args":["str"],"kind":"method","signature":"bool Obj::UseItem(str)","summary":{"en":"Finds a named item on an Obj and runs its OnUse script when present.","es":"Busca un objeto del inventario por nombre en un Obj y ejecuta su script OnUse si está presente."},"notes":{},"examples":{},"technical":{}},{"id":"api-4026482fc6b5d8","name":"FindTeleport","member":"FindTeleport","family":"Global","returns":"Obj","args":["int","point","point"],"kind":"function","signature":"Obj FindTeleport(int, point, point)","summary":{"en":"Finds the shortest usable teleport connection between source and destination regions for a player.","es":"Encuentra la conexión de teletransporte utilizable más corta entre las regiones de origen y destino para un jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-63fe8b360af587","name":"Squad::UseTeleport","member":"UseTeleport","family":"Squad","returns":"bool","args":["Obj","int","str","point"],"kind":"method","signature":"bool Squad::UseTeleport(Obj, int, str, point)","summary":{"en":"Stores squad state/time and submits teleport plus point commands for live members.","es":"Guarda el estado y el tiempo de la escuadra y envía órdenes de teletransporte y de punto a los miembros vivos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-29bb551bac29b4","name":"Squad::InvadeThroughGate","member":"InvadeThroughGate","family":"Squad","returns":"void","args":["Obj","int"],"kind":"method","signature":"void Squad::InvadeThroughGate(Obj, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-7b71576945d232","name":"Eval","member":"Eval","family":"Global","returns":"void","args":["int","point","int","int","int","int"],"kind":"function","signature":"void Eval(int, point, int, int, int, int)","summary":{"en":"Resolves three referenced output integers, delegates a spatial query, and writes its three results.","es":"Obtiene tres enteros de salida pasados por referencia, solicita una consulta espacial y escribe sus tres resultados."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-44de89c848b0f2","name":"EvalGroup","member":"EvalGroup","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int EvalGroup(str)","summary":{"en":"EvalGroup sums low-word evaluation contributions from group handles.","es":"EvalGroup suma las contribuciones de evaluación de los 16 bits inferiores de las referencias del grupo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6744e0a93101a2","name":"Unit::BestMDPos","member":"BestMDPos","family":"Unit","returns":"point","args":["int","int","int","int","bool"],"kind":"method","signature":"point Unit::BestMDPos(int, int, int, int, bool)","summary":{"en":"Ranks filtered hostile squad leaders by a circle relation count with optional friendly penalties and a distance bonus.","es":"Clasifica los líderes de escuadras hostiles filtrados mediante un recuento de relaciones dentro de un círculo, con penalizaciones opcionales por aliados y una bonificación por distancia."},"notes":{},"examples":{},"technical":{}},{"id":"api-78843d7af61f64","name":"Unit::BestProtPos","member":"BestProtPos","family":"Unit","returns":"Obj","args":["int","int","int","int"],"kind":"method","signature":"Obj Unit::BestProtPos(int, int, int, int)","summary":{"en":"Scores hostile squad leader neighborhoods by relation-count balance and a product, preferring a normal leader result over a same-player sacrifice override.","es":"Puntúa el entorno de los líderes de escuadras hostiles mediante el equilibrio de recuentos por relación y un producto; prefiere el resultado normal de un líder a una sustitución por sacrificio del mismo jugador."},"notes":{},"examples":{},"technical":{}},{"id":"api-dbf953a8af0782","name":"IsProtected","member":"IsProtected","family":"Global","returns":"bool","args":["int","point","str"],"kind":"function","signature":"bool IsProtected(int, point, str)","summary":{"en":"IsProtected clamps coordinates and normalizes a local query flag.","es":"IsProtected limita las coordenadas y normaliza una marca de consulta local."},"notes":{},"examples":{},"technical":{}},{"id":"api-aa6e11b794dfc0","name":"NeedTraining","member":"NeedTraining","family":"Global","returns":"bool","args":["int"],"kind":"function","signature":"bool NeedTraining(int)","summary":{"en":"Compares a player's sampled unit-level average with a threshold derived from allied players' sampled armies.","es":"Compara la media muestreada del nivel de las unidades de un jugador con un umbral calculado a partir de los ejércitos muestreados de los jugadores aliados."},"notes":{},"examples":{},"technical":{}},{"id":"api-2ba94ab6035dcc","name":"GetCounterUnits","member":"GetCounterUnits","family":"Global","returns":"void","args":["Settlement","IntArray"],"kind":"function","signature":"void GetCounterUnits(Settlement, IntArray)","summary":{"en":"Tries indexed AI candidates and dispatches a settlement fallback into the resolved integer-array destination.","es":"Prueba candidatos de IA indexados y envía un asentamiento alternativo al destino obtenido de tipo matriz de enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a212fd51d9d4f4","name":"GetClassHealt","member":"GetClassHealt","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int GetClassHealt(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-4db8c78d050dec","name":"GetTrainGold","member":"GetTrainGold","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int GetTrainGold(str)","summary":{"en":"Resolves a unit class name through the command order registry and returns the training gold cost at [field].","es":"Resuelve un nombre de clase de unidad mediante el registro de órdenes y devuelve el coste de oro del entrenamiento almacenado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cadec979a22c5a","name":"IsAIPlayer","member":"IsAIPlayer","family":"Global","returns":"bool","args":["int"],"kind":"function","signature":"bool IsAIPlayer(int)","summary":{"en":"IsAIPlayer returns true for player ids 1 through 16 whose selected player record has a non-null AI pointer, otherwise false.","es":"IsAIPlayer devuelve true para los identificadores de jugador del 1 al 16 cuyo registro de jugador seleccionado tiene un puntero de IA no nulo; en otro caso devuelve false."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-49729b982c3367","name":"Hero::AIGetSkillToDevelop","member":"AIGetSkillToDevelop","family":"Hero","returns":"void","args":["int&","int&"],"kind":"method","signature":"void Hero::AIGetSkillToDevelop(int&, int&)","summary":{"en":"Initializes two output references, evaluates 25 Hero skill slots through mutable target and weight references, and scans a virtual draw against admitted weights.","es":"Inicializa dos referencias de salida, evalúa 25 posiciones de habilidades de Hero mediante referencias modificables de destino y peso, y contrasta una selección virtual con los pesos admitidos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b7ff04475a705b","name":"SetNoAIFlag","member":"SetNoAIFlag","family":"Global","returns":"void","args":["ObjList","bool"],"kind":"function","signature":"void SetNoAIFlag(ObjList, bool)","summary":{"en":"The handler traverses the supplied ObjList.","es":"El gestor recorre la ObjList indicada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7093689fa6ef9b","name":"GAIKA::GetAIControlledUnits","member":"GetAIControlledUnits","family":"GAIKA","returns":"ObjList","args":["str","int","int","bool"],"kind":"method","signature":"ObjList GAIKA::GetAIControlledUnits(str, int, int, bool)","summary":{"en":"Builds an ObjList of eligible units controlled by a selected GAIKA record under class, relation and limit filters.","es":"Construye una ObjList con las unidades elegibles controladas por el registro GAIKA seleccionado, aplicando filtros de clase, relación y cantidad máxima."},"notes":{},"examples":{},"technical":{}},{"id":"api-502cc580107b31","name":"Settlement::TSRecruitArmy","member":"TSRecruitArmy","family":"Settlement","returns":"ObjList","args":["str","int"],"kind":"method","signature":"ObjList Settlement::TSRecruitArmy(str, int)","summary":{"en":"Builds an ObjList and delegates Settlement tactical recruitment through TSH_RecruitArmy.vs and the universal command path.","es":"Construye una ObjList y solicita el reclutamiento táctico de Settlement mediante TSH_RecruitArmy.vs y la ruta de órdenes universales."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-693666ead588a8","name":"Settlement::TSGetAllBarracks","member":"TSGetAllBarracks","family":"Settlement","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Settlement::TSGetAllBarracks()","summary":{"en":"Filters settlement building handles into an ObjList of barracks candidates.","es":"Filtra las referencias de edificios del asentamiento en una ObjList de candidatos a cuartel."},"notes":{},"examples":{},"technical":{}},{"id":"api-b92ec067d3c478","name":"Settlement::TSGetAllArenae","member":"TSGetAllArenae","family":"Settlement","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Settlement::TSGetAllArenae()","summary":{"en":"Filters settlement building handles into an ObjList of arena candidates.","es":"Filtra las referencias de edificios del asentamiento en una ObjList de candidatos a arena."},"notes":{},"examples":{},"technical":{}},{"id":"api-a97d81554d426c","name":"Settlement::TSGetAllTemples","member":"TSGetAllTemples","family":"Settlement","returns":"ObjList","args":[],"kind":"method","signature":"ObjList Settlement::TSGetAllTemples()","summary":{"en":"Builds an ObjList of eligible settlement members derived from the race-specific temple class.","es":"Construye una ObjList con los miembros elegibles del asentamiento derivados de la clase de templo propia de su civilización."},"notes":{},"examples":{},"technical":{}},{"id":"api-21d045608f8e84","name":"Settlement::BestArena","member":"BestArena","family":"Settlement","returns":"Building","args":[],"kind":"method","signature":"Building Settlement::BestArena()","summary":{"en":"Selects a settlement member derived from BaseArena by the minimum unsigned adjusted score stored in an implementation field.","es":"Selecciona un miembro del asentamiento derivado de BaseArena según la menor puntuación ajustada sin signo guardada en un campo de implementación."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-893a974da0b4bb","name":"ArenaTrainCmd","member":"ArenaTrainCmd","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str ArenaTrainCmd(int)","summary":{"en":"Selects a native string pointer by a signed index and builds an eight-byte managed script-string result.","es":"Selecciona un puntero interno de texto mediante un índice con signo y construye un resultado de texto de script gestionado de ocho bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5b2f6cd5e023a3","name":"Settlement::TSArenaRecruit","member":"TSArenaRecruit","family":"Settlement","returns":"ObjList","args":["int"],"kind":"method","signature":"ObjList Settlement::TSArenaRecruit(int)","summary":{"en":"Builds an ObjList and delegates Settlement tactical recruitment through TSH_ArenaRecruit.vs and the universal command path.","es":"Construye una ObjList y solicita el reclutamiento táctico de Settlement mediante TSH_ArenaRecruit.vs y la ruta de órdenes universales."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b027f466a9c437","name":"ArenaUTech","member":"ArenaUTech","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str ArenaUTech(int)","summary":{"en":"Selects a native string pointer by a signed index and builds an eight-byte managed script-string result.","es":"Selecciona un puntero interno de texto mediante un índice con signo y construye un resultado de texto de script gestionado de ocho bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3bfd4fb8d0227e","name":"ArenaUType","member":"ArenaUType","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str ArenaUType(int)","summary":{"en":"Selects a native string pointer by a signed index and builds an eight-byte managed script-string result.","es":"Selecciona un puntero interno de texto mediante un índice con signo y construye un resultado de texto de script gestionado de ocho bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-21bc7fcf7f2439","name":"Settlement::TSRecruitHero","member":"TSRecruitHero","family":"Settlement","returns":"Hero","args":[],"kind":"method","signature":"Hero Settlement::TSRecruitHero()","summary":{"en":"Dispatches a hero recruitment strategy script for a Settlement.","es":"Ejecuta un script de estrategia de reclutamiento de héroes para un Settlement."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a818a63491efe3","name":"Settlement::TSResearch","member":"TSResearch","family":"Settlement","returns":"bool","args":["str"],"kind":"method","signature":"bool Settlement::TSResearch(str)","summary":{"en":"Applies a TSH_Research command script with a Settlement, research name and temporary result reference.","es":"Aplica el script de orden TSH_Research con un Settlement, un nombre de investigación y una referencia temporal de resultado."},"notes":{},"examples":{},"technical":{}},{"id":"api-f761f1f93c1136","name":"Settlement::TSTempleRecruit","member":"TSTempleRecruit","family":"Settlement","returns":"ObjList","args":["int"],"kind":"method","signature":"ObjList Settlement::TSTempleRecruit(int)","summary":{"en":"Builds an ObjList and delegates Settlement tactical recruitment through TSH_TempleRecruit.vs and the universal command path.","es":"Construye una ObjList y solicita el reclutamiento táctico de Settlement mediante TSH_TempleRecruit.vs y la ruta de órdenes universales."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1faabfb2ccde85","name":"Settlement::BestTemple","member":"BestTemple","family":"Settlement","returns":"Building","args":[],"kind":"method","signature":"Building Settlement::BestTemple()","summary":{"en":"Chooses the lowest-scoring eligible race-specific temple in a settlement.","es":"Elige el templo elegible de la civilización del asentamiento con la puntuación más baja."},"notes":{},"examples":{},"technical":{}},{"id":"api-47d08275cea7a6","name":"TempleUType","member":"TempleUType","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str TempleUType(int)","summary":{"en":"Selects a native string pointer by a signed index and builds an eight-byte managed script-string result.","es":"Selecciona un puntero interno de texto mediante un índice con signo y construye un resultado de texto de script gestionado de ocho bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-89683c507e6f25","name":"TempleUTrain","member":"TempleUTrain","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str TempleUTrain(int)","summary":{"en":"Selects a native string pointer by a signed index and builds an eight-byte managed script-string result.","es":"Selecciona un puntero interno de texto mediante un índice con signo y construye un resultado de texto de script gestionado de ocho bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6a97f45fad865e","name":"Hero::TSAdvHeroSkills","member":"TSAdvHeroSkills","family":"Hero","returns":"void","args":["IntArray&","IntArray&"],"kind":"method","signature":"void Hero::TSAdvHeroSkills(IntArray&, IntArray&)","summary":{"en":"Converts two IntArray references to temporary handles and invokes the player-specific TSH_HeroSkills.vs universal command.","es":"Convierte dos referencias IntArray en referencias temporales e invoca la orden universal TSH_HeroSkills.vs específica del jugador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-288a000350acf6","name":"SelSquad","member":"SelSquad","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SelSquad()","summary":{"en":"SelSquad without arguments submits the primary objects squad members.","es":"SelSquad sin argumentos envía los miembros de escuadra de los objetos principales."},"notes":{},"examples":{},"technical":{}},{"id":"api-7c2daf20b51b1a","name":"SelSquad","member":"SelSquad","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void SelSquad(int, int)","summary":{"en":"SelSquad player-index overload submits resolved squad members.","es":"La variante de SelSquad que recibe un índice de jugador envía los miembros obtenidos de la escuadra."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6b0cc7b4a3d2e9","name":"SelSquadLeader","member":"SelSquadLeader","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SelSquadLeader()","summary":{"en":"SelSquadLeader submits the resolved first squad member.","es":"SelSquadLeader envía el primer miembro obtenido de la escuadra."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7a8b4336566662","name":"GAIKA::Dump","member":"Dump","family":"GAIKA","returns":"void","args":[],"kind":"method","signature":"void GAIKA::Dump()","summary":{"en":"Dumps spatial coordinates, settlement type, squad counts, and AI player status for a specified GAIKA identifier to in-game chat and logs.","es":"Muestra en el chat y en los registros del juego las coordenadas espaciales, el tipo de asentamiento, los recuentos de escuadras y el estado de IA del jugador para el identificador GAIKA indicado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5f4e19aa36bbd4","name":"Squad::Dump","member":"Dump","family":"Squad","returns":"void","args":[],"kind":"method","signature":"void Squad::Dump()","summary":{"en":"Delegates a nonzero packed squad value to a diagnostic formatter.","es":"Pasa un valor compactado de escuadra distinto de cero a una operación de formato de diagnóstico."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-936871d59d091d","name":"SquadList::Dump","member":"Dump","family":"SquadList","returns":"void","args":[],"kind":"method","signature":"void SquadList::Dump()","summary":{"en":"Prints diagnostics for list elements from the active cursor and advances that cursor to its end.","es":"Muestra diagnósticos de los elementos de lista desde el cursor activo y avanza ese cursor hasta el final."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8160a591a8f8eb","name":"Breakpoint","member":"Breakpoint","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Breakpoint()","summary":{"en":"The implementation performs no additional work and reports zero internally. This void signature exposes no return value to the script.","es":"La implementación no realiza trabajo adicional e informa internamente de cero. Esta firma void no ofrece un valor de retorno al script."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d4dc673fefbdd3","name":"PrGAIKAStrat","member":"PrGAIKAStrat","family":"Global","returns":"void","args":["GAIKA","int"],"kind":"function","signature":"void PrGAIKAStrat(GAIKA, int)","summary":{"en":"PrGAIKAStrat formats the named strategy query result.","es":"PrGAIKAStrat da formato al resultado de la consulta de estrategia por nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-81665c8ad5c7bc","name":"ViewGAIKA","member":"ViewGAIKA","family":"Global","returns":"GAIKA","args":[],"kind":"function","signature":"GAIKA ViewGAIKA()","summary":{"en":"ViewGAIKA queries the converted viewport midpoint.","es":"ViewGAIKA consulta el punto medio convertido de la vista."},"notes":{},"examples":{},"technical":{}},{"id":"api-d49b44010b4278","name":"vg","member":"vg","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void vg(int)","summary":{"en":"vg requests camera centering and diagnostics for a narrowed GAIKA.","es":"vg solicita centrar la cámara y generar diagnósticos para un GAIKA reducido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7fd1035fb5b019","name":"SS_STR","member":"SS_STR","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str SS_STR(int)","summary":{"en":"SS_STR allocates a string for a signed state selector.","es":"SS_STR reserva un texto para un selector de estado con signo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-519541b7ae01f3","name":"GS_STR","member":"GS_STR","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str GS_STR(int)","summary":{"en":"GS_STR allocates a string for a signed strategy selector.","es":"GS_STR reserva un texto para un selector de estrategia con signo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6663d79d648a4d","name":"Settlement::IsTeutonTent","member":"IsTeutonTent","family":"Settlement","returns":"bool","args":[],"kind":"method","signature":"bool Settlement::IsTeutonTent()","summary":{"en":"Compares an associated settlement object's string to TTent and returns a one-byte boolean.","es":"Compara el texto de un objeto asociado a un asentamiento con TTent y devuelve un booleano de un byte."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c493c61d05a7e5","name":"AIV","member":"AIV","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void AIV(int)","summary":{"en":"AIV integer overload passes a decremented player and empty prefix.","es":"La variante entera de AIV pasa el número de jugador reducido en uno y un prefijo vacío."},"notes":{},"examples":{},"technical":{}},{"id":"api-46438019541239","name":"AIV","member":"AIV","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void AIV(int, str)","summary":{"en":"AIV string overload unlinks and releases its prefix operand.","es":"La variante de texto de AIV desvincula y libera su operando de prefijo."},"notes":{},"examples":{},"technical":{}},{"id":"api-c664b72e7295e3","name":"DbgAI","member":"DbgAI","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void DbgAI(int)","summary":{"en":"DbgAI formats an AI profile under an upper-only player gate.","es":"DbgAI da formato a un perfil de IA con una comprobación del jugador limitada al extremo superior."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7d0354847eaae9","name":"DbgArmy","member":"DbgArmy","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void DbgArmy(int)","summary":{"en":"DbgArmy queries fifty class names and prints nonzero results.","es":"DbgArmy consulta cincuenta nombres de clases y muestra los resultados distintos de cero."},"notes":{},"examples":{},"technical":{}},{"id":"api-a800b2a831f0b6","name":"dp","member":"dp","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void dp(int)","summary":{"en":"Emits priority notifications for a bounded prefix of the local player's AI records.","es":"Emite notificaciones de prioridad para un conjunto inicial acotado de registros de IA del jugador local."},"notes":{},"examples":{},"technical":{}},{"id":"api-e982a4c68a78ca","name":"LsaStr","member":"LsaStr","family":"Global","returns":"str","args":["int"],"kind":"function","signature":"str LsaStr(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-ca54502365e781","name":"AIVar","member":"AIVar","family":"Global","returns":"int","args":["int","int"],"kind":"function","signature":"int AIVar(int, int)","summary":{"en":"AIVar returns the selected player AI variable when its player, index, record and table checks pass, otherwise zero.","es":"AIVar devuelve la variable de IA del jugador seleccionado si se superan las comprobaciones de jugador, índice, registro y tabla; en otro caso devuelve cero."},"notes":{},"examples":{},"technical":{}},{"id":"api-5320155002e052","name":"AIVar","member":"AIVar","family":"Global","returns":"bool","args":["int","int","int"],"kind":"function","signature":"bool AIVar(int, int, int)","summary":{"en":"Three-argument AIVar returns whether a selected bit is set in an indexed AI variable word after guarded player and variable lookup.","es":"AIVar con tres argumentos devuelve si está activo un bit seleccionado de una variable de IA indexada de 16 bits, tras una búsqueda de jugador y variable protegida por comprobaciones."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-79e9ffe824947b","name":"SetAIVar","member":"SetAIVar","family":"Global","returns":"void","args":["int","int","int"],"kind":"function","signature":"void SetAIVar(int, int, int)","summary":{"en":"SetAIVar updates the selected player AI variable when its player, index, record and table checks pass, discarding the write otherwise.","es":"SetAIVar actualiza la variable de IA del jugador seleccionado si se superan las comprobaciones de jugador, índice, registro y tabla; en otro caso descarta la escritura."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b3f0240d1fdaa4","name":"SetAIVar","member":"SetAIVar","family":"Global","returns":"void","args":["int","int","int","bool"],"kind":"function","signature":"void SetAIVar(int, int, int, bool)","summary":{"en":"SetAIVar sets or clears bit (bit argument modulo 32) in an indexed dword reached through the selected player record.","es":"SetAIVar activa o desactiva el bit indicado, calculado módulo 32, en un valor indexado de 32 bits al que se accede mediante el registro del jugador seleccionado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f9b5bdc9e940a6","name":"AIRun","member":"AIRun","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void AIRun(int, str)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 0 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 0 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5d0136a37e84fb","name":"AIRun","member":"AIRun","family":"Global","returns":"void","args":["int","str","int"],"kind":"function","signature":"void AIRun(int, str, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 1 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 1 argumento entero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fe664170a43a18","name":"AIRun","member":"AIRun","family":"Global","returns":"void","args":["int","str","int","int"],"kind":"function","signature":"void AIRun(int, str, int, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 2 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 2 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-88b9adfe36a1c4","name":"AIRun","member":"AIRun","family":"Global","returns":"void","args":["int","str","int","int","int"],"kind":"function","signature":"void AIRun(int, str, int, int, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 3 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 3 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-672f26d053fd52","name":"AIRun","member":"AIRun","family":"Global","returns":"void","args":["int","str","int","int","int","int"],"kind":"function","signature":"void AIRun(int, str, int, int, int, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 4 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 4 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e9d7ff6658bee2","name":"AIRun","member":"AIRun","family":"Global","returns":"void","args":["int","str","int","int","int","int","int"],"kind":"function","signature":"void AIRun(int, str, int, int, int, int, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 5 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 5 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d00cf3bff5bc8f","name":"AIIRun","member":"AIIRun","family":"Global","returns":"int","args":["int","str"],"kind":"function","signature":"int AIIRun(int, str)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 0 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 0 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f1d572dc4a3d55","name":"AIIRun","member":"AIIRun","family":"Global","returns":"int","args":["int","str","int"],"kind":"function","signature":"int AIIRun(int, str, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 1 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 1 argumento entero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e0858193c1070c","name":"AIIRun","member":"AIIRun","family":"Global","returns":"int","args":["int","str","int","int"],"kind":"function","signature":"int AIIRun(int, str, int, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 2 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 2 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-35ad90ac8fe410","name":"AIIRun","member":"AIIRun","family":"Global","returns":"int","args":["int","str","int","int","int"],"kind":"function","signature":"int AIIRun(int, str, int, int, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 3 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 3 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6ec54e5773a711","name":"AIIRun","member":"AIIRun","family":"Global","returns":"int","args":["int","str","int","int","int","int"],"kind":"function","signature":"int AIIRun(int, str, int, int, int, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 4 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 4 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a06577fb1c65fc","name":"AIIRun","member":"AIIRun","family":"Global","returns":"int","args":["int","str","int","int","int","int","int"],"kind":"function","signature":"int AIIRun(int, str, int, int, int, int, int)","summary":{"en":"Native adapter for this function resolving a player script and dispatching 5 integer arguments.","es":"Adaptador que resuelve un script de jugador y lo ejecuta con 5 argumentos enteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-01a12d6e89b9d5","name":"Settlement::AIRun","member":"AIRun","family":"Settlement","returns":"void","args":["str"],"kind":"method","signature":"void Settlement::AIRun(str)","summary":{"en":"Resolves a script path for a settlement's player and submits a command for that path.","es":"Obtiene una ruta de script para el jugador del asentamiento y envía una orden para esa ruta."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9c5c7a966e03b4","name":"GAIKA::AIRun","member":"AIRun","family":"GAIKA","returns":"void","args":["str","int"],"kind":"method","signature":"void GAIKA::AIRun(str, int)","summary":{"en":"Resolves a player script name and dispatches it as a registered command when found.","es":"Obtiene un nombre de script del jugador y lo ejecuta como una orden registrada si se encuentra."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-698f168e633e18","name":"Squad::AIRun","member":"AIRun","family":"Squad","returns":"void","args":["str"],"kind":"method","signature":"void Squad::AIRun(str)","summary":{"en":"Forwards a packed squad value to a resolved registered script command.","es":"Pasa un valor compactado de escuadra a una orden de script registrada que se ha obtenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ccb0394b653578","name":"AppendFile","member":"AppendFile","family":"Global","returns":"void","args":["str","str"],"kind":"function","signature":"void AppendFile(str, str)","summary":{"en":"Retries opening a filename and dispatches content through stream virtual methods.","es":"Reintenta abrir un archivo por nombre y procesa su contenido mediante métodos virtuales de flujo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cdd384719755a4","name":"pr","member":"pr","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void pr(str)","summary":{"en":"Displays the supplied text in the in-game message log and chat window.","es":"Muestra el texto indicado en el registro de mensajes y en el chat del juego."},"notes":{},"examples":{},"technical":{}},{"id":"api-93d74fecc88f19","name":"pr","member":"pr","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void pr(int)","summary":{"en":"Displays an integer as a decimal number in the game's chat.","es":"Muestra un número entero en formato decimal en el chat del juego."},"notes":{},"examples":{},"technical":{}},{"id":"api-00b1f3799193c3","name":"pr","member":"pr","family":"Global","returns":"void","args":["bool"],"kind":"function","signature":"void pr(bool)","summary":{"en":"Displays true or false in the game's chat.","es":"Muestra true o false en el chat del juego."},"notes":{},"examples":{},"technical":{}},{"id":"api-2354770da77eae","name":"cls","member":"cls","family":"Global","returns":"void","args":[],"kind":"function","signature":"void cls()","summary":{"en":"Invokes a clearing operation on a field of the game state.","es":"Invoca una operación de limpieza sobre un campo del estado del juego."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e7aa04ab587772","name":"quit","member":"quit","family":"Global","returns":"void","args":[],"kind":"function","signature":"void quit()","summary":{"en":"Dispatches game vtable slot [field] and returns normal interpreter status if the call returns.","es":"Invoca la operación [campo] de la tabla virtual de la partida y devuelve el estado normal del intérprete si la llamada termina."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e54dc8d4ade4eb","name":"switch","member":"switch","family":"Global","returns":"void","args":[],"kind":"function","signature":"void switch()","summary":{"en":"Requests the editor test transition through a helper that writes one to its flag.","es":"Solicita la transición de prueba del editor mediante una operación auxiliar que escribe uno en su indicador."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7979d930ba3806","name":"_Black","member":"_Black","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _Black()","summary":{"en":"Sets one global dword and dispatches two UI virtual operations.","es":"Establece un valor global de 32 bits e invoca dos operaciones virtuales de interfaz."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-84464343a112be","name":"_Place","member":"_Place","family":"Global","returns":"void","args":["str","int","int"],"kind":"function","signature":"void _Place(str, int, int)","summary":{"en":"Routes class creation, template validation and player-zero placement from console arguments.","es":"Solicita la creación de una clase, la validación de su plantilla y su colocación para el jugador cero a partir de argumentos de consola."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1ee5de0961be7c","name":"_InvalidateAllToggle","member":"_InvalidateAllToggle","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _InvalidateAllToggle()","summary":{"en":"Invalidation toggle primitives normalize their dword globals by a zero test.","es":"Las primitivas que alternan la invalidación normalizan sus dwords globales mediante una comprobación de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-763da5d32902cf","name":"_ToggleInvRects","member":"_ToggleInvRects","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _ToggleInvRects()","summary":{"en":"Invalidation toggle primitives normalize their dword globals by a zero test.","es":"Las primitivas que alternan la invalidación normalizan sus dwords globales mediante una comprobación de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-77f3e15a8997f9","name":"_SetCursor","member":"_SetCursor","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void _SetCursor(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-5ebc90b1046f15","name":"ProfileStart","member":"ProfileStart","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ProfileStart()","summary":{"en":"ProfileStart forwards the profiling start request.","es":"ProfileStart pasa la solicitud de inicio de medición de rendimiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-004d9646390a16","name":"ProfileStop","member":"ProfileStop","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ProfileStop()","summary":{"en":"ProfileStop forwards the profiling stop request.","es":"ProfileStop pasa la solicitud de fin de medición de rendimiento."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-827331c969b949","name":"PerlinTest","member":"PerlinTest","family":"Global","returns":"void","args":[],"kind":"function","signature":"void PerlinTest()","summary":{"en":"The implementation performs no additional work and reports zero internally. This void signature exposes no return value to the script.","es":"La implementación no realiza trabajo adicional e informa internamente de cero. Esta firma void no ofrece un valor de retorno al script."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dacf4588f29723","name":"ShrinkEntities","member":"ShrinkEntities","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ShrinkEntities()","summary":{"en":"ShrinkEntities invokes one worker and returns status zero.","es":"ShrinkEntities invoca una tarea y devuelve el estado cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-41a2b2e2a59abf","name":"ReloadConstIni","member":"ReloadConstIni","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ReloadConstIni()","summary":{"en":"ReloadConstIni delegates two operations with the constant filename.","es":"ReloadConstIni solicita dos operaciones con el nombre fijo de archivo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e0e0347b010f7d","name":"BuildSPF","member":"BuildSPF","family":"Global","returns":"void","args":[],"kind":"function","signature":"void BuildSPF()","summary":{"en":"Calls [field] and returns native status zero without accessing the VM cursor.","es":"Llama a [campo] y devuelve el estado interno cero sin acceder al cursor de la máquina virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-671e417da04522","name":"BuildRLEMMap","member":"BuildRLEMMap","family":"Global","returns":"void","args":[],"kind":"function","signature":"void BuildRLEMMap()","summary":{"en":"Calls [field] and returns native status zero without accessing the VM cursor.","es":"Llama a [campo] y devuelve el estado interno cero sin acceder al cursor de la máquina virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1ffdd525c8c33b","name":"PrintMemStats","member":"PrintMemStats","family":"Global","returns":"void","args":[],"kind":"function","signature":"void PrintMemStats()","summary":{"en":"PrintMemStats formats current and saved counters.","es":"PrintMemStats da formato a los contadores actuales y guardados."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bf07c1e1d3c76f","name":"DumpObj","member":"DumpObj","family":"Global","returns":"void","args":[],"kind":"function","signature":"void DumpObj()","summary":{"en":"DumpObj preserves a five-byte modal packet while returning one.","es":"DumpObj conserva un paquete modal de cinco bytes mientras devuelve uno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d7e7bc1290e3cc","name":"ConvTerrains","member":"ConvTerrains","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ConvTerrains()","summary":{"en":"Rewrites packed terrain cells across the map through a fixed sixteen-entry conversion table.","es":"Reescribe las celdas compactadas del terreno en todo el mapa mediante una tabla fija de conversión de dieciséis entradas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dd730cface1cf3","name":"CheckClasses","member":"CheckClasses","family":"Global","returns":"void","args":[],"kind":"function","signature":"void CheckClasses()","summary":{"en":"CheckClasses dispatches the class registry and diagnostic callback.","es":"CheckClasses invoca el registro de clases y la función de diagnóstico."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-417900c17eec44","name":"MakePassable","member":"MakePassable","family":"Global","returns":"void","args":[],"kind":"function","signature":"void MakePassable()","summary":{"en":"Clears one packed map bit per sixteen-unit interior coordinate and returns native status zero.","es":"Limpia un bit empaquetado del mapa por cada coordenada interior de dieciséis unidades y devuelve el estado interno cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3c6f48ad4befa1","name":"SetPlayer","member":"SetPlayer","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void SetPlayer(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-4a40933fd1383d","name":"CurPlayer","member":"CurPlayer","family":"Global","returns":"int","args":[],"kind":"function","signature":"int CurPlayer()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-3a32dcf236ba4c","name":"ToggleFog","member":"ToggleFog","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ToggleFog()","summary":{"en":"Constructs a twelve-byte fog command and sends it through the game command entry.","es":"Construye una orden de niebla de doce bytes y la envía mediante la entrada de órdenes del juego."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6cc8267bd70d38","name":"SetFog","member":"SetFog","family":"Global","returns":"void","args":["bool"],"kind":"function","signature":"void SetFog(bool)","summary":{"en":"Normalizes one VM boolean into a sixteen-byte command payload.","es":"Normaliza un booleano de la máquina virtual en un contenido de orden de dieciséis bytes."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-123051008e527c","name":"ExploreAll","member":"ExploreAll","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ExploreAll()","summary":{"en":"Forwards the map subobject at [field] to one engine call.","es":"Pasa el subobjeto del mapa [campo] a una llamada del motor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-45d25de43dcec4","name":"Invalidate","member":"Invalidate","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Invalidate()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-d6af66a67b70f1","name":"Render","member":"Render","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Render()","summary":{"en":"Invokes virtual slot [field] on the global view receiver.","es":"Invoca la operación virtual [campo] sobre el receptor global de la vista."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8c8389c9e05789","name":"ScreenShot","member":"ScreenShot","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ScreenShot()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-a652dfb6d91d30","name":"ActivateScreenShots","member":"ActivateScreenShots","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void ActivateScreenShots(int)","summary":{"en":"ActivateScreenShots preserves a nine-byte retry packet until stop.","es":"ActivateScreenShots conserva un paquete de reintento de nueve bytes hasta que se detiene."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4f6fcc3f9936fa","name":"ToggleScreenShots","member":"ToggleScreenShots","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void ToggleScreenShots(int)","summary":{"en":"ToggleScreenShots requests stop or compiles an activation call.","es":"ToggleScreenShots solicita detenerse o compila una llamada de activación."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7e4b06a436ea7a","name":"DebugSelected","member":"DebugSelected","family":"Global","returns":"void","args":[],"kind":"function","signature":"void DebugSelected()","summary":{"en":"DebugSelected formats selection and script diagnostics.","es":"DebugSelected da formato a los diagnósticos de la selección y de los scripts."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a453ab0bf606e5","name":"Save","member":"Save","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Save()","summary":{"en":"The no-argument Save and Load adapters construct test.svg and route it to distinct helpers.","es":"Las variantes Save y Load sin argumentos construyen test.svg y lo pasan a operaciones auxiliares distintas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-70ea6f20110510","name":"ExportObjs","member":"ExportObjs","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void ExportObjs(str)","summary":{"en":"Selects a filename and routes a temporary map context to the object export worker.","es":"Selecciona un nombre de archivo y pasa un contexto temporal del mapa a la tarea de exportación de objetos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8c8c2e9f347b87","name":"ExportTerrain","member":"ExportTerrain","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void ExportTerrain(str)","summary":{"en":"Selects a filename and routes a temporary map context to the terrain save wrapper.","es":"Selecciona un nombre de archivo y pasa un contexto temporal de mapa al envoltorio que guarda el terreno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-eab25f39454a2e","name":"Load","member":"Load","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Load()","summary":{"en":"The no-argument Save and Load adapters construct test.svg and route it to distinct helpers.","es":"Las variantes Save y Load sin argumentos construyen test.svg y lo pasan a operaciones auxiliares distintas."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bde56926d1d72d","name":"Save","member":"Save","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void Save(str)","summary":{"en":"Named Save and Load prefix Scenarios/ under a nonzero global or append.svg when no dot is present.","es":"Las variantes Save y Load por nombre anteponen Scenarios/ si un valor global es distinto de cero, o añaden .svg si no hay ningún punto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-11fb75b22572e5","name":"Load","member":"Load","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void Load(str)","summary":{"en":"Named Save and Load prefix Scenarios/ under a nonzero global or append.svg when no dot is present.","es":"Las variantes Save y Load por nombre anteponen Scenarios/ si un valor global es distinto de cero, o añaden .svg si no hay ningún punto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-081765f4d85e3e","name":"ChMap","member":"ChMap","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void ChMap(str)","summary":{"en":"ChMap consumes its script string and forwards its unchanged payload to [field].","es":"ChMap consume el texto del script y pasa su contenido sin modificar a [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-282bc2742b2838","name":"MousePos","member":"MousePos","family":"Global","returns":"void","args":[],"kind":"function","signature":"void MousePos()","summary":{"en":"Prints the signed word pair from the input-interface position query.","es":"Muestra el par de valores de 16 bits con signo obtenido al consultar la posición en la interfaz de entrada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0ab17a6ca6600e","name":"Conv","member":"Conv","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Conv()","summary":{"en":"Allocates a conversation object and passes the fixed test name to its setup worker.","es":"Reserva un objeto de conversación y pasa un nombre de prueba fijo a su operación de configuración."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5003d0abce9939","name":"ToggleVis","member":"ToggleVis","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ToggleVis()","summary":{"en":"Selects one of two receiver calls and normalizes the selector to its zero test.","es":"Selecciona una de dos llamadas del receptor y normaliza el selector mediante una comprobación de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b5f1b1656615cf","name":"Spawn","member":"Spawn","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void Spawn(int, int)","summary":{"en":"Attempts independent argument-sized square grids for players zero and one, then centers a terrain-adjusted point.","es":"Intenta crear por separado cuadrículas cuadradas del tamaño indicado para los jugadores cero y uno; después centra un punto ajustado al terreno."},"notes":{},"examples":{},"technical":{}},{"id":"api-9426afaee836fc","name":"RemoveDecors","member":"RemoveDecors","family":"Global","returns":"void","args":[],"kind":"function","signature":"void RemoveDecors()","summary":{"en":"Routes a calculated packed-grid extent to zero fill and then processes the viewport refresh path.","es":"Solicita rellenar con ceros la extensión calculada de la cuadrícula compactada y después procesa la actualización de la vista."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-40b97d1f3308de","name":"Explorer","member":"Explorer","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Explorer()","summary":{"en":"Selects complementary mask2 argument triples for the control style helper.","es":"Selecciona ternas complementarias de argumentos mask2 para la operación de estilo de control."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-448933f6871460","name":"Dlg","member":"Dlg","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void Dlg(str)","summary":{"en":"Constructs a menu object and routes a managed name plus fixed layout arguments to virtual calls.","es":"Construye un objeto de menú y pasa un nombre gestionado y parámetros fijos de disposición a operaciones virtuales."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9611ea7c927919","name":"DumpStats","member":"DumpStats","family":"Global","returns":"void","args":["Obj"],"kind":"function","signature":"void DumpStats(Obj)","summary":{"en":"DumpStats resolves an Obj and formats its unit statistics.","es":"DumpStats obtiene un Obj y da formato a sus estadísticas de unidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-64c5ba1e86a52b","name":"sel","member":"sel","family":"Global","returns":"ObjList","args":[],"kind":"function","signature":"ObjList sel()","summary":{"en":"Returns an ObjList refreshed from the selection source selected by global state.","es":"Devuelve una ObjList actualizada desde el origen de selección elegido por el estado global."},"notes":{},"examples":{},"technical":{}},{"id":"api-78db950a70cad1","name":"selo","member":"selo","family":"Global","returns":"Obj","args":[],"kind":"function","signature":"Obj selo()","summary":{"en":"Selects a candidate, checks that it supports the script-object interface and returns its encoded object reference.","es":"Selecciona un candidato, comprueba que admite la interfaz de objeto de script y devuelve su referencia de objeto codificada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5819599647c8ef","name":"selu","member":"selu","family":"Global","returns":"Unit","args":[],"kind":"function","signature":"Unit selu()","summary":{"en":"Returns the currently selected unit handle, or the null handle when the selected object is not a unit.","es":"Devuelve la referencia de la unidad seleccionada actualmente, o una referencia nula si el objeto seleccionado no es una unidad."},"notes":{},"examples":{},"technical":{}},{"id":"api-30ace405a87480","name":"selh","member":"selh","family":"Global","returns":"Hero","args":[],"kind":"function","signature":"Hero selh()","summary":{"en":"Selects a candidate with a particular flag and returns its encoded hero reference.","es":"Selecciona un candidato con una determinada bandera y devuelve su referencia de héroe codificada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bce0d7e2936651","name":"selb","member":"selb","family":"Global","returns":"Building","args":[],"kind":"function","signature":"Building selb()","summary":{"en":"Selects a candidate with a particular flag and returns its encoded building reference.","es":"Selecciona un candidato con una determinada bandera y devuelve su referencia de edificio codificada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-659091bb0ecc2b","name":"sels","member":"sels","family":"Global","returns":"Settlement","args":[],"kind":"function","signature":"Settlement sels()","summary":{"en":"Returns the settlement associated with the currently selected settlement object, or the null handle.","es":"Devuelve el asentamiento asociado al objeto de asentamiento seleccionado actualmente, o una referencia nula."},"notes":{},"examples":{},"technical":{}},{"id":"api-bb1da1f24f54b0","name":"selsq","member":"selsq","family":"Global","returns":"Squad","args":[],"kind":"function","signature":"Squad selsq()","summary":{"en":"Selects a candidate with a particular flag and returns its squad selector extended with zero bits.","es":"Selecciona un candidato con una determinada bandera y devuelve su selector de escuadrón ampliado con bits cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4d57528dc13976","name":"selg","member":"selg","family":"Global","returns":"GAIKA","args":[],"kind":"function","signature":"GAIKA selg()","summary":{"en":"Routes a selected candidate through direct GAIKA helpers or coordinate fallback and pushes a narrowed selector.","es":"Procesa un candidato seleccionado mediante operaciones auxiliares directas de GAIKA o mediante coordenadas como alternativa, e introduce en la pila un selector reducido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-116c1016283e1b","name":"Desync","member":"Desync","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Desync()","summary":{"en":"Desync passes a diagnostic file object through two virtual calls.","es":"Desync pasa un objeto de archivo de diagnóstico a través de dos operaciones virtuales."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e9bd969a35ddab","name":"PFPersist","member":"PFPersist","family":"Global","returns":"void","args":["bool"],"kind":"function","signature":"void PFPersist(bool)","summary":{"en":"Consumes one boolean byte and selects two helper sequences around active-pathfinder virtual slot [field].","es":"Consume un byte booleano y selecciona dos secuencias de operaciones auxiliares alrededor de la operación virtual [campo] del buscador de rutas activo."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2a1760670c19d1","name":"AddFD","member":"AddFD","family":"Global","returns":"void","args":[],"kind":"function","signature":"void AddFD()","summary":{"en":"Inserts a callback into a global list and refreshes the current render-target rectangle.","es":"Inserta una función de actualización en una lista global y actualiza el rectángulo del destino de renderizado actual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-91242eec6d75bc","name":"RemFD","member":"RemFD","family":"Global","returns":"void","args":[],"kind":"function","signature":"void RemFD()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-c69aaa59eb8ce9","name":"RebuildPass","member":"RebuildPass","family":"Global","returns":"void","args":[],"kind":"function","signature":"void RebuildPass()","summary":{"en":"Invokes the map passability-mask rebuild routine for the current map bounds.","es":"Invoca la reconstrucción de la máscara de transitabilidad del mapa para sus límites actuales."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-31a0dea3c85dbd","name":"Splash","member":"Splash","family":"Global","returns":"void","args":["str","str"],"kind":"function","signature":"void Splash(str, str)","summary":{"en":"executes a modal introductory splash video/image sequence from INI configuration.","es":"Ejecuta una secuencia introductoria modal de vídeo o imagen según la configuración INI."},"notes":{},"examples":{},"technical":{}},{"id":"api-2da67ec2e9af05","name":"F5","member":"F5","family":"Global","returns":"void","args":[],"kind":"function","signature":"void F5()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-561bee689541b0","name":"FlatTerrain","member":"FlatTerrain","family":"Global","returns":"void","args":[],"kind":"function","signature":"void FlatTerrain()","summary":{"en":"Zeroes the global packed height surface, rebuilds the derived slope surface, and processes the pending viewport rectangle.","es":"Pone a cero la superficie global compactada de alturas, reconstruye la superficie derivada de pendientes y procesa el rectángulo pendiente de la vista."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5d7766f478f8ba","name":"Pause","member":"Pause","family":"Global","returns":"void","args":[],"kind":"function","signature":"void Pause()","summary":{"en":"Pause calls game virtual slot54 with one.","es":"Pause invoca la posición virtual 54 del juego con el valor uno."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-499d097efcca06","name":"TestLoad","member":"TestLoad","family":"Global","returns":"void","args":[],"kind":"function","signature":"void TestLoad()","summary":{"en":"TestLoad calls [field] and returns status zero without a VM packet operation.","es":"TestLoad llama a [campo] y devuelve el estado cero sin operar sobre un paquete de la máquina virtual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9d3ffc79cc6573","name":"TestSave","member":"TestSave","family":"Global","returns":"void","args":[],"kind":"function","signature":"void TestSave()","summary":{"en":"Sequentially executes explorer dialog state serialization followed by dialog list cleanup and heap deallocation.","es":"Ejecuta secuencialmente la serialización del estado del diálogo del explorador, seguida de la limpieza de la lista del diálogo y de la liberación de memoria dinámica."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3879cf0bd92eca","name":"sd","member":"sd","family":"Global","returns":"void","args":[],"kind":"function","signature":"void sd()","summary":{"en":"sd delegates without a semantic incoming-register argument.","es":"sd pasa la ejecución sin un argumento de entrada semántico en un registro."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9f30d2dfe14694","name":"_RedrawAll","member":"_RedrawAll","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _RedrawAll()","summary":{"en":"Dispatches the two UI virtual operations also used after the _Black global store.","es":"Invoca las dos operaciones virtuales de interfaz que también se usan después de escribir en la variable global _Black."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0597a203218d4f","name":"InsDecor","member":"InsDecor","family":"Global","returns":"void","args":["int","int","int"],"kind":"function","signature":"void InsDecor(int, int, int)","summary":{"en":"Writes an unmasked shifted decor value into the selected packed-grid word and dispatches a callback.","es":"Escribe un valor de decoración desplazado y sin máscara en la palabra seleccionada de la cuadrícula compactada e invoca una función de actualización."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2593eaa2882275","name":"DelDecor","member":"DelDecor","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void DelDecor(int, int)","summary":{"en":"Clears the selected 16-bit halfword of a packed-grid dword and dispatches a callback.","es":"Pone a cero la mitad de 16 bits seleccionada de un valor de 32 bits de la cuadrícula compactada e invoca una función de actualización."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-41de5c6a375357","name":"PreLit","member":"PreLit","family":"Global","returns":"void","args":[],"kind":"function","signature":"void PreLit()","summary":{"en":"Dispatches a full-extent light worker with fixed constants before printing its completion label.","es":"Solicita un procesamiento de luz en toda la extensión con constantes fijas, antes de mostrar su texto de finalización."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-737df639551062","name":"DeepWater","member":"DeepWater","family":"Global","returns":"void","args":["int","int","int"],"kind":"function","signature":"void DeepWater(int, int, int)","summary":{"en":"Forwards three VM integers and the full terrain rectangle to one worker.","es":"Pasa tres enteros de la máquina virtual y el rectángulo completo del terreno a una única tarea."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-44d1caa5a6d9f0","name":"RayOfLight","member":"RayOfLight","family":"Global","returns":"void","args":["int","int","int","int"],"kind":"function","signature":"void RayOfLight(int, int, int, int)","summary":{"en":"Gates on signed X and forwards all four VM integers to a six-argument worker.","es":"Comprueba X con signo y pasa los cuatro enteros de la máquina virtual a una tarea con seis argumentos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fe5800b48b36ba","name":"DumpFuncToXML","member":"DumpFuncToXML","family":"Global","returns":"void","args":[],"kind":"function","signature":"void DumpFuncToXML()","summary":{"en":"Dispatches the fixed XML filename and announces completion without checking the result.","es":"Procesa el nombre fijo de archivo XML y anuncia la finalización sin comprobar el resultado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-03474c0b1dddb8","name":"USR","member":"USR","family":"Global","returns":"void","args":[],"kind":"function","signature":"void USR()","summary":{"en":"Prints the running-script name for every currently selected unit, or a no-selection message.","es":"Muestra el nombre del script en ejecución de cada unidad seleccionada actualmente, o un mensaje que indica que no hay selección."},"notes":{},"examples":{},"technical":{}},{"id":"api-fe975c650d7045","name":"ToggleLD","member":"ToggleLD","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ToggleLD()","summary":{"en":"Toggles one rendering callback in a global callback list and requests viewport redraw processing.","es":"Activa o desactiva una función de renderizado en una lista global de funciones y solicita procesar el redibujado de la vista."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-228d848876d97d","name":"ChangeFormation","member":"ChangeFormation","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void ChangeFormation(str)","summary":{"en":"Routes a managed shape name to a selected registry object form pointer.","es":"Pasa un nombre gestionado de forma al puntero de forma del objeto seleccionado en el registro."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-df613a72be5e8d","name":"UndoMemory","member":"UndoMemory","family":"Global","returns":"void","args":[],"kind":"function","signature":"void UndoMemory()","summary":{"en":"UndoMemory prints a sampled field or an unavailable diagnostic.","es":"UndoMemory muestra un campo muestreado o un diagnóstico de que no está disponible."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4dbe23db535ae4","name":"AdvExplorer","member":"AdvExplorer","family":"Global","returns":"void","args":[],"kind":"function","signature":"void AdvExplorer()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-61de83189d2e3f","name":"ae","member":"ae","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ae()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-336d7ba3e47848","name":"TTest","member":"TTest","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void TTest(str)","summary":{"en":"Resolves a translation key and prints the input and translated value to chat.","es":"Obtiene una clave de traducción y muestra en el chat la entrada y el valor traducido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5c15fa977605f4","name":"TTestf","member":"TTestf","family":"Global","returns":"void","args":[],"kind":"function","signature":"void TTestf()","summary":{"en":"TTestf passes fixed variadic test operands to the formatter.","es":"TTestf pasa operandos de prueba variádicos fijos a la operación de formato."},"notes":{},"examples":{},"technical":{}},{"id":"api-6d23d5c8712f79","name":"SaveEdit","member":"SaveEdit","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SaveEdit()","summary":{"en":"Dispatches a fixed scenario path through the game object virtual slot [field].","es":"Pasa una ruta fija de escenario a la operación virtual [campo] del objeto de partida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0903ce381015a9","name":"EdgeOfForever","member":"EdgeOfForever","family":"Global","returns":"void","args":[],"kind":"function","signature":"void EdgeOfForever()","summary":{"en":"Prints a TLS-derived pointer with the literal ScopeStack format.","es":"Muestra un puntero obtenido del almacenamiento local del hilo con el formato literal ScopeStack."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a09e9bc3f503e2","name":"TestAdventure","member":"TestAdventure","family":"Global","returns":"void","args":[],"kind":"function","signature":"void TestAdventure()","summary":{"en":"Initiates an integrity audit of the current adventure map set, reporting errors and warnings to the in-game message console.","es":"Inicia una comprobación de integridad del conjunto de mapas de la aventura actual e informa de errores y avisos en la consola de mensajes del juego."},"notes":{},"examples":{},"technical":{}},{"id":"api-54a7068226111b","name":"TestAdventureDebug","member":"TestAdventureDebug","family":"Global","returns":"void","args":[],"kind":"function","signature":"void TestAdventureDebug()","summary":{"en":"audits adventure integrity and outputs results via the debug stream logger.","es":"Revisa la integridad de la aventura y envía los resultados al registro del flujo de depuración."},"notes":{},"examples":{},"technical":{}},{"id":"api-9d34406317936a","name":"SettlementCount","member":"SettlementCount","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SettlementCount()","summary":{"en":"SettlementCount prints vector length and each stored building field.","es":"SettlementCount muestra la longitud del vector y cada campo de edificio almacenado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f5d5cffdd6b96f","name":"LSA","member":"LSA","family":"Global","returns":"void","args":[],"kind":"function","signature":"void LSA()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-3b48aecf0aed97","name":"GAIKAFD","member":"GAIKAFD","family":"Global","returns":"void","args":[],"kind":"function","signature":"void GAIKAFD()","summary":{"en":"GAIKAFD toggles a callback and forwards a bitmap filename.","es":"GAIKAFD alterna una función de actualización y pasa un nombre de archivo de mapa de bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f5d1f2751680b8","name":"ESG","member":"ESG","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void ESG(int, int)","summary":{"en":"ESG filters packed squad entries and prints a local accumulator.","es":"ESG filtra entradas compactadas de escuadras y muestra un acumulador local."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-6049b14e077eb3","name":"GS","member":"GS","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void GS(int)","summary":{"en":"GS prints a viewport cell identifier and a registered symbol.","es":"GS muestra un identificador de celda de la vista y un símbolo registrado."},"notes":{},"examples":{},"technical":{}},{"id":"api-3e92fe7e17dece","name":"cvar1","member":"cvar1","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void cvar1(int)","summary":{"en":"Pops an integer and forwards it with /cvar1 to the property setter helper.","es":"Extrae de la pila un entero y lo pasa junto con /cvar1 a la operación auxiliar que establece propiedades."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-da7d546cddbf88","name":"cvar1","member":"cvar1","family":"Global","returns":"int","args":[],"kind":"function","signature":"int cvar1()","summary":{"en":"Passes /cvar1 to a property lookup operation and returns its 32-bit result.","es":"Pasa /cvar1 a una operación de consulta de propiedades y devuelve su resultado de 32 bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-adb9c7be445468","name":"cvar2","member":"cvar2","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void cvar2(int)","summary":{"en":"Pops an integer and forwards it with /cvar2 to the property setter helper.","es":"Extrae de la pila un entero y lo pasa junto con /cvar2 a la operación auxiliar que establece propiedades."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-269720e576aec9","name":"cvar2","member":"cvar2","family":"Global","returns":"int","args":[],"kind":"function","signature":"int cvar2()","summary":{"en":"Passes /cvar2 to a property lookup operation and returns its 32-bit result.","es":"Pasa /cvar2 a una operación de consulta de propiedades y devuelve su resultado de 32 bits."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-70288414e30f1a","name":"TogglePtDraw","member":"TogglePtDraw","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void TogglePtDraw(int)","summary":{"en":"Toggles a native mask bit and sends the viewport rectangle to the dirty-rect marker.","es":"Alterna un bit de una máscara interna y envía el rectángulo de la vista al marcador de rectángulos que deben redibujarse."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b8e2e9f78370f1","name":"DisablePtDraw","member":"DisablePtDraw","family":"Global","returns":"void","args":[],"kind":"function","signature":"void DisablePtDraw()","summary":{"en":"Clears the native draw mask and sends the viewport rectangle to the dirty-rect marker.","es":"Limpia la máscara interna de dibujo y envía el rectángulo de la vista al marcador de rectángulos que deben redibujarse."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-08e1dde8de7089","name":"EnablePtDraw","member":"EnablePtDraw","family":"Global","returns":"void","args":[],"kind":"function","signature":"void EnablePtDraw()","summary":{"en":"Sets every native draw-mask bit and sends the viewport rectangle to the dirty-rect marker.","es":"Activa todos los bits de la máscara interna de dibujo y envía el rectángulo de la vista al marcador de rectángulos que deben redibujarse."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b736345adafff3","name":"Unit::GetAnimState","member":"GetAnimState","family":"Unit","returns":"int","args":[],"kind":"method","signature":"int Unit::GetAnimState()","summary":{"en":"Maps the resolved Unit's [field] state integer according to a global animation mode predicate.","es":"Transforma el entero de estado [campo] de la Unit resuelta según un predicado global del modo de animación."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3e5d7ba64ceab4","name":"ClearDecors","member":"ClearDecors","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ClearDecors()","summary":{"en":"Clears every packed 16-bit decor-grid sample across the global map dimensions.","es":"Pone a cero todas las muestras de 16 bits de la cuadrícula compactada de decoraciones en toda la extensión del mapa global."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4ccf8359790faf","name":"GenTransTables","member":"GenTransTables","family":"Global","returns":"void","args":[],"kind":"function","signature":"void GenTransTables()","summary":{"en":"The implementation performs no additional work and reports zero internally. This void signature exposes no return value to the script.","es":"La implementación no realiza trabajo adicional e informa internamente de cero. Esta firma void no ofrece un valor de retorno al script."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1bfbef5606fab7","name":"GetItem","member":"GetItem","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void GetItem(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-f0baf509728779","name":"_PlayersAlly","member":"_PlayersAlly","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void _PlayersAlly(int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-5c3cf9384db675","name":"_PlayersShareControl","member":"_PlayersShareControl","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void _PlayersShareControl(int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-d34578d495bbb5","name":"_PlayersShareView","member":"_PlayersShareView","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void _PlayersShareView(int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-4eb3f2abb9b5a0","name":"_PlayersShareSupport","member":"_PlayersShareSupport","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void _PlayersShareSupport(int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-d6bf18c25d8f50","name":"_PlayersMakeEnemies","member":"_PlayersMakeEnemies","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void _PlayersMakeEnemies(int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-9c5a8b128ae8b3","name":"_chs","member":"_chs","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void _chs(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-d9d6a54088cdfe","name":"_SetNextSeason","member":"_SetNextSeason","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void _SetNextSeason(str)","summary":{"en":"_SetNextSeason stores the parser result even when it is zero.","es":"_SetNextSeason guarda el resultado del analizador incluso cuando es cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d8bebf361a32be","name":"IngameDebugSelected","member":"IngameDebugSelected","family":"Global","returns":"void","args":[],"kind":"function","signature":"void IngameDebugSelected()","summary":{"en":"The implementation performs no additional work and reports zero internally. This void signature exposes no return value to the script.","es":"La implementación no realiza trabajo adicional e informa internamente de cero. Esta firma void no ofrece un valor de retorno al script."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5607d7654bbdaf","name":"gmp","member":"gmp","family":"Global","returns":"void","args":[],"kind":"function","signature":"void gmp()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-6bd8d091f6df7d","name":"GenHelpCmdIcons","member":"GenHelpCmdIcons","family":"Global","returns":"void","args":[],"kind":"function","signature":"void GenHelpCmdIcons()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-466a1e266011e5","name":"Hero::_EnableAllSkills","member":"_EnableAllSkills","family":"Hero","returns":"void","args":[],"kind":"method","signature":"void Hero::_EnableAllSkills()","summary":{"en":"Resolves a Hero and zeroes its 25 skill-level bytes directly.","es":"Obtiene un Hero y pone a cero directamente sus 25 bytes de niveles de habilidad."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-eb2f6051137feb","name":"gdb","member":"gdb","family":"Global","returns":"void","args":[],"kind":"function","signature":"void gdb()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-b5ac12d1f63f76","name":"_handles","member":"_handles","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _handles()","summary":{"en":"_handles prints two initialized counter outputs behind pointer gates.","es":"_handles muestra dos salidas inicializadas de contadores bajo comprobaciones de punteros."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-c1e9f3ccf4f9d6","name":"GetFormDsc","member":"GetFormDsc","family":"Global","returns":"str","args":["str"],"kind":"function","signature":"str GetFormDsc(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-2c2390e8b0f9c7","name":"SetPlayerSettRace","member":"SetPlayerSettRace","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void SetPlayerSettRace(int, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-8277325bc46068","name":"SetSettRace","member":"SetSettRace","family":"Global","returns":"void","args":["str","int"],"kind":"function","signature":"void SetSettRace(str, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-33efc546401537","name":"SetShortcutSel","member":"SetShortcutSel","family":"Global","returns":"void","args":["int","int","ObjList"],"kind":"function","signature":"void SetShortcutSel(int, int, ObjList)","summary":{"en":"Native CKS binding writing eligible units from an ObjList into a numbered control group, validating the full 0..9 range.","es":"Enlace CKS que escribe las unidades aptas de una ObjList en un grupo de control numerado, validando todo el intervalo de 0 a 9."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bdb4750c776e84","name":"GetShortcutSel","member":"GetShortcutSel","family":"Global","returns":"ObjList","args":["int","int"],"kind":"function","signature":"ObjList GetShortcutSel(int, int)","summary":{"en":"Native CKS binding exporting a numbered control group's primary unit list to a new ObjList, validating the full 0..9 range.","es":"Enlace CKS que exporta a una ObjList nueva la lista principal de unidades de un grupo de control numerado, validando todo el intervalo de 0 a 9."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-03a1547d1b85b7","name":"UIShowTab","member":"UIShowTab","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void UIShowTab(int)","summary":{"en":"Consumes the requested tab integer but uses it only as a guard for a selection refresh helper.","es":"Consume el entero de la pestaña solicitada, pero lo usa únicamente como condición para una operación auxiliar que actualiza la selección."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d7fc77b644eb69","name":"UITabShown","member":"UITabShown","family":"Global","returns":"int","args":[],"kind":"function","signature":"int UITabShown()","summary":{"en":"Pushes the tab-holder global dword read by a native getter.","es":"Introduce en la pila el dword global del contenedor de pestañas leído por una operación interna de consulta."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7521b35994aa24","name":"BlurTerrain","member":"BlurTerrain","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void BlurTerrain(int)","summary":{"en":"Narrows its integer to signed sixteen bits before terrain processing and refresh dispatch.","es":"Reduce su entero a dieciséis bits con signo antes del procesamiento del terreno y de solicitar la actualización."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f9ffa6922c4661","name":"ShowFlatTerrain","member":"ShowFlatTerrain","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ShowFlatTerrain()","summary":{"en":"Runs a terrain worker followed by slope-grid rebuild and viewport processing.","es":"Ejecuta una tarea del terreno, seguida de la reconstrucción de la cuadrícula de pendientes y el procesamiento de la vista."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0e90be19a1ee4e","name":"clock","member":"clock","family":"Global","returns":"str","args":[],"kind":"function","signature":"str clock()","summary":{"en":"Formats the game counter at [field] as an hours-minutes-seconds string and returns a CKS string value.","es":"Da formato al contador de partida [campo] como un texto de horas, minutos y segundos, y devuelve un valor de texto CKS."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8d9ce728d4e5c9","name":"_DbgSel","member":"_DbgSel","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _DbgSel()","summary":{"en":"Modifies a selected related unit descriptor, prints native values and conditionally creates feedback for a point command.","es":"Modifica un descriptor de unidad relacionada seleccionado, imprime valores internos y crea información de respuesta para una orden de punto si se cumple la condición."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-85bc45c7f01468","name":"WaitIdle","member":"WaitIdle","family":"Global","returns":"bool","args":["Query","int"],"kind":"function","signature":"bool WaitIdle(Query, int)","summary":{"en":"Implements the registered WaitIdle blocking predicate and timeout paths.","es":"Implementa la condición bloqueante registrada WaitIdle y sus rutas de agotamiento del tiempo de espera."},"notes":{},"examples":{},"technical":{}},{"id":"api-d9fd3f9f8e7833","name":"WaitObjInQuery","member":"WaitObjInQuery","family":"Global","returns":"bool","args":["Obj","Query","int"],"kind":"function","signature":"bool WaitObjInQuery(Obj, Query, int)","summary":{"en":"Implements the registered WaitObjInQuery blocking predicate and timeout paths.","es":"Implementa la condición bloqueante registrada WaitObjInQuery y sus rutas de agotamiento del tiempo de espera."},"notes":{},"examples":{},"technical":{}},{"id":"api-b976d53d25565d","name":"WaitQueryCountBetween","member":"WaitQueryCountBetween","family":"Global","returns":"bool","args":["Query","int","int","int"],"kind":"function","signature":"bool WaitQueryCountBetween(Query, int, int, int)","summary":{"en":"Implements the registered WaitQueryCountBetween blocking predicate and timeout paths.","es":"Implementa la condición bloqueante registrada WaitQueryCountBetween y sus rutas de agotamiento del tiempo de espera."},"notes":{},"examples":{},"technical":{}},{"id":"api-1b7700df8e886f","name":"WaitCommonObjects","member":"WaitCommonObjects","family":"Global","returns":"bool","args":["Query","Query","int"],"kind":"function","signature":"bool WaitCommonObjects(Query, Query, int)","summary":{"en":"Implements a blocking wait condition over two queries and schedules a retry interval when required.","es":"Implementa una condición de espera bloqueante sobre dos consultas y programa un intervalo de reintento cuando hace falta."},"notes":{},"examples":{},"technical":{}},{"id":"api-69078ae5ee7aa4","name":"WaitHealthBetween","member":"WaitHealthBetween","family":"Global","returns":"bool","args":["Query","int","int","int"],"kind":"function","signature":"bool WaitHealthBetween(Query, int, int, int)","summary":{"en":"Implements the registered WaitHealthBetween blocking predicate and timeout paths.","es":"Implementa la condición bloqueante registrada WaitHealthBetween y sus rutas de agotamiento del tiempo de espera."},"notes":{},"examples":{},"technical":{}},{"id":"api-4989f82300f7ef","name":"WaitSettlementCapture","member":"WaitSettlementCapture","family":"Global","returns":"bool","args":["str","int","int"],"kind":"function","signature":"bool WaitSettlementCapture(str, int, int)","summary":{"en":"Implements the registered WaitSettlementCapture blocking predicate and timeout paths.","es":"Implementa la condición bloqueante registrada WaitSettlementCapture y sus rutas de agotamiento del tiempo de espera."},"notes":{},"examples":{},"technical":{}},{"id":"api-5925304a4497d7","name":"WaitSettlementAllied","member":"WaitSettlementAllied","family":"Global","returns":"bool","args":["str","int","int"],"kind":"function","signature":"bool WaitSettlementAllied(str, int, int)","summary":{"en":"Waits until a named settlement is not allied with a requested player or a finite timeout expires.","es":"Espera hasta que el asentamiento indicado por nombre deje de ser aliado del jugador indicado o se agote un tiempo de espera finito."},"notes":{},"examples":{},"technical":{}},{"id":"api-be428ca78893d2","name":"WaitEnvStringEqual","member":"WaitEnvStringEqual","family":"Global","returns":"bool","args":["str","str","int"],"kind":"function","signature":"bool WaitEnvStringEqual(str, str, int)","summary":{"en":"Implements the registered WaitEnvStringEqual blocking predicate and timeout paths.","es":"Implementa la condición bloqueante registrada WaitEnvStringEqual y sus rutas de agotamiento del tiempo de espera."},"notes":{},"examples":{},"technical":{}},{"id":"api-7e95091315b9fc","name":"WaitEnvIntBetween","member":"WaitEnvIntBetween","family":"Global","returns":"bool","args":["str","int","int","int"],"kind":"function","signature":"bool WaitEnvIntBetween(str, int, int, int)","summary":{"en":"Implements the registered WaitEnvIntBetween blocking predicate and timeout paths.","es":"Implementa la condición bloqueante registrada WaitEnvIntBetween y sus rutas de agotamiento del tiempo de espera."},"notes":{},"examples":{},"technical":{}},{"id":"api-b69f1d875c269d","name":"WaitAddNote","member":"WaitAddNote","family":"Global","returns":"bool","args":["str","int"],"kind":"function","signature":"bool WaitAddNote(str, int)","summary":{"en":"Suspends a VM thread until a named note exists or the requested timeout expires.","es":"Suspende un hilo de la máquina virtual hasta que exista una nota con el nombre indicado o se agote el tiempo de espera solicitado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-63cbd8c93a544d","name":"WaitRemoveNote","member":"WaitRemoveNote","family":"Global","returns":"bool","args":["str","int"],"kind":"function","signature":"bool WaitRemoveNote(str, int)","summary":{"en":"Suspends a VM thread while a named note remains active, subject to the requested timeout.","es":"Suspende un hilo de la máquina virtual mientras siga activa una nota con el nombre indicado, sujeto al tiempo de espera solicitado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d8c4bec1b7549c","name":"WaitConvRequest","member":"WaitConvRequest","family":"Global","returns":"bool","args":["Query","Query","int","Obj&","Obj&"],"kind":"function","signature":"bool WaitConvRequest(Query, Query, int, Obj&, Obj&)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-f890923e88456c","name":"WaitUnitsInArea","member":"WaitUnitsInArea","family":"Global","returns":"bool","args":["Query","str","int"],"kind":"function","signature":"bool WaitUnitsInArea(Query, str, int)","summary":{"en":"WaitUnitsInArea tests a nonempty query collection using the area acceptance helper.","es":"WaitUnitsInArea comprueba una colección de consulta no vacía mediante la operación de aceptación del área."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7165968e2aa28d","name":"WaitIdleUnitsInArea","member":"WaitIdleUnitsInArea","family":"Global","returns":"bool","args":["Query","str","int"],"kind":"function","signature":"bool WaitIdleUnitsInArea(Query, str, int)","summary":{"en":"WaitIdleUnitsInArea tests idle names in a nonempty area-filtered collection.","es":"WaitIdleUnitsInArea comprueba los nombres de reposo en una colección no vacía filtrada por área."},"notes":{},"examples":{},"technical":{}},{"id":"api-7d7e4a0782448e","name":"WaitEmptyQuery","member":"WaitEmptyQuery","family":"Global","returns":"bool","args":["Query","int"],"kind":"function","signature":"bool WaitEmptyQuery(Query, int)","summary":{"en":"WaitEmptyQuery completes true when query virtual slot [field] returns nonzero.","es":"WaitEmptyQuery finaliza con true cuando la operación virtual [campo] de la consulta devuelve un valor distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cb976dbf3c120c","name":"WaitNonEmptyQuery","member":"WaitNonEmptyQuery","family":"Global","returns":"bool","args":["Query","int"],"kind":"function","signature":"bool WaitNonEmptyQuery(Query, int)","summary":{"en":"WaitNonEmptyQuery completes true when query virtual slot [field] returns zero.","es":"WaitNonEmptyQuery finaliza con true cuando la operación virtual [campo] de la consulta devuelve cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-49352a1f96d718","name":"WaitConvRequest","member":"WaitConvRequest","family":"Global","returns":"bool","args":["Obj","Obj","int"],"kind":"function","signature":"bool WaitConvRequest(Obj, Obj, int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-cb9171ff2b3ea4","name":"EndConvSetup","member":"EndConvSetup","family":"Global","returns":"void","args":["Obj","Obj"],"kind":"function","signature":"void EndConvSetup(Obj, Obj)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-39ea2084ab84cb","name":"WaitPlayerChat","member":"WaitPlayerChat","family":"Global","returns":"void","args":["int&","str&","int"],"kind":"function","signature":"void WaitPlayerChat(int&, str&, int)","summary":{"en":"WaitPlayerChat copies and removes a matching-stamp chat entry into output references.","es":"WaitPlayerChat copia a las referencias de salida una entrada de chat con una marca coincidente y la elimina."},"notes":{},"examples":{},"technical":{}},{"id":"api-993e9182ab0c72","name":"ShowLastNotificationPos","member":"ShowLastNotificationPos","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ShowLastNotificationPos()","summary":{"en":"Projects the stored notification target and submits a scene viewport center request.","es":"Proyecta el destino de notificación almacenado y solicita centrar la vista de la escena."},"notes":{},"examples":{},"technical":{}},{"id":"api-a8568f6c97493d","name":"UserNotification","member":"UserNotification","family":"Global","returns":"void","args":["str","str","point","int"],"kind":"function","signature":"void UserNotification(str, str, point, int)","summary":{"en":"Triggers a notification from two script strings and a point when the requested player matches the active player.","es":"Genera una notificación a partir de dos textos de scripts y un punto cuando el jugador indicado coincide con el jugador activo."},"notes":{},"examples":{},"technical":{}},{"id":"api-5229d23c243724","name":"HasStarvingArmy","member":"HasStarvingArmy","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool HasStarvingArmy()","summary":{"en":"Tests whether the notifications manager contains the named army-starving notification.","es":"Comprueba si el gestor de notificaciones contiene la notificación por nombre de ejército sin comida."},"notes":{},"examples":{},"technical":{}},{"id":"api-c978fdca810a04","name":"HasStarvingArmy","member":"HasStarvingArmy","family":"Global","returns":"bool","args":["int"],"kind":"function","signature":"bool HasStarvingArmy(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-d6b2613aa216ea","name":"StarvingArmyPos","member":"StarvingArmyPos","family":"Global","returns":"Obj","args":["int"],"kind":"function","signature":"Obj StarvingArmyPos(int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-9879c14b884a6f","name":"RunAIHelper","member":"RunAIHelper","family":"Global","returns":"void","args":["str","str"],"kind":"function","signature":"void RunAIHelper(str, str)","summary":{"en":"Consumes 2 script strings and forwards their character data to the global AI helper invocation routine.","es":"Consume 2 textos del script y pasa sus caracteres a la rutina global de invocación de operaciones auxiliares de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5e11c504c04358","name":"RunAIHelper","member":"RunAIHelper","family":"Global","returns":"void","args":["str","str","str"],"kind":"function","signature":"void RunAIHelper(str, str, str)","summary":{"en":"Consumes 3 script strings and forwards their character data to the global AI helper invocation routine.","es":"Consume 3 textos del script y pasa sus caracteres a la rutina global de invocación de operaciones auxiliares de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-488cdcff735465","name":"RunAIHelper","member":"RunAIHelper","family":"Global","returns":"void","args":["str","str","str","str"],"kind":"function","signature":"void RunAIHelper(str, str, str, str)","summary":{"en":"Consumes 4 script strings and forwards their character data to the global AI helper invocation routine.","es":"Consume 4 textos del script y pasa sus caracteres a la rutina global de invocación de operaciones auxiliares de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5037764e3fa4c9","name":"RunAIHelper","member":"RunAIHelper","family":"Global","returns":"void","args":["str","str","str","str","str"],"kind":"function","signature":"void RunAIHelper(str, str, str, str, str)","summary":{"en":"Consumes 5 script strings and forwards their character data to the global AI helper invocation routine.","es":"Consume 5 textos del script y pasa sus caracteres a la rutina global de invocación de operaciones auxiliares de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1b6433496e40d0","name":"RunAIHelper","member":"RunAIHelper","family":"Global","returns":"void","args":["str","str","str","str","str","str"],"kind":"function","signature":"void RunAIHelper(str, str, str, str, str, str)","summary":{"en":"Consumes 6 script strings and forwards their character data to the global AI helper invocation routine.","es":"Consume 6 textos del script y pasa sus caracteres a la rutina global de invocación de operaciones auxiliares de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-918a06897260b8","name":"RunAIHelper","member":"RunAIHelper","family":"Global","returns":"void","args":["str","str","str","str","str","str","str"],"kind":"function","signature":"void RunAIHelper(str, str, str, str, str, str, str)","summary":{"en":"Consumes 7 script strings and forwards their character data to the global AI helper invocation routine.","es":"Consume 7 textos del script y pasa sus caracteres a la rutina global de invocación de operaciones auxiliares de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b78d6ed145fb40","name":"RunAIHelper","member":"RunAIHelper","family":"Global","returns":"void","args":["str","str","str","str","str","str","str","str"],"kind":"function","signature":"void RunAIHelper(str, str, str, str, str, str, str, str)","summary":{"en":"Consumes 8 script strings and forwards their character data to the global AI helper invocation routine.","es":"Consume 8 textos del script y pasa sus caracteres a la rutina global de invocación de operaciones auxiliares de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-54e289241ad516","name":"RunAIHelper","member":"RunAIHelper","family":"Global","returns":"void","args":["str","str","str","str","str","str","str","str","str"],"kind":"function","signature":"void RunAIHelper(str, str, str, str, str, str, str, str, str)","summary":{"en":"Consumes 9 script strings and forwards their character data to the global AI helper invocation routine.","es":"Consume 9 textos del script y pasa sus caracteres a la rutina global de invocación de operaciones auxiliares de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b9eb3fb20f849d","name":"StopAIHelper","member":"StopAIHelper","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void StopAIHelper(str)","summary":{"en":"Consumes a helper-name string and forwards a named task cancellation request.","es":"Consume un texto con el nombre de una operación auxiliar y envía una solicitud de cancelación de tarea por nombre."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-fd85c519ae061e","name":"IsAIHelperRunning","member":"IsAIHelperRunning","family":"Global","returns":"bool","args":["str"],"kind":"function","signature":"bool IsAIHelperRunning(str)","summary":{"en":"Consumes a helper-name string and returns the helper name-table membership result.","es":"Consume un texto con el nombre de una operación auxiliar y devuelve el resultado de comprobar su pertenencia a la tabla de nombres de operaciones auxiliares."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-dc1657f1d8776b","name":"pfd","member":"pfd","family":"Global","returns":"void","args":[],"kind":"function","signature":"void pfd()","summary":{"en":"Alternates destruction and allocation of the object pointer at [field].","es":"Alterna la destrucción y la reserva del puntero de objeto almacenado en [campo]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-254c0c41f5c72b","name":"testpf","member":"testpf","family":"Global","returns":"void","args":[],"kind":"function","signature":"void testpf()","summary":{"en":"Calls [field] only when the diagnostic object pointer is nonzero.","es":"Llama a [campo] solo cuando el puntero del objeto de diagnóstico es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8ecf5cbf3f0b34","name":"SPFDone","member":"SPFDone","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SPFDone()","summary":{"en":"Restores the active pathfinder from task offset zero, releases the task and clears its global pointer.","es":"Restaura el buscador de rutas activo desde el desplazamiento cero de la tarea, libera la tarea y limpia su puntero global."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-13db5be4de88a7","name":"SPFFindAreas_Quant","member":"SPFFindAreas_Quant","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool SPFFindAreas_Quant()","summary":{"en":"Advances one SPF area-finding step and returns a boolean continuation value to CKS.","es":"Avanza un paso de búsqueda de área SPF y devuelve a CKS un booleano que indica la continuación."},"notes":{},"examples":{},"technical":{}},{"id":"api-67725d4c7bd57e","name":"SPFInitData","member":"SPFInitData","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SPFInitData()","summary":{"en":"Passes the current SPF task to an implementation operation. The implementation reports zero.","es":"Pasa la tarea SPF actual a una operación de implementación. La implementación informa de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-4b2f64655cc273","name":"SPFInitDirectionData","member":"SPFInitDirectionData","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SPFInitDirectionData()","summary":{"en":"Delegates direction-map initialization from the current SPF build task.","es":"Solicita la inicialización del mapa de direcciones a partir de la tarea actual de construcción SPF."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0c5d2a36c67452","name":"SPFInitPointToAreaData","member":"SPFInitPointToAreaData","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SPFInitPointToAreaData()","summary":{"en":"Delegates point-to-area connection data initialization from the current SPF build task.","es":"Solicita la inicialización de los datos de conexión de punto a área a partir de la tarea actual de construcción SPF."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a285f8366f50a6","name":"SPFInitConnectData","member":"SPFInitConnectData","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SPFInitConnectData()","summary":{"en":"Initializes five counters in the current SPF build task from a nested size value.","es":"Inicializa cinco contadores de la tarea actual de construcción SPF a partir de un valor de tamaño anidado."},"notes":{},"examples":{},"technical":{}},{"id":"api-0b2ef7f0770ece","name":"SPFCalcConnectHighRes_Quant","member":"SPFCalcConnectHighRes_Quant","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool SPFCalcConnectHighRes_Quant()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-53dd40795432d9","name":"SPFIncreaseConnect","member":"SPFIncreaseConnect","family":"Global","returns":"void","args":[],"kind":"function","signature":"void SPFIncreaseConnect()","summary":{"en":"Routes three arguments from the SPF task to [field] and then zeros task [field].","es":"Pasa tres argumentos de la tarea SPF a [campo] y después pone a cero [campo] de la tarea."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-13de1dcabdc511","name":"SPFIncreaseConnect_Quant","member":"SPFIncreaseConnect_Quant","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool SPFIncreaseConnect_Quant()","summary":{"en":"Pushes one boolean byte for the nonzero result of [field] on the current SPF task.","es":"Introduce en la pila un byte booleano que indica si el resultado de [campo] sobre la tarea SPF actual es distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8b53011f2e57be","name":"GetInnState","member":"GetInnState","family":"Global","returns":"int","args":["str","str"],"kind":"function","signature":"int GetInnState(str, str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-3653531b49a80a","name":"SetInnState","member":"SetInnState","family":"Global","returns":"void","args":["str","str","int"],"kind":"function","signature":"void SetInnState(str, str, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-fa0ce09f190344","name":"GetInnState","member":"GetInnState","family":"Global","returns":"int","args":["Obj"],"kind":"function","signature":"int GetInnState(Obj)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-fcdc97c3f37423","name":"SetInnState","member":"SetInnState","family":"Global","returns":"void","args":["Obj","int"],"kind":"function","signature":"void SetInnState(Obj, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-29599f2aa9b27f","name":"GenTransGame","member":"GenTransGame","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void GenTransGame(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-8b28718a7b3eff","name":"MousePtm","member":"MousePtm","family":"Global","returns":"point","args":[],"kind":"function","signature":"point MousePtm()","summary":{"en":"MousePtm pushes the dwords at receiver[field] and [field] from [[field]].","es":"MousePtm introduce en la pila los dwords receptor[campo] y [campo] obtenidos desde [[campo]]."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-12203399528fe6","name":"point::GetGAIKA","member":"GetGAIKA","family":"point","returns":"GAIKA","args":[],"kind":"method","signature":"GAIKA point::GetGAIKA()","summary":{"en":"Shared handler for GetGAIKA and point::GetGAIKA that resolves a point through the global AI map.","es":"Gestor compartido de GetGAIKA y point::GetGAIKA que resuelve un punto mediante el mapa global de IA."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-60c111a95059c3","name":"Goto","member":"Goto","family":"Global","returns":"void","args":["int","int"],"kind":"function","signature":"void Goto(int, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-38b1a9ba61db73","name":"ToggleFD","member":"ToggleFD","family":"Global","returns":"void","args":[],"kind":"function","signature":"void ToggleFD()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-3bc7c56336e469","name":"Catch","member":"Catch","family":"Global","returns":"void","args":["Obj"],"kind":"function","signature":"void Catch(Obj)","summary":{"en":"Shared address-taken handler that decrements the VM cursor by eight bytes and returns zero.","es":"Gestor compartido cuya dirección se usa como referencia; reduce el cursor de la máquina virtual en ocho bytes y devuelve cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3440ac625c251b","name":"point::ClampToMap","member":"ClampToMap","family":"point","returns":"point","args":[],"kind":"method","signature":"point point::ClampToMap()","summary":{"en":"point::ClampToMap clamps each coordinate to zero through its map dimension minus one when a global map exists.","es":"point::ClampToMap limita cada coordenada entre cero y su dimensión del mapa menos uno cuando existe un mapa global."},"notes":{},"examples":{},"technical":{}},{"id":"api-f06da9dbe3af49","name":"RemakeVis","member":"RemakeVis","family":"Global","returns":"void","args":[],"kind":"function","signature":"void RemakeVis()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-a9fa7a9bd2de61","name":"HeroStats","member":"HeroStats","family":"Global","returns":"void","args":[],"kind":"function","signature":"void HeroStats()","summary":{"en":"Builds a local statistics context, invokes collection and reporting workers, then cleans its stored output handle.","es":"Construye un contexto local de estadísticas, invoca las tareas de recogida e informe y después limpia la referencia de salida almacenada."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f7f8c7518421e8","name":"EqualHeroes","member":"EqualHeroes","family":"Global","returns":"void","args":[],"kind":"function","signature":"void EqualHeroes()","summary":{"en":"Routes a pointer to a local byte to the class-registry worker.","es":"Pasa un puntero a un byte local a la tarea del registro de clases."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ae08c55d5cff37","name":"_ui","member":"_ui","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _ui()","summary":{"en":"Allocates and constructs a unit-import adapter object under a nonzero global gate.","es":"Reserva y construye un objeto adaptador para importar unidades si la condición global tiene un valor distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-f5b49ddad299f4","name":"_di","member":"_di","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _di()","summary":{"en":"Allocates and constructs a decor-import adapter object under a nonzero global gate.","es":"Reserva y construye un objeto adaptador para importar decorados si la condición global tiene un valor distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-de0c3cb7894fdb","name":"_bi","member":"_bi","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _bi()","summary":{"en":"Allocates and constructs a building-import adapter object under a nonzero global gate.","es":"Reserva y construye un objeto adaptador para importar edificios si la condición global tiene un valor distinto de cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b0342713f02ba0","name":"_itools","member":"_itools","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _itools()","summary":{"en":"The implementation performs no additional work and reports zero internally. This void signature exposes no return value to the script.","es":"La implementación no realiza trabajo adicional e informa internamente de cero. Esta firma void no ofrece un valor de retorno al script."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-8b1cc1f26afed5","name":"StartPlayerScript","member":"StartPlayerScript","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void StartPlayerScript(int, str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-b3ac2acd50dcfb","name":"StopPlayerScript","member":"StopPlayerScript","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void StopPlayerScript(int, str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-320737c450681e","name":"GetPlayerScriptsCount","member":"GetPlayerScriptsCount","family":"Global","returns":"int","args":["int"],"kind":"function","signature":"int GetPlayerScriptsCount(int)","summary":{"en":"Registered handler that overwrites its integer argument slot with the constant eight.","es":"Gestor registrado que sustituye la posición de su argumento entero por la constante ocho."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-245b5a8b98e243","name":"GetPlayerScript","member":"GetPlayerScript","family":"Global","returns":"str","args":["int","int"],"kind":"function","signature":"str GetPlayerScript(int, int)","summary":{"en":"Returns one of eight stored script strings for a validated one-based player number.","es":"Devuelve uno de ocho textos de scripts almacenados para un número de jugador validado y numerado desde uno."},"notes":{},"examples":{},"technical":{}},{"id":"api-3a8fdeb31b1104","name":"ShowAnnouncement","member":"ShowAnnouncement","family":"Global","returns":"void","args":["str","str"],"kind":"function","signature":"void ShowAnnouncement(str, str)","summary":{"en":"Consumes two VM string arguments and calls the announcement table helper using receiver [field].","es":"Consume dos argumentos de texto de la máquina virtual y llama a la operación auxiliar de la tabla de anuncios usando [campo] del receptor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-99187f3983b9eb","name":"HideAnnouncement","member":"HideAnnouncement","family":"Global","returns":"void","args":["str"],"kind":"function","signature":"void HideAnnouncement(str)","summary":{"en":"Consumes a key string, looks it up in the table at [field], and sets a matched node field[field] to1.","es":"Consume una clave de texto, la busca en la tabla [campo] y establece en 1 el campo [campo] del nodo encontrado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-bbba5274e74148","name":"ShowAnnouncement","member":"ShowAnnouncement","family":"Global","returns":"void","args":["int","str","str"],"kind":"function","signature":"void ShowAnnouncement(int, str, str)","summary":{"en":"Consumes two strings and an integer selector. Calls the announcement operation for selectors from 1 to 16 using the corresponding receiver.","es":"Consume dos textos y un selector entero. Llama a la operación de anuncio para los selectores del 1 al 16 usando el receptor correspondiente."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-7ac9f308f17fc6","name":"HideAnnouncement","member":"HideAnnouncement","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void HideAnnouncement(int, str)","summary":{"en":"Consumes a key and selector, and invokes the matched-node flag helper for a nonnull key and selectors1..16.","es":"Consume una clave y un selector e invoca la operación auxiliar de indicadores del nodo encontrado si la clave no es nula y el selector está entre 1 y 16."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-cb61e3715818b5","name":"SetPlayerStatus","member":"SetPlayerStatus","family":"Global","returns":"void","args":["int","int","str","bool"],"kind":"function","signature":"void SetPlayerStatus(int, int, str, bool)","summary":{"en":"Forwards a player, key, string and importance flag to a global status store.","es":"Pasa un jugador, una clave, un texto y una marca de importancia a un almacén global de estados."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-42ed7da844a9d2","name":"SetPlayerStatus","member":"SetPlayerStatus","family":"Global","returns":"void","args":["int","int","bool"],"kind":"function","signature":"void SetPlayerStatus(int, int, bool)","summary":{"en":"Forwards a player, key, and importance bool to the global player-status store when present.","es":"Pasa un jugador, una clave y un bool de importancia al almacén global de estados de jugador si está disponible."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d7553f98da4ca6","name":"ShowNotification","member":"ShowNotification","family":"Global","returns":"int","args":["str","str","int","str","Obj"],"kind":"function","signature":"int ShowNotification(str, str, int, str, Obj)","summary":{"en":"Consumes three strings, an integer and an Obj, resolves two strings and conditionally forwards the packet with mode 2 before pushing the helper result.","es":"Consume tres textos, un entero y un Obj; resuelve dos textos y pasa el paquete con modo 2 si se cumple la condición, antes de introducir en la pila el resultado de la operación auxiliar."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2a3c3fd0cdb940","name":"ShowHint","member":"ShowHint","family":"Global","returns":"int","args":["str","str","Obj"],"kind":"function","signature":"int ShowHint(str, str, Obj)","summary":{"en":"Consumes two strings and an Obj, resolves both strings under a manager gate and submits mode 1 before pushing the helper result.","es":"Consume dos textos y un Obj, resuelve ambos textos bajo una condición del gestor y envía el modo 1 antes de introducir en la pila el resultado de la operación auxiliar."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-110357d1b666ef","name":"ShowTutorial","member":"ShowTutorial","family":"Global","returns":"int","args":["str","str","Obj"],"kind":"function","signature":"int ShowTutorial(str, str, Obj)","summary":{"en":"Consumes two strings and an Obj, applies an additional native gate and submits translated strings with mode 0 before pushing the helper result.","es":"Consume dos textos y un Obj, aplica una condición interna adicional y envía los textos traducidos con modo 0 antes de introducir en la pila el resultado de la operación auxiliar."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d7689812880064","name":"HideNotification","member":"HideNotification","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void HideNotification(int)","summary":{"en":"Consumes an integer and conditionally forwards it to the notification helper.","es":"Consume un entero y lo pasa a la operación auxiliar de notificación si se cumple la condición."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-89658032675266","name":"TutorialActive","member":"TutorialActive","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool TutorialActive()","summary":{"en":"Registered handler that pushes a zero Boolean without reading tutorial state.","es":"Gestor registrado que introduce en la pila un booleano cero sin leer el estado del tutorial."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-9a66d5ae7e5189","name":"HintsActive","member":"HintsActive","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool HintsActive()","summary":{"en":"Checks whether a 32-bit field reached through a shared pointer is nonzero.","es":"Comprueba si un campo de 32 bits al que se accede mediante un puntero compartido no es cero."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-a593c88f232bc3","name":"EnableHintsAndTutorials","member":"EnableHintsAndTutorials","family":"Global","returns":"void","args":[],"kind":"function","signature":"void EnableHintsAndTutorials()","summary":{"en":"Hints and tutorials setters conditionally write pointer field [field].","es":"Las operaciones que establecen pistas y tutoriales escriben el campo de puntero [campo] si se cumple la condición."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5723404ce7793e","name":"DisableHintsAndTutorials","member":"DisableHintsAndTutorials","family":"Global","returns":"void","args":[],"kind":"function","signature":"void DisableHintsAndTutorials()","summary":{"en":"Hints and tutorials setters conditionally write pointer field [field].","es":"Las operaciones que establecen pistas y tutoriales escriben el campo de puntero [campo] si se cumple la condición."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-25987bd2a27266","name":"AreHintsAndTutorialsEnabled","member":"AreHintsAndTutorialsEnabled","family":"Global","returns":"bool","args":[],"kind":"function","signature":"bool AreHintsAndTutorialsEnabled()","summary":{"en":"Hints and tutorials query returns pointer field [field] nonzero or false.","es":"La consulta de pistas y tutoriales devuelve si el campo de puntero [campo] es distinto de cero, o false."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-5073a7955fafc3","name":"Obj::MistAction","member":"MistAction","family":"Obj","returns":"void","args":["int"],"kind":"method","signature":"void Obj::MistAction(int)","summary":{"en":"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.","es":"Procesa una colección temporal y acepta entradas no nulas solo si tienen una determinada bandera y su referencia registrada es nula o coincide con el receptor resuelto."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-3a68728849009b","name":"Obj::MagicActionEnd","member":"MagicActionEnd","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::MagicActionEnd()","summary":{"en":"For a nonnull resolved Obj, MagicActionEnd forwards the word at receiver[field] to helper [field]; null resolution skips dispatch.","es":"Para un Obj resuelto no nulo, MagicActionEnd pasa la palabra de receptor[campo] a la operación auxiliar [campo]; si la resolución es nula omite el despacho."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-1b90e67b9ec101","name":"Obj::CoverOfMercyAction","member":"CoverOfMercyAction","family":"Obj","returns":"void","args":[],"kind":"method","signature":"void Obj::CoverOfMercyAction()","summary":{"en":"Consumes one reference and queries an interface derived from the receiver. If that query is nonnull, invokes the corresponding operation on the returned interface.","es":"Consume una referencia y consulta una interfaz derivada del receptor. Si la consulta no es nula, invoca la operación correspondiente sobre la interfaz obtenida."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e8b6085cccc47e","name":"Building::GetDefenderCls","member":"GetDefenderCls","family":"Building","returns":"str","args":["int"],"kind":"method","signature":"str Building::GetDefenderCls(int)","summary":{"en":"Building::GetDefenderCls returns one of two Building strings for Outpost descendants according to selector 1 or 2.","es":"Building::GetDefenderCls devuelve uno de dos textos de Building para las clases derivadas de Outpost, según se indique el selector 1 o 2."},"notes":{},"examples":{},"technical":{}},{"id":"api-3302bf99e29dd6","name":"Building::GetDefendersMax","member":"GetDefendersMax","family":"Building","returns":"int","args":["int"],"kind":"method","signature":"int Building::GetDefendersMax(int)","summary":{"en":"Building::GetDefendersMax returns Building field [field] or [field] for Outpost descendants and selectors 1 or 2.","es":"Building::GetDefendersMax devuelve [campo] o [campo] de Building para descendientes de Outpost y los selectores 1 o 2."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-2c0b1f8c789de5","name":"Building::GetDefendersOut","member":"GetDefendersOut","family":"Building","returns":"int","args":["int"],"kind":"method","signature":"int Building::GetDefendersOut(int)","summary":{"en":"Returns one of two defender-out counters for buildings whose associated object derives from Outpost.","es":"Devuelve uno de dos contadores de defensores fuera del edificio para los edificios cuyo objeto asociado deriva de Outpost."},"notes":{},"examples":{},"technical":{}},{"id":"api-e72f4b928ac3b7","name":"Building::GetStartLevel","member":"GetStartLevel","family":"Building","returns":"int","args":["int"],"kind":"method","signature":"int Building::GetStartLevel(int)","summary":{"en":"Building::GetStartLevel returns Building field [field] or [field] for Outpost descendants and selectors 1 or 2.","es":"Building::GetStartLevel devuelve [campo] o [campo] de Building para descendientes de Outpost y los selectores 1 o 2."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-97428b8550417f","name":"Building::GetEndLevel","member":"GetEndLevel","family":"Building","returns":"int","args":["int"],"kind":"method","signature":"int Building::GetEndLevel(int)","summary":{"en":"Building::GetEndLevel returns Building field [field] or [field] for Outpost descendants and selectors 1 or 2.","es":"Building::GetEndLevel devuelve [campo] o [campo] de Building para descendientes de Outpost y los selectores 1 o 2."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-56b68bc0c5de76","name":"Building::GetOutpostFood","member":"GetOutpostFood","family":"Building","returns":"int","args":[],"kind":"method","signature":"int Building::GetOutpostFood()","summary":{"en":"Building::GetOutpostFood returns Building field [field] for Outpost descendants and zero otherwise.","es":"Building::GetOutpostFood devuelve [campo] de Building para descendientes de Outpost y cero en los demás casos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-02de53f788ae13","name":"PrintMsg","member":"PrintMsg","family":"Global","returns":"void","args":["int","str"],"kind":"function","signature":"void PrintMsg(int, str)","summary":{"en":"Consumes a managed string and player selector, conditionally printing its characters without releasing the payload.","es":"Consume un texto gestionado y un selector de jugador; imprime sus caracteres si se cumple la condición, sin liberar el contenido."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d69ec057a5b582","name":"_cr","member":"_cr","family":"Global","returns":"void","args":[],"kind":"function","signature":"void _cr()","summary":{"en":"Routes an empty native string to the report worker.","es":"Pasa un texto interno vacío a la operación que genera el informe."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e5ba72261a3f07","name":"GetTerritoryState","member":"GetTerritoryState","family":"Global","returns":"int","args":["str"],"kind":"function","signature":"int GetTerritoryState(str)","summary":{"en":"Resolves a named territory and returns its stored state value, with a default of two.","es":"Obtiene un territorio por nombre y devuelve su estado almacenado, con un valor predeterminado de dos."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-e8778f8c0d6ae2","name":"SetTerritoryState","member":"SetTerritoryState","family":"Global","returns":"void","args":["str","int"],"kind":"function","signature":"void SetTerritoryState(str, int)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-4712ca7c6c44f2","name":"ConquestBonus","member":"ConquestBonus","family":"Global","returns":"str","args":[],"kind":"function","signature":"str ConquestBonus()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-74cf09f9e55d77","name":"FormDescription","member":"FormDescription","family":"Global","returns":"str","args":["str"],"kind":"function","signature":"str FormDescription(str)","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-bf01f8568982df","name":"GAIKA::SetControlFlag","member":"SetControlFlag","family":"GAIKA","returns":"void","args":["int","bool"],"kind":"method","signature":"void GAIKA::SetControlFlag(int, bool)","summary":{"en":"GAIKA::SetControlFlag sets or clears byte +2 mask 32 in the mapped player record.","es":"GAIKA::SetControlFlag activa o desactiva la máscara 32 del byte +2 del registro de jugador mapeado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-da693e3e216179","name":"GAIKA::GetControlFlag","member":"GetControlFlag","family":"GAIKA","returns":"bool","args":["int"],"kind":"method","signature":"bool GAIKA::GetControlFlag(int)","summary":{"en":"GAIKA::GetControlFlag returns whether mask 32 is set in byte [field] after bounded GAIKA record resolution.","es":"GAIKA::GetControlFlag devuelve si la máscara 32 está activa en el byte [campo] tras resolver el registro GAIKA con comprobación de límites."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-ddf51e41ae68e0","name":"GAIKA::ControlledNeighbors","member":"ControlledNeighbors","family":"GAIKA","returns":"int","args":["int"],"kind":"method","signature":"int GAIKA::ControlledNeighbors(int)","summary":{"en":"Counts neighboring global GAIKA records matching the wrapped player index through an attached-object field chain.","es":"Cuenta los registros GAIKA globales vecinos que coinciden con el índice ajustado de jugador, mediante una cadena de campos del objeto asociado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-b8541b4d38383f","name":"Unit::SetFreedom","member":"SetFreedom","family":"Unit","returns":"void","args":["bool"],"kind":"method","signature":"void Unit::SetFreedom(bool)","summary":{"en":"Applies a bool argument to the Unit freedom state bit.","es":"Aplica un argumento bool al bit del estado de libertad de Unit."},"notes":{},"examples":{},"technical":{}},{"id":"api-174480113ca21c","name":"EndGame","member":"EndGame","family":"Global","returns":"void","args":["int","bool","str"],"kind":"function","signature":"void EndGame(int, bool, str)","summary":{"en":"The three-argument EndGame stores its message only when the decremented player matches the computed local index.","es":"EndGame con tres argumentos guarda su mensaje únicamente cuando el jugador reducido en uno coincide con el índice local calculado."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-0fb9fce66d0cf5","name":"Hero::IsArmyOutside","member":"IsArmyOutside","family":"Hero","returns":"bool","args":[],"kind":"method","signature":"bool Hero::IsArmyOutside()","summary":{"en":"Returns whether the hero army list lacks a resolvable member with an active holder field.","es":"Devuelve si la lista del ejército del héroe carece de un miembro que se pueda obtener y que tenga activo el campo de contenedor."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-001c04abb690d3","name":"RandomPathCast","member":"RandomPathCast","family":"Global","returns":"void","args":[],"kind":"function","signature":"void RandomPathCast()","summary":{},"notes":{"en":"The extension records this primitive, but does not yet provide a description of its behavior.","es":"La extensión registra esta primitiva, pero todavía no proporciona una descripción de su comportamiento."},"examples":{},"technical":{}},{"id":"api-50f67cd80ec7cb","name":"DiplAreAllied","member":"DiplAreAllied","family":"Global","returns":"bool","args":["int","int"],"kind":"function","signature":"bool DiplAreAllied(int, int)","summary":{"en":"Checks whether two players have a reciprocal diplomatic alliance. Returns false if either player number is outside the range 1 to 16, and true when both valid numbers identify the same player.","es":"Consulta si dos jugadores tienen una relación diplomática de alianza recíproca. Devuelve false si alguno de los números está fuera del intervalo de 1 a 16, y true si ambos números válidos identifican al mismo jugador."},"notes":{"en":"For distinct players, the relationship is checked in both directions along with an additional condition in each player's state. The full meaning of that additional condition is not yet documented.","es":"Para jugadores distintos se comprueba la relación en ambas direcciones y una condición adicional del estado de cada jugador. El significado completo de esa condición adicional todavía no está documentado."},"examples":{},"technical":{}},{"id":"api-cc8cf8b2714e04","name":"Squad::GetLastAttacker","member":"GetLastAttacker","family":"Squad","returns":"Obj","args":[],"kind":"method","signature":"Obj Squad::GetLastAttacker()","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-16baa21417b3ed","name":"GAIKA::ApproachingSquads","member":"ApproachingSquads","family":"GAIKA","returns":"int","args":["int","int"],"kind":"method","signature":"int GAIKA::ApproachingSquads(int, int)","summary":{"en":"ApproachingSquads adds cached squad evaluation for squads targeting the requested GAIKA whose leader-distance metric is below its threshold.","es":"ApproachingSquads suma la evaluación almacenada de las escuadras que se dirigen al GAIKA indicado y cuya medida de distancia del líder está por debajo del umbral."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-d72c4ee971a975","name":"SetUseCount","member":"SetUseCount","family":"Global","returns":"void","args":["int"],"kind":"function","signature":"void SetUseCount(int)","summary":{},"notes":{},"examples":{},"technical":{}},{"id":"api-fcafe4df0e1e93","name":"Item::SetUseCount","member":"SetUseCount","family":"Item","returns":"void","args":["int"],"kind":"method","signature":"void Item::SetUseCount(int)","summary":{"en":"Stores the supplied 32-bit value in a base item field.","es":"Guarda el valor de 32 bits indicado en un campo base del objeto de inventario."},"notes":{},"examples":{},"technical":{"en":true,"es":true}},{"id":"api-70ee3c1a62d605","name":"WaitForMapChange","member":"WaitForMapChange","family":"Global","returns":"void","args":[],"kind":"function","signature":"void WaitForMapChange()","summary":{"en":"WaitForMapChange waits while a cached adventure field equals the current field.","es":"WaitForMapChange espera mientras un campo almacenado de aventura sea igual al campo actual."},"notes":{},"examples":{},"technical":{"en":true,"es":true}}],"families":["Global","Building","Catapult","Conversation","Druid","Flying","GAIKA","Gate","Hero","IntArray","Item","ItemHolder","NamedObj","Obj","ObjList","point","Query","rect","Sacrifice","Settlement","Ship","Squad","SquadList","StrArray","StrMap","Teleport","Unit","Wagon"]}