C# Class Universe.Modules.Appearance.AvatarFactoryModule

Inheritance: IAvatarFactory, INonSharedRegionModule
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

AddRegion() public méthode

public AddRegion ( IScene scene ) : void
scene IScene
Résultat void

AvatarIsWearing() public méthode

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
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

ForceSendAvatarAppearance() public méthode

public ForceSendAvatarAppearance ( UUID agentid ) : void
agentid UUID
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource config ) : void
config IConfigSource
Résultat void

NewClient() public méthode

public NewClient ( IClientAPI client ) : void
client IClientAPI
Résultat void

QueueAppearanceSave() public méthode

public QueueAppearanceSave ( UUID agentid ) : void
agentid UUID
Résultat void

QueueAppearanceSend() public méthode

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
Résultat void

QueueInitialAppearanceSend() public méthode

public QueueInitialAppearanceSend ( UUID agentid ) : void
agentid UUID
Résultat void

RegionLoaded() public méthode

public RegionLoaded ( IScene scene ) : void
scene IScene
Résultat void

RemoveClient() public méthode

public RemoveClient ( IClientAPI client ) : void
client IClientAPI
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( IScene scene ) : void
scene IScene
Résultat void

RequestWearables() public méthode

Tell the client for this scene presence what items it should be wearing now
public RequestWearables ( IClientAPI client ) : void
client IClientAPI
Résultat void

SetAppearance() public méthode

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
Résultat void