Atavism Version 2018.1AGIS API

atavism.server.engine
Interface EnginePlugin.UnloadHook

Enclosing class:
EnginePlugin

public static interface EnginePlugin.UnloadHook

The interface definition to be satisfied by unload hook objects, containing the onUnload method.


Method Summary
 void onUnload(Entity entity)
          A UnloadHook/Namespace pair must be registered by calling EnginePlugin.registerUnloadHook().
 

Method Detail

onUnload

void onUnload(Entity entity)
A UnloadHook/Namespace pair must be registered by calling EnginePlugin.registerUnloadHook(). The onUnload() method will be called after unloading the sub object. The entity argument can be queried for it's namespace.



Copyright © 2018 Dragonsan Studios Sp. z o.o.