mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
minor: add a smidgen of EventManager doc
This commit is contained in:
@@ -212,10 +212,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public delegate void RequestChangeWaterHeight(float height);
|
||||
|
||||
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);
|
||||
|
||||
|
||||
@@ -3274,9 +3274,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
if (m_health <= 0)
|
||||
m_scene.EventManager.TriggerAvatarKill(killerObj, this);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public void setHealthWithUpdate(float health)
|
||||
|
||||
Reference in New Issue
Block a user