mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
A stab at implementing llSetDamage. Not persistent.
This commit is contained in:
@@ -195,6 +195,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
[XmlIgnore]
|
||||
private PrimFlags LocalFlags = 0;
|
||||
[XmlIgnore]
|
||||
private float m_damage = -1.0f;
|
||||
private byte[] m_TextureAnimation;
|
||||
private byte m_clickAction = 0;
|
||||
private Color m_color = Color.Black;
|
||||
@@ -484,6 +486,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
set { m_rezzed = value; }
|
||||
}
|
||||
|
||||
[XmlIgnore]
|
||||
public float Damage
|
||||
{
|
||||
get { return m_damage; }
|
||||
set { m_damage = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The position of the entire group that this prim belongs to.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user