Documentation error, or intentional?
Posted: Wed Aug 10, 2016 12:20 pm
Hello,
up to now character.acct is a ref to the account object. character.acctname is the name of the account as string.
character.acct is reported as: 'deprecated, will be removed in next release, use Client instead'
character.acctname is not deprecated, will continue to work (really?)
The new client object has no acct member! So we cannot use 'client instead'.
Does this mean, that for character.acct there will be no replacement?
So instead of writing
var playeraccount := character.acct;
we will need to write
var playeraccount := FindAccount(character.client.accntname);
Or is this an oversight in documentation?
Also, while character.acctname is not deprecated, i.e. will continue to work normally, the new client object also has a member 'acctname', so one could write either character.acctname or character.client.acctname. True?
OWHorus
up to now character.acct is a ref to the account object. character.acctname is the name of the account as string.
character.acct is reported as: 'deprecated, will be removed in next release, use Client instead'
character.acctname is not deprecated, will continue to work (really?)
The new client object has no acct member! So we cannot use 'client instead'.
Does this mean, that for character.acct there will be no replacement?
So instead of writing
var playeraccount := character.acct;
we will need to write
var playeraccount := FindAccount(character.client.accntname);
Or is this an oversight in documentation?
Also, while character.acctname is not deprecated, i.e. will continue to work normally, the new client object also has a member 'acctname', so one could write either character.acctname or character.client.acctname. True?
OWHorus