C# Class WhiteCore.Modules.Appearance.AvatarFactoryModule.AvatarAppearanceModule

Inheritance: IAvatarAppearanceModule
Show file Open project: WhiteCoreSim/WhiteCore-Dev

Public Properties

Property Type Description
m_sp IScenePresence

Protected Properties

Property Type Description
_updateMonitor IAgentUpdateMonitor
m_appearance WhiteCore.Framework.ClientInterfaces.AvatarAppearance

Public Methods

Method Description
AvatarAppearanceModule ( IScenePresence sp ) : System
Close ( ) : void
SendAppearanceToAgent ( IScenePresence avatar ) : void

Send appearance data to an agent.

SendAppearanceToAllOtherAgents ( ) : void

Send this agent's appearance to all other root and child agents in the scene This agent must be root.

SendAvatarDataToAgent ( IScenePresence avatar, bool sendAppearance ) : void

Send avatar data to an agent.

SendAvatarDataToAllAgents ( bool sendAppearance ) : void

Send this agent's avatar data to all other root and child agents in the scene This agent must be root. This avatar will receive its own update.

SendOtherAgentsAppearanceToMe ( ) : void

Send appearance from all other root agents to this agent. this agent can be either root or child

SendOtherAgentsAvatarDataToMe ( ) : void

Send avatar data for all other root agents to this agent, this agent can be either a child or root

Private Methods

Method Description
CheckToMakeSureWearablesHaveBeenSent ( object sender, System.Timers.ElapsedEventArgs e ) : void

This makes sure that after the agent has entered the sim that they have their clothes and that they all exist

EventManager_OnMakeRootAgent ( IScenePresence presence ) : void

Method Details

AvatarAppearanceModule() public method

public AvatarAppearanceModule ( IScenePresence sp ) : System
sp IScenePresence
return System

Close() public method

public Close ( ) : void
return void

SendAppearanceToAgent() public method

Send appearance data to an agent.
public SendAppearanceToAgent ( IScenePresence avatar ) : void
avatar IScenePresence
return void

SendAppearanceToAllOtherAgents() public method

Send this agent's appearance to all other root and child agents in the scene This agent must be root.
public SendAppearanceToAllOtherAgents ( ) : void
return void

SendAvatarDataToAgent() public method

Send avatar data to an agent.
public SendAvatarDataToAgent ( IScenePresence avatar, bool sendAppearance ) : void
avatar IScenePresence
sendAppearance bool
return void

SendAvatarDataToAllAgents() public method

Send this agent's avatar data to all other root and child agents in the scene This agent must be root. This avatar will receive its own update.
public SendAvatarDataToAllAgents ( bool sendAppearance ) : void
sendAppearance bool
return void

SendOtherAgentsAppearanceToMe() public method

Send appearance from all other root agents to this agent. this agent can be either root or child
public SendOtherAgentsAppearanceToMe ( ) : void
return void

SendOtherAgentsAvatarDataToMe() public method

Send avatar data for all other root agents to this agent, this agent can be either a child or root
public SendOtherAgentsAvatarDataToMe ( ) : void
return void

Property Details

_updateMonitor protected property

protected IAgentUpdateMonitor _updateMonitor
return IAgentUpdateMonitor

m_appearance protected property

protected AvatarAppearance,WhiteCore.Framework.ClientInterfaces m_appearance
return WhiteCore.Framework.ClientInterfaces.AvatarAppearance

m_sp public property

public IScenePresence m_sp
return IScenePresence