minor: add a smidgen of EventManager doc
parent
1442ab08aa
commit
2c7672a2b9
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue