GetMultis
Returns all multies from Stealth cacher. That can be a boats, simple houses and custom houses.
If no multi found, or uo data files doesn’t loaded, or char disconnected - returns empty array.
function GetMultis(var items : TMultiItems) : Cardinal;
function GetMultis(var items : TMultiItems) : Cardinal;
function GetMultis : TArray<TMultiItem>;
TMultiItem = record
ID : Cardinal;
X : Word;
Y : Word;
Z : ShortInt;
XMin : Word;
XMax : Word;
YMin : Word;
YMax : Word;
Width : Word;
Height : Word;
end;
TMultiItems = array of TMultiItem;
Pascal Example:
var i : Integer;
ii : TMultiItems;
begin
{$IFDEF DWSCRIPT}
GetMultis(ii);
AddToSystemJournal(ii);
{$ELSE}
GetMultis(ii);
if Length(ii) > 0 then
for i := 0 to High(ii) do
AddToSystemJournal('$' + IntToHex(ii[i].ID,8));
{$ENDIF}
end.
Python Syntax:
def GetMultiAllParts(MultiID): --> dict # method will be available in stealth 10.3.7