06-08-2012, 04:27 AM
Trying to fill the wiki, run into problems with new hooks. I look into Bindings.cpp:
Everything is fine.
Now:
And that's it. No OnChunkGenerating, no OnBlockToDrops. Am I missing something, or there's something wrong?
Could someone explain, please?
And, well, since it's about hooks, can someone explain how server behaves when OnCollectItem hook returns true and false?
Code:
cPluginManager
constant E_PLUGIN_CHUNK_GENERATED, cPluginManager::E_PLUGIN_CHUNK_GENERATED
constant E_PLUGIN_CHUNK_GENERATING, cPluginManager::E_PLUGIN_CHUNK_GENERATING
constant E_PLUGIN_BLOCK_TO_DROPS, cPluginManager::E_PLUGIN_BLOCK_TO_DROPS
Now:
Code:
cPlugin
function OnChunkGenerated Plugin_OnChunkGenerated00
Could someone explain, please?
And, well, since it's about hooks, can someone explain how server behaves when OnCollectItem hook returns true and false?