======  OnSpawnedMonster hook callback function ======
This callback is called after the server spawns a monster. This is an information-only callback, the monster is already spawned by the time it is called. This function is called before the [[API::Plugin:OnSpawnedEntity|OnSpawnedEntity]]() is called for the monster entity.

===== Function signature =====
<code lua>
function OnSpawnedMonster(World, Monster)
</code>
Parameters:
| World | [[API:cWorld|cWorld]] | The world in which the entity has spawned |
| Monster | [[API:cMonster|cMonster]] | The monster that has spawned |

===== Return values =====
If the function returns false or no value, the next plugin's callback is called. If the function returns true, no other callback is called for this event.

===== Registering the callback =====
To register your plugin to receive a callback through this function, use the hook [[api:plugin:hooks|HOOK_SPAWNED_MONSTER]]
<code lua>
PluginManager = cPluginManager:GetPluginManager()
PluginManager:AddHook(Plugin, cPluginManager.HOOK_SPAWNED_MONSTER)
</code>