Atavism Version 2018.1AGIS API

atavism.agis.plugins
Class VoxelPlugin

java.lang.Object
  extended by atavism.server.engine.EnginePlugin
      extended by atavism.agis.plugins.VoxelPlugin
All Implemented Interfaces:
MessageCallback, StatusMapCallback

public class VoxelPlugin
extends EnginePlugin

the voxel plugin tracks changes in a voxel-based world


Nested Class Summary
 
Nested classes/interfaces inherited from class atavism.server.engine.EnginePlugin
EnginePlugin.DeleteHook, EnginePlugin.DeleteSubObjHook, EnginePlugin.GenerateSubObjectHook, EnginePlugin.GetPropertyMessage, EnginePlugin.GetPropertyNamesMessage, EnginePlugin.LoadHook, EnginePlugin.LoadSubObjHook, EnginePlugin.PluginActivateHook, EnginePlugin.PluginStateMessage, EnginePlugin.SaveHook, EnginePlugin.SaveSubObjHook, EnginePlugin.SetPropertyMessage, EnginePlugin.SubObjData, EnginePlugin.TransferFilter, EnginePlugin.TransferObjectMessage, EnginePlugin.UnloadHook, EnginePlugin.UnloadSubObjHook
 
Field Summary
static boolean BUILD_CAN_FAIL
           
static int CLAIM_DRAW_RADIUS
           
static int CLAIM_STONE_ITEM_ID
           
static int DISTANCE_REQ_BETWEEN_CLAIMS
           
protected static java.util.concurrent.locks.Lock lock
           
protected static Logger log
           
static boolean ONLY_UPGRADE_CLAIM_OBJECT_WITH_ALL_ITEMS
           
static boolean REMOVE_ITEM_ON_BUILD_FAIL
           
static boolean USE_CLAIM_RESOURCES
           
static boolean USE_TAX_SYSTEM
           
static java.lang.String VOXEL_PLUGIN_NAME
           
 
Fields inherited from class atavism.server.engine.EnginePlugin
deleteSubObjectSubscription, dumpAllThreadSubscription, dumpAllThreadSubscriptionLock, loadSubObjectSubscription, MSG_TYPE_DUMP_ALL_THREAD_STACKS, MSG_TYPE_GET_PROPERTY, MSG_TYPE_GET_PROPERTY_NAMES, MSG_TYPE_PLUGIN_STATE, MSG_TYPE_SET_PROPERTY, MSG_TYPE_SET_PROPERTY_NONBLOCK, MSG_TYPE_TRANSFER_OBJECT, pluginStateSubscription, propertySubscription, saveSubObjectSubscription, selectionFilter, selectionSubscription, setSubObjectPersistenceSubscription, subObjectSubscription, unloadSubObjectSubscription
 
Fields inherited from interface atavism.msgsys.MessageCallback
NO_FLAGS, RESPONSE_EXPECTED
 
Constructor Summary
VoxelPlugin()
           
 
Method Summary
static BuildObjectTemplate GetBuildObjectTemplate(int templateID)
           
 void onActivate()
          for developers extending the EnginePlugin object, it may be easier to use the onActivate() method which gets called when the plugin is being activated by the Engine.
 
Methods inherited from class atavism.server.engine.EnginePlugin
activate, createMBeanInstance, createSubscription, getHookManager, getMessageHandler, getName, getObjectLockManager, getObjectProperties, getObjectProperties, getObjectProperty, getObjectPropertyNames, getPercentCPULoad, getPluginAvailable, getPluginInfo, getPluginNamespaces, getPluginState, getPluginStatus, getPluginType, getPropertyImpl, getPropertyNamesImpl, getStatusMap, handleMessage, handleMessageImpl, logDepsOutstanding, processKeysAndValues, registerActivateHook, registerDeleteHook, registerLoadHook, registerPluginNamespace, registerPluginNamespaces, registerPluginNamespaces, registerPluginNamespaces, registerSaveHook, registerTransferHook, registerUnloadHook, sendSubObjectResponse, sendSubObjectResponse, sendSubObjectResponse, setMessageHandler, setName, setObjectProperties, setObjectProperties, setObjectProperties, setObjectPropertiesNoResponse, setObjectPropertiesNoResponse, setObjectPropertiesNoResponse, setObjectProperty, setObjectPropertyNoResponse, setPercentCPULoad, setPluginAvailable, setPluginInfo, setPluginType, setPropertyImpl, transferObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VOXEL_PLUGIN_NAME

public static java.lang.String VOXEL_PLUGIN_NAME

log

protected static final Logger log

lock

protected static java.util.concurrent.locks.Lock lock

DISTANCE_REQ_BETWEEN_CLAIMS

public static int DISTANCE_REQ_BETWEEN_CLAIMS

CLAIM_DRAW_RADIUS

public static int CLAIM_DRAW_RADIUS

CLAIM_STONE_ITEM_ID

public static final int CLAIM_STONE_ITEM_ID
See Also:
Constant Field Values

REMOVE_ITEM_ON_BUILD_FAIL

public static boolean REMOVE_ITEM_ON_BUILD_FAIL

BUILD_CAN_FAIL

public static boolean BUILD_CAN_FAIL

ONLY_UPGRADE_CLAIM_OBJECT_WITH_ALL_ITEMS

public static boolean ONLY_UPGRADE_CLAIM_OBJECT_WITH_ALL_ITEMS

USE_CLAIM_RESOURCES

public static boolean USE_CLAIM_RESOURCES

USE_TAX_SYSTEM

public static boolean USE_TAX_SYSTEM
Constructor Detail

VoxelPlugin

public VoxelPlugin()
Method Detail

onActivate

public void onActivate()
Description copied from class: EnginePlugin
for developers extending the EnginePlugin object, it may be easier to use the onActivate() method which gets called when the plugin is being activated by the Engine. this is an alternative to calling registerActivateHook()

Overrides:
onActivate in class EnginePlugin

GetBuildObjectTemplate

public static BuildObjectTemplate GetBuildObjectTemplate(int templateID)


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