public class LocalizedText extends Object
The server stores all the client localized texts in the the "server.phm" file. Upon connection with the server, it will automatically send all localized text items to the client, received in this class using a transaction.
The IDs of required messages should have the naming standard CLInnnnn (where "nnnnn" is a number).
The client will retain all this text information until it is closed.
This class is static only, so all texts for the client use a single language.
| Constructor and Description |
|---|
LocalizedText() |
public static final String getText(int id, String defaultText)
The id should be "nnnnn" where
"nnnnn" is a number. This text ID should be defined
in "server.ini" as "CLInnnnn" (where this method only
specified the number).
public static final String getText(int id)
The id should be "nnnnn" where
"nnnnn" is a number. This text ID should be defined
in "server.ini" as "CLInnnnn" (where this method only
specified the number).
Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.