openclonk/docs/sdk/script/fn/ContentsCount.xml

29 lines
818 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
<func>
<title>ContentsCount</title>
<category>Objects</category>
<subcat>Contents</subcat>
<version>1.0 OC</version>
<syntax>
<rtype>int</rtype>
<params>
<param>
<type>id</type>
<name>object_id</name>
<desc>Object type to be counted.</desc>
</param>
</params>
</syntax>
<desc>Returns the number of objects of the specified type which are contained in the target object.</desc>
<related>
<funclink>FindContents</funclink>
<funclink>ObjectCount</funclink>
</related>
</func>
<author>springer</author><date>2002-04</date>
</funcs>