Difference between revisions of "GetResourceTypeIdByName"
From UODemo Wiki
(Created page with 'integer '''getResourceTypeIdByName'''(integer &''ReturnTypeId'', string ''ResourceTypeInternalName''); This function will return 1 if the requested ResourceTypeInternalName is v…') |
m (Protected "GetResourceTypeIdByName" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
integer '''getResourceTypeIdByName'''(integer &''ReturnTypeId'', string ''ResourceTypeInternalName''); | integer '''getResourceTypeIdByName'''(integer &''ReturnTypeId'', string ''ResourceTypeInternalName''); | ||
− | This function will return 1 if the requested ResourceTypeInternalName is valid. | + | This function will return 1 if the requested ResourceTypeInternalName is valid.<br> |
− | Otherwise 0 is returned. | + | Otherwise 0 is returned.<br> |
− | If successfull ReturnTypeId will contain the Id of the requested ResourceType. | + | If successfull ReturnTypeId will contain the Id of the requested ResourceType.<br> |
− | Resource Types are defined in the server-side restypes.mul file. | + | Resource Types are defined in the server-side restypes.mul file.<br> |
Return to the [[Command List]]. | Return to the [[Command List]]. |
Latest revision as of 21:12, 21 October 2012
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.