C# Class Universe.Framework.ClientInterfaces.AvatarAppearance

Contains the Avatar's Appearance and methods to manipulate the appearance.
Inheritance: Universe.Framework.Modules.IDataTransferable
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Méthodes publiques

Свойство Type Description
BAKE_INDICES byte[]
TEXTURE_COUNT int
VISUALPARAM_COUNT int

Méthodes publiques

Méthode Description
AvatarAppearance ( ) : System
AvatarAppearance ( AvatarAppearance appearance ) : System
AvatarAppearance ( AvatarAppearance appearance, bool copyWearables ) : System
AvatarAppearance ( UUID owner ) : System
AvatarAppearance ( UUID avatarID, AvatarWearable wearables, Primitive textureEntry, byte visualParams ) : System
AvatarAppearance ( UUID avatarID, OSDMap map ) : System
CheckWhetherAttachmentChanged ( int attPnt, UUID item, UUID assetID ) : bool

Returns whether an attachment will require a save to the avatar service

ClearAttachments ( ) : void
ClearWearables ( ) : void
DetachAttachment ( UUID itemID ) : bool
FromOSD ( OSDMap map ) : void
GetAssetsFrom ( AvatarAppearance app ) : void
GetAttachments ( ) : List

Get a list of the attachments, note that there may be duplicate attach points

GetAttachmentsDictionary ( ) : List>.Dictionary

Get a list of the attachments, note that there may be duplicate attach points

GetAttachpoint ( UUID itemID ) : int
Pack ( ) : OSDMap

Create an OSDMap from the appearance data

ResetAppearance ( ) : void
SetAppearance ( Primitive textureEntry, byte visualParams ) : void
SetAttachment ( int attachpoint, UUID item, UUID asset ) : bool

DEPRECATED: USE SetAttachments now Add an attachment, if the attach point has the 0x80 bit set then we assume this is an append operation otherwise we replace whatever is currently attached at the attach point

SetAttachments ( ISceneEntity attachments ) : void
SetCachedWearables ( PresenceInfo wearables ) : void
SetDefaultWearables ( ) : void
SetHeight ( ) : void
SetTextureEntries ( Primitive textureEntry, List &ChangedTextures ) : bool

Set up appearance textures. Returns Boolean that indicates whether the new entries actually change the existing values.

SetVisualParams ( byte visualParams ) : bool

Set up visual parameters for the avatar and refresh the avatar height Returns Boolean that indicates whether the new entries actually change the existing values.

SetWearable ( int wearableId, AvatarWearable wearable ) : void
ToOSD ( ) : OSDMap
ToString ( ) : string
Unpack ( OSDMap data ) : void

Unpack and OSDMap and initialize the appearance from it

Private Methods

Méthode Description
AppendAttachment ( AvatarAttachment attach ) : void
ReplaceAttachment ( AvatarAttachment attach ) : bool

Replace the attachment

SetDefaultParams ( ) : void
SetDefaultTexture ( ) : void

Method Details

AvatarAppearance() public méthode

public AvatarAppearance ( ) : System
Résultat System

AvatarAppearance() public méthode

public AvatarAppearance ( AvatarAppearance appearance ) : System
appearance AvatarAppearance
Résultat System

AvatarAppearance() public méthode

public AvatarAppearance ( AvatarAppearance appearance, bool copyWearables ) : System
appearance AvatarAppearance
copyWearables bool
Résultat System

AvatarAppearance() public méthode

public AvatarAppearance ( UUID owner ) : System
owner UUID
Résultat System

AvatarAppearance() public méthode

public AvatarAppearance ( UUID avatarID, AvatarWearable wearables, Primitive textureEntry, byte visualParams ) : System
avatarID UUID
wearables AvatarWearable
textureEntry OpenMetaverse.Primitive
visualParams byte
Résultat System

AvatarAppearance() public méthode

