C# Class Universe.Modules.Appearance.AvatarFactoryModule

Inheritance: IAvatarFactory, INonSharedRegionModule
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method 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

Method 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 method

public AddRegion ( IScene scene ) : void
scene IScene
return void

AvatarIsWearing() public method

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
return void

Close() public method

public Close ( ) : void
return void

ForceSendAvatarAppearance() public method

public ForceSendAvatarAppearance ( UUID agentid ) : void
agentid UUID
return void

Initialize() public method

public Initialize ( IConfigSource config ) : void
config IConfigSource
return void

NewClient() public method

public NewClient ( IClientAPI client ) : void
client IClientAPI
return void

QueueAppearanceSave() public method

public QueueAppearanceSave ( UUID agentid ) : void
agentid UUID
return void

QueueAppearanceSend() public method

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
return void

QueueInitialAppearanceSend() public method

public QueueInitialAppearanceSend ( UUID agentid ) : void
agentid UUID
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RemoveClient() public method

public RemoveClient ( IClientAPI client ) : void
client IClientAPI
return void

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

RequestWearables() public method

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

SetAppearance() public method

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
return void