Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GetResourceTemplateId: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
Line 12: Line 12:
'''Arguments'''
'''Arguments'''


''resourceUniqueId: ''Is a number expression. It is the unique id of a resource.
''resourceUniqueId: ''Is a number expression. It is the resource unique id of a resource.


'''Return type'''
'''Return type'''
Line 21: Line 21:


getResourceTemplateId(1234567);
getResourceTemplateId(1234567);
//Return the resource template id


'''Availability'''
'''Availability'''

Revision as of 08:10, 23 December 2011



getResourceTemplateId

Gets the resource template id for a resource specified by its unique resource id.

Syntax

getResourceTemplateId(resourceUniqueId)

Arguments

resourceUniqueId: Is a number expression. It is the resource unique id of a resource.

Return type

number

Examples

getResourceTemplateId(1234567);

//Return the resource template id

Availability

Version 5.4