public AvatarAppearance ( UUID avatarID, OSDMap map ) : System
avatarID UUID
map OSDMap
Résultat System

CheckWhetherAttachmentChanged() public méthode

Returns whether an attachment will require a save to the avatar service
public CheckWhetherAttachmentChanged ( int attPnt, UUID item, UUID assetID ) : bool
attPnt int
item UUID
assetID UUID
Résultat bool

ClearAttachments() public méthode

public ClearAttachments ( ) : void
Résultat void

ClearWearables() public méthode

public ClearWearables ( ) : void
Résultat void

DetachAttachment() public méthode

public DetachAttachment ( UUID itemID ) : bool
itemID UUID
Résultat bool

FromOSD() public méthode

public FromOSD ( OSDMap map ) : void
map OSDMap
Résultat void

GetAssetsFrom() public méthode

public GetAssetsFrom ( AvatarAppearance app ) : void
app AvatarAppearance
Résultat void

GetAttachments() public méthode

Get a list of the attachments, note that there may be duplicate attach points
public GetAttachments ( ) : List
Résultat List

GetAttachmentsDictionary() public méthode

Get a list of the attachments, note that there may be duplicate attach points
public GetAttachmentsDictionary ( ) : List>.Dictionary
Résultat List>.Dictionary

GetAttachpoint() public méthode

public GetAttachpoint ( UUID itemID ) : int
itemID UUID
Résultat int

Pack() public méthode

Create an OSDMap from the appearance data
public Pack ( ) : OSDMap
Résultat OSDMap

ResetAppearance() public méthode

public ResetAppearance ( ) : void
Résultat void

SetAppearance() public méthode

public SetAppearance ( Primitive textureEntry, byte visualParams ) : void
textureEntry OpenMetaverse.Primitive
visualParams byte
Résultat void

SetAttachment() public méthode

DEPRECATED: USE SetAttachments now Add an attachment, if the attach point has the 0x80 bit set then we assume this is an append operation otherwise we replace whatever is currently attached at the attach point
public SetAttachment ( int attachpoint, UUID item, UUID asset ) : bool
attachpoint int
item UUID
asset UUID
Résultat bool

SetAttachments() public méthode

public SetAttachments ( ISceneEntity attachments ) : void
attachments ISceneEntity
Résultat void

SetCachedWearables() public méthode

public SetCachedWearables ( PresenceInfo wearables ) : void
wearables PresenceInfo
Résultat void

SetDefaultWearables() public méthode

public SetDefaultWearables ( ) : void
Résultat void

SetHeight() public méthode

public SetHeight ( ) : void
Résultat void

SetTextureEntries() public méthode

Set up appearance textures. Returns Boolean that indicates whether the new entries actually change the existing values.
public SetTextureEntries ( Primitive textureEntry, List &ChangedTextures ) : bool
textureEntry OpenMetaverse.Primitive
ChangedTextures List
Résultat bool

SetVisualParams() public méthode

Set up visual parameters for the avatar and refresh the avatar height Returns Boolean that indicates whether the new entries actually change the existing values.
public SetVisualParams ( byte visualParams ) : bool
visualParams byte
Résultat bool

SetWearable() public méthode

public SetWearable ( int wearableId, AvatarWearable wearable ) : void
wearableId int
wearable AvatarWearable
Résultat void

ToOSD() public méthode

public ToOSD ( ) : OSDMap
Résultat OSDMap

ToString() public méthode

public ToString ( ) : string
Résultat string

Unpack() public méthode

Unpack and OSDMap and initialize the appearance from it
public Unpack ( OSDMap data ) : void
data OSDMap
Résultat void

Property Details

BAKE_INDICES public_oe static_oe property

public static byte[] BAKE_INDICES
Résultat byte[]

TEXTURE_COUNT public_oe static_oe property

public static int TEXTURE_COUNT
Résultat int

VISUALPARAM_COUNT public_oe static_oe property

public static int VISUALPARAM_COUNT
Résultat int