C# Класс Universe.Framework.ClientInterfaces.AvatarAppearance

Contains the Avatar's Appearance and methods to manipulate the appearance.
Наследование: Universe.Framework.Modules.IDataTransferable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BAKE_INDICES byte[]
TEXTURE_COUNT int
VISUALPARAM_COUNT int

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AppendAttachment ( AvatarAttachment attach ) : void
ReplaceAttachment ( AvatarAttachment attach ) : bool

Replace the attachment

SetDefaultParams ( ) : void
SetDefaultTexture ( ) : void

Описание методов

AvatarAppearance() публичный Метод

public AvatarAppearance ( ) : System
Результат System

AvatarAppearance() публичный Метод

public AvatarAppearance ( AvatarAppearance appearance ) : System
appearance AvatarAppearance
Результат System

AvatarAppearance() публичный Метод

public AvatarAppearance ( AvatarAppearance appearance, bool copyWearables ) : System
appearance AvatarAppearance
copyWearables bool
Результат System

AvatarAppearance() публичный Метод

public AvatarAppearance ( UUID owner ) : System
owner UUID
Результат System

AvatarAppearance() публичный Метод

public AvatarAppearance ( UUID avatarID, AvatarWearable wearables, Primitive textureEntry, byte visualParams ) : System
avatarID UUID
wearables AvatarWearable
textureEntry OpenMetaverse.Primitive
visualParams byte
Результат System

AvatarAppearance() публичный Метод

public AvatarAppearance ( UUID avatarID, OSDMap map ) : System
avatarID UUID
map OSDMap
Результат System

CheckWhetherAttachmentChanged() публичный Метод

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
Результат bool

ClearAttachments() публичный Метод

public ClearAttachments ( ) : void
Результат void

ClearWearables() публичный Метод

public ClearWearables ( ) : void
Результат void

DetachAttachment() публичный Метод

public DetachAttachment ( UUID itemID ) : bool
itemID UUID
Результат bool

FromOSD() публичный Метод

public FromOSD ( OSDMap map ) : void
map OSDMap
Результат void

GetAssetsFrom() публичный Метод

public GetAssetsFrom ( AvatarAppearance app ) : void
app AvatarAppearance
Результат void

GetAttachments() публичный Метод

Get a list of the attachments, note that there may be duplicate attach points
public GetAttachments ( ) : List
Результат List

GetAttachmentsDictionary() публичный Метод

Get a list of the attachments, note that there may be duplicate attach points
public GetAttachmentsDictionary ( ) : List>.Dictionary
Результат List>.Dictionary

GetAttachpoint() публичный Метод

public GetAttachpoint ( UUID itemID ) : int
itemID UUID
Результат int

Pack() публичный Метод

Create an OSDMap from the appearance data
public Pack ( ) : OSDMap
Результат OSDMap

ResetAppearance() публичный Метод

public ResetAppearance ( ) : void
Результат void

SetAppearance() публичный Метод

public SetAppearance ( Primitive textureEntry, byte visualParams ) : void
textureEntry OpenMetaverse.Primitive
visualParams byte
Результат void

SetAttachment() публичный Метод

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
Результат bool

SetAttachments() публичный Метод

public SetAttachments ( ISceneEntity attachments ) : void
attachments ISceneEntity
Результат void

SetCachedWearables() публичный Метод

public SetCachedWearables ( PresenceInfo wearables ) : void
wearables PresenceInfo
Результат void

SetDefaultWearables() публичный Метод

public SetDefaultWearables ( ) : void
Результат void

SetHeight() публичный Метод

public SetHeight ( ) : void
Результат void

SetTextureEntries() публичный Метод

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
Результат bool

SetVisualParams() публичный Метод

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
Результат bool

SetWearable() публичный Метод

public SetWearable ( int wearableId, AvatarWearable wearable ) : void
wearableId int
wearable AvatarWearable
Результат void

ToOSD() публичный Метод

public ToOSD ( ) : OSDMap
Результат OSDMap

ToString() публичный Метод

public ToString ( ) : string
Результат string

Unpack() публичный Метод

Unpack and OSDMap and initialize the appearance from it
public Unpack ( OSDMap data ) : void
data OSDMap
Результат void

Описание свойств

BAKE_INDICES публичное статическое свойство

public static byte[] BAKE_INDICES
Результат byte[]

TEXTURE_COUNT публичное статическое свойство

public static int TEXTURE_COUNT
Результат int

VISUALPARAM_COUNT публичное статическое свойство

public static int VISUALPARAM_COUNT
Результат int