C# 클래스 WhiteCore.Modules.Appearance.AvatarFactoryModule

상속: IAvatarFactory, INonSharedRegionModule
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev

공개 메소드들

메소드 설명
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
Initialise ( 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 WhiteCore.Framework.ClientInterfaces.AvatarWearingArgs
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

ForceSendAvatarAppearance() 공개 메소드

public ForceSendAvatarAppearance ( UUID agentid ) : void
agentid UUID
리턴 void

Initialise() 공개 메소드

public Initialise ( 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 Primitive
visualParams byte
wearables WearableCache
serial uint
리턴 void