Atavism Version 2018.1AGIS API

atavism.server.engine
Interface EnginePlugin.SaveHook

Enclosing class:
EnginePlugin

public static interface EnginePlugin.SaveHook

The interface definition to be satisfied by save hook objects, containing the onSave method.


Method Summary
 void onSave(Entity e, Namespace namespace)
          A SaveHook/Namespace pair must be registered by calling EnginePlugin.registerSaveHook().
 

Method Detail

onSave

void onSave(Entity e,
            Namespace namespace)
A SaveHook/Namespace pair must be registered by calling EnginePlugin.registerSaveHook(). The onSave() method will be called by the PersistenceManager prior to saving the sub object.



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