一栗仆直/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.

個人工具