一栗仆直/Project Arahabika/Module System
出自Luzi82_wiki
[編輯] Modules
- Network ( server and client )
- Logger ( server and client )
- RPG ( server and client )
[編輯] Module Structure
There are server side modules and client side modules.
[編輯] Server side module
All server side modules should be implemented by a class, which implement the following java interface.
luzi82.arahabika.panfosu.module.PanfosuModule
Moreover, the module may provide a Java instance per connection. The instance should implement the following interface.
luzi82.arahabika.panfosu.module.PanfosuModuleClient
The order of init, close and message processing among modules are sorted by the output of xxxOrder() method.
