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

@ -212,10 +212,12 @@ namespace OpenSim.Region.Framework.Scenes
public delegate void RequestChangeWaterHeight(float height); public delegate void RequestChangeWaterHeight(float height);
public event RequestChangeWaterHeight OnRequestChangeWaterHeight; 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 event AvatarKillData OnAvatarKilled;
public delegate void AvatarKillData(uint KillerLocalID, ScenePresence avatar);
// public delegate void ScriptTimerEvent(uint localID, double timerinterval); // public delegate void ScriptTimerEvent(uint localID, double timerinterval);

View File

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