C# Класс Universe.Modules.Appearance.AvatarFactoryModule

Наследование: IAvatarFactory, INonSharedRegionModule
Показать файл Открыть проект

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

Метод Описание
AddRegion ( IScene scene ) : void
AvatarIsWearing ( IClientAPI client, AvatarWearingArgs e ) : void

Update what the avatar is wearing using an item from their inventory.

Close ( ) : void
ForceSendAvatarAppearance ( UUID agentid ) : void
Initialize ( IConfigSource config ) : void
NewClient ( IClientAPI client ) : void
QueueAppearanceSave ( UUID agentid ) : void
QueueAppearanceSend ( UUID agentid ) : void

Queue up a request to send appearance, makes it possible to accumulate changes without sending out each one separately.

QueueInitialAppearanceSend ( UUID agentid ) : void
RegionLoaded ( IScene scene ) : void
RemoveClient ( IClientAPI client ) : void
RemoveRegion ( IScene scene ) : void
RequestWearables ( IClientAPI client ) : void

Tell the client for this scene presence what items it should be wearing now

SetAppearance ( IClientAPI client, Primitive textureEntry, byte visualParams, WearableCache wearables, uint serial ) : void

Set appearance data (textureentry and slider settings) received from the client

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

Метод Описание
AgentCachedTexturesRequest ( IClientAPI client, List args ) : void

The client wants to know whether we already have baked textures for the given items

EventManager_OnNewPresence ( IScenePresence presence ) : void
EventManager_OnRemovePresence ( IScenePresence presence ) : void
HandleAppearanceSave ( UUID agentid, AvatarAppearance app ) : void

Saves a user's appearance

HandleAppearanceSend ( UUID agentid, AvatarAppearance app ) : void

Sends an avatars appearance (only called by the TimeSender)

HandleConsoleForceSendAppearance ( IScene scene, string cmds ) : void
HandleInitialAppearanceSend ( UUID agentid, AvatarAppearance app ) : void

Do everything required once a client completes its movement into a region and becomes a root agent.

SetAppearanceAssets ( UUID userID, List nowWearing, AvatarAppearance oldAppearance, AvatarAppearance &appearance ) : void

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

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

public AddRegion ( IScene scene ) : void
scene IScene
Результат void

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

Update what the avatar is wearing using an item from their inventory.
public AvatarIsWearing ( IClientAPI client, AvatarWearingArgs e ) : void
client IClientAPI
e Universe.Framework.ClientInterfaces.AvatarWearingArgs
Результат void

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

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

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

public ForceSendAvatarAppearance ( UUID agentid ) : void
agentid UUID
Результат void

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

public Initialize ( IConfigSource config ) : void
config IConfigSource
Результат void

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

public NewClient ( IClientAPI client ) : void
client IClientAPI
Результат void

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

public QueueAppearanceSave ( UUID agentid ) : void
agentid UUID
Результат void

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

Queue up a request to send appearance, makes it possible to accumulate changes without sending out each one separately.
public QueueAppearanceSend ( UUID agentid ) : void
agentid UUID
Результат void

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

public QueueInitialAppearanceSend ( UUID agentid ) : void
agentid UUID
Результат void

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

public RegionLoaded ( IScene scene ) : void
scene IScene
Результат void

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

public RemoveClient ( IClientAPI client ) : void
client IClientAPI
Результат void

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

public RemoveRegion ( IScene scene ) : void
scene IScene
Результат void

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

Tell the client for this scene presence what items it should be wearing now
public RequestWearables ( IClientAPI client ) : void
client IClientAPI
Результат void

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

Set appearance data (textureentry and slider settings) received from the client
public SetAppearance ( IClientAPI client, Primitive textureEntry, byte visualParams, WearableCache wearables, uint serial ) : void
client IClientAPI
textureEntry OpenMetaverse.Primitive
visualParams byte
wearables Universe.Framework.PresenceInfo.WearableCache
serial uint
Результат void