Difference between revisions of "GetDefaultDieDecay"
From UODemo Wiki
(Created page with 'integer '''setDecayTest'''(void);<br> This function returns a valid known as default die decay, not much is known yet about the exact meaning of the value. Please review the fol…') |
m (Update URL's to point to UO98.org) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | integer ''' | + | integer '''getDefaultDieDecay'''(void);<br> |
− | This function returns a | + | This function returns a value known as the default die decay, not much is known yet about the exact meaning of the returned value. Please review the following topic on the JoinUO forums: [http://forums.uo98.org/viewtopic.php?f=32&t=852 House decay time]. |
− | This function can be used to detect the decay mode | + | This function can be used to detect the decay mode the server is currently using. The following list represents the return values of this function and the related decay modes. |
<pre> | <pre> | ||
0x48 = mode 1 | 0x48 = mode 1 | ||
− | + | 0xFA = mode 0 | |
0xFF = mode 2 | 0xFF = mode 2 | ||
</pre> | </pre> |
Latest revision as of 18:56, 21 July 2016
integer getDefaultDieDecay(void);
This function returns a value known as the default die decay, not much is known yet about the exact meaning of the returned value. Please review the following topic on the JoinUO forums: House decay time.
This function can be used to detect the decay mode the server is currently using. The following list represents the return values of this function and the related decay modes.
0x48 = mode 1 0xFA = mode 0 0xFF = mode 2
Please refer to the setDecayTest function for more information about the modes.
Return to the Command List.