Atavism Version 2018.1AGIS API

atavism.server.engine
Interface EnginePlugin.LoadHook

All Known Implementing Classes:
CurrencyPlugin.CurrencyPluginLoadHook
Enclosing class:
EnginePlugin

public static interface EnginePlugin.LoadHook

The interface definition to be satisfied by load hook objects, containing the onLoad method.


Method Summary
 void onLoad(Entity entity)
          A LoadHook/Namespace pair must be registered by calling EnginePlugin.registerLoadHook().
 

Method Detail

onLoad

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



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