minor: add a smidgen of EventManager doc

mysql-performance
Justin Clark-Casey (justincc) 2010-02-03 19:27:44 +00:00
parent 1442ab08aa
commit 2c7672a2b9
2 changed files with 6 additions and 6 deletions

View File

@ -213,9 +213,11 @@ namespace OpenSim.Region.Framework.Scenes
public event RequestChangeWaterHeight OnRequestChangeWaterHeight;
public delegate void AvatarKillData(uint KillerLocalID, ScenePresence avatar);
/// <summary>
/// Fired if any avatar is 'killed' due to its health falling to zero
/// </summary>
public event AvatarKillData OnAvatarKilled;
public delegate void AvatarKillData(uint KillerLocalID, ScenePresence avatar);
// public delegate void ScriptTimerEvent(uint localID, double timerinterval);

View File

@ -3275,8 +3275,6 @@ namespace OpenSim.Region.Framework.Scenes
if (m_health <= 0)
m_scene.EventManager.TriggerAvatarKill(killerObj, this);
}
}
public void setHealthWithUpdate(float health)