mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
New OSSL function: osNpcSetProfileImage(LSL_Key npc, string image); This patch gives possibility to set image in created NPC's profile. You can use UUID of the texture or name of texture included in prim's inventory.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com> Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
committed by
UbitUmarov
parent
69776aa70c
commit
ec883d0f15
@@ -70,6 +70,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
private readonly UUID m_ownerID;
|
||||
private UUID m_hostGroupID;
|
||||
private string m_profileAbout = "";
|
||||
private UUID m_profileImage = UUID.Zero;
|
||||
private string m_born;
|
||||
public List<uint> SelectedObjects {get; private set;}
|
||||
|
||||
@@ -110,6 +111,13 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
m_profileAbout = value;
|
||||
}
|
||||
}
|
||||
|
||||
public UUID profileImage
|
||||
{
|
||||
get { return m_profileImage; }
|
||||
set { m_profileImage = value; }
|
||||
}
|
||||
|
||||
public IScene Scene
|
||||
{
|
||||
get { return m_scene; }
|
||||
|
||||
Reference in New Issue
Block a user