GetResourceTypeIdByName

From UODemo Wiki
Revision as of 21:12, 21 October 2012 by Batlin (talk | contribs) (Protected "GetResourceTypeIdByName" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

integer getResourceTypeIdByName(integer &ReturnTypeId, string ResourceTypeInternalName);

This function will return 1 if the requested ResourceTypeInternalName is valid.
Otherwise 0 is returned.

If successfull ReturnTypeId will contain the Id of the requested ResourceType.
Resource Types are defined in the server-side restypes.mul file.


Return to the Command List.