Drag[en]gine Script Module DragonScript Script API 1.0
Immutable language pack resources. More...
|Normalized filename the language pack has been loaded from. More...|
|bool||equals (Object other)|
|LanguagePack is equal to another object. More...|
|Hash code for use as dictionary keys. More...|
|LanguagePack||new (String filename)|
|Load language pack from file. More...|
|static void||loadAsynchron (String filename, ResourceNotifier notifier)|
|Load language pack from file asynchronously. More...|
Immutable language pack resources.
This is a native class. It can not be subclassed.
Normalized filename the language pack has been loaded from.
Hash code for use as dictionary keys.
Load language pack from file asynchronously.
Registers a request in the game engine to load an language pack. Once finished or if the file is already loaded the notifier is used to deliver the loaded language pack or null if the loading failed.
Load language pack from file.
If the language pack file has been already loaded it is assigned to this object. If the language pack is not loaded yet the engine loads the language pack. This call blocks until the language pack is fully loaded and ready to be used. For asynchronous loading use loadAsynchron(). Multiple objects can point to the same loaded language pack resource. Once no object instance uses an language pack file anymore it is released from memory.