C# Class Universe.BotManager.BotPrimController

Inheritance: IBotController
显示文件 Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
BotPrimController ( ISceneEntity obj, Bot bot ) : OpenMetaverse
Close ( ) : void
GetScene ( ) : IScene
Jump ( ) : void
OnBotAgentUpdate ( Vector3 toward, uint controlFlag, Quaternion bodyRotation ) : void
OnBotAgentUpdate ( Vector3 toward, uint controlFlag, Quaternion bodyRotation, bool isMoving ) : void
SendChatMessage ( int sayType, string message, int channel ) : void
SendInstantMessage ( GridInstantMessage im ) : void
SetDrawDistance ( float draw ) : void
SetSpeedModifier ( float speed ) : void
StandUp ( ) : void
StopMoving ( bool fly, bool clearPath ) : void
Teleport ( Vector3 pos ) : void
UpdateMovementAnimations ( bool sendTerseUpdate ) : void

Method Details

BotPrimController() public method

public BotPrimController ( ISceneEntity obj, Bot bot ) : OpenMetaverse
obj ISceneEntity
bot Bot
return OpenMetaverse

Close() public method

public Close ( ) : void
return void

GetScene() public method

public GetScene ( ) : IScene
return IScene

Jump() public method

public Jump ( ) : void
return void

OnBotAgentUpdate() public method

public OnBotAgentUpdate ( Vector3 toward, uint controlFlag, Quaternion bodyRotation ) : void
toward Vector3
controlFlag uint
bodyRotation Quaternion
return void

OnBotAgentUpdate() public method

public OnBotAgentUpdate ( Vector3 toward, uint controlFlag, Quaternion bodyRotation, bool isMoving ) : void
toward Vector3
controlFlag uint
bodyRotation Quaternion
isMoving bool
return void

SendChatMessage() public method

public SendChatMessage ( int sayType, string message, int channel ) : void
sayType int
message string
channel int
return void

SendInstantMessage() public method

public SendInstantMessage ( GridInstantMessage im ) : void
im Universe.Framework.ClientInterfaces.GridInstantMessage
return void

SetDrawDistance() public method

public SetDrawDistance ( float draw ) : void
draw float
return void

SetSpeedModifier() public method

public SetSpeedModifier ( float speed ) : void
speed float
return void

StandUp() public method

public StandUp ( ) : void
return void

StopMoving() public method

public StopMoving ( bool fly, bool clearPath ) : void
fly bool
clearPath bool
return void

Teleport() public method

public Teleport ( Vector3 pos ) : void
pos Vector3
return void

UpdateMovementAnimations() public method

public UpdateMovementAnimations ( bool sendTerseUpdate ) : void
sendTerseUpdate bool
return void