C# Class Universe.BotManager.Bot_Api

Inheritance: System.MarshalByRefObject, IScriptApi
Mostrar archivo Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
Copy ( ) : IScriptApi
Dispose ( ) : void
Initialize ( IScriptModulePlugin scriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module ) : void
InitializeLifetimeService ( ) : Object
botAddTag ( string bot, string tag ) : void
botCreateBot ( string firstName, string lastName, string appearanceToClone, Universe.ScriptEngine.VirtualScript.LSL_Types.Vector3 startPos ) : Universe.ScriptEngine.VirtualScript.LSL_Types.LSLString
botFollowAvatar ( string bot, string avatarName, Universe.ScriptEngine.VirtualScript.LSL_Types.LSLFloat startFollowDistance, Universe.ScriptEngine.VirtualScript.LSL_Types.LSLFloat endFollowDistance ) : void
botGetBotsWithTag ( string tag ) : Universe.ScriptEngine.VirtualScript.LSL_Types.list
botGetWaitingTime ( Universe.ScriptEngine.VirtualScript.LSL_Types.LSLInteger waitTime ) : Universe.ScriptEngine.VirtualScript.LSL_Types.Vector3
botPauseMovement ( string bot ) : void
botRemoveBot ( string bot ) : void
botRemoveBotsWithTag ( string tag ) : void
botResumeMovement ( string bot ) : void
botSendChatMessage ( string bot, string message, int channel, int sayType ) : void
botSendIM ( string bot, string user, string message ) : void
botSetMap ( string keyOfBot, Universe.ScriptEngine.VirtualScript.LSL_Types.list positions, Universe.ScriptEngine.VirtualScript.LSL_Types.list movementType, Universe.ScriptEngine.VirtualScript.LSL_Types.LSLInteger flags ) : void
botSetRot ( Universe.ScriptEngine.VirtualScript.LSL_Types.LSLString npc, Universe.ScriptEngine.VirtualScript.LSL_Types.Quaternion rotation ) : void
botSetShouldFly ( string keyOfBot, int ShouldFly ) : void
botSetSpeed ( Universe.ScriptEngine.VirtualScript.LSL_Types.LSLString bot, Universe.ScriptEngine.VirtualScript.LSL_Types.LSLFloat SpeedModifier ) : void
botSitObject ( string bot, string objectID, Universe.ScriptEngine.VirtualScript.LSL_Types.Vector3 offset ) : void
botStandUp ( string bot ) : void
botStopFollowAvatar ( string bot ) : void
botTouchObject ( string bot, string objectID ) : void

Method Details

Copy() public method

public Copy ( ) : IScriptApi
return IScriptApi

Dispose() public method

public Dispose ( ) : void
return void

Initialize() public method

public Initialize ( IScriptModulePlugin scriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module ) : void
scriptEngine IScriptModulePlugin
host ISceneChildEntity
localID uint
itemID UUID
module Universe.ScriptEngine.VirtualScript.ScriptProtectionModule
return void

InitializeLifetimeService() public method

public InitializeLifetimeService ( ) : Object
return Object

botAddTag() public method

public botAddTag ( string bot, string tag ) : void
bot string
tag string
return void

botCreateBot() public method

public botCreateBot ( string firstName, string lastName, string appearanceToClone, Universe.ScriptEngine.VirtualScript.LSL_Types.Vector3 startPos ) : Universe.ScriptEngine.VirtualScript.LSL_Types.LSLString
firstName string
lastName string
appearanceToClone string
startPos Universe.ScriptEngine.VirtualScript.LSL_Types.Vector3
return Universe.ScriptEngine.VirtualScript.LSL_Types.LSLString

botFollowAvatar() public method

public botFollowAvatar ( string bot, string avatarName, Universe.ScriptEngine.VirtualScript.LSL_Types.LSLFloat startFollowDistance, Universe.ScriptEngine.VirtualScript.LSL_Types.LSLFloat endFollowDistance ) : void
bot string
avatarName string
startFollowDistance Universe.ScriptEngine.VirtualScript.LSL_Types.LSLFloat
endFollowDistance Universe.ScriptEngine.VirtualScript.LSL_Types.LSLFloat
return void

botGetBotsWithTag() public method

public botGetBotsWithTag ( string tag ) : Universe.ScriptEngine.VirtualScript.LSL_Types.list
tag string
return Universe.ScriptEngine.VirtualScript.LSL_Types.list

botGetWaitingTime() public method

public botGetWaitingTime ( Universe.ScriptEngine.VirtualScript.LSL_Types.LSLInteger waitTime ) : Universe.ScriptEngine.VirtualScript.LSL_Types.Vector3
waitTime Universe.ScriptEngine.VirtualScript.LSL_Types.LSLInteger
return Universe.ScriptEngine.VirtualScript.LSL_Types.Vector3

botPauseMovement() public method

public botPauseMovement ( string bot ) : void
bot string
return void

botRemoveBot() public method

public botRemoveBot ( string bot ) : void
bot string
return void

botRemoveBotsWithTag() public method

public botRemoveBotsWithTag ( string tag ) : void
tag string
return void

botResumeMovement() public method

public botResumeMovement ( string bot ) : void
bot string
return void

botSendChatMessage() public method

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

botSendIM() public method

public botSendIM ( string bot, string user, string message ) : void
bot string
user string
message string
return void

botSetMap() public method

public botSetMap ( string keyOfBot, Universe.ScriptEngine.VirtualScript.LSL_Types.list positions, Universe.ScriptEngine.VirtualScript.LSL_Types.list movementType, Universe.ScriptEngine.VirtualScript.LSL_Types.LSLInteger flags ) : void
keyOfBot string
positions Universe.ScriptEngine.VirtualScript.LSL_Types.list
movementType Universe.ScriptEngine.VirtualScript.LSL_Types.list
flags Universe.ScriptEngine.VirtualScript.LSL_Types.LSLInteger
return void

botSetRot() public method

public botSetRot ( Universe.ScriptEngine.VirtualScript.LSL_Types.LSLString npc, Universe.ScriptEngine.VirtualScript.LSL_Types.Quaternion rotation ) : void
npc Universe.ScriptEngine.VirtualScript.LSL_Types.LSLString
rotation Universe.ScriptEngine.VirtualScript.LSL_Types.Quaternion
return void

botSetShouldFly() public method

public botSetShouldFly ( string keyOfBot, int ShouldFly ) : void
keyOfBot string
ShouldFly int
return void

botSetSpeed() public method

public botSetSpeed ( Universe.ScriptEngine.VirtualScript.LSL_Types.LSLString bot, Universe.ScriptEngine.VirtualScript.LSL_Types.LSLFloat SpeedModifier ) : void
bot Universe.ScriptEngine.VirtualScript.LSL_Types.LSLString
SpeedModifier Universe.ScriptEngine.VirtualScript.LSL_Types.LSLFloat
return void

botSitObject() public method

public botSitObject ( string bot, string objectID, Universe.ScriptEngine.VirtualScript.LSL_Types.Vector3 offset ) : void
bot string
objectID string
offset Universe.ScriptEngine.VirtualScript.LSL_Types.Vector3
return void

botStandUp() public method

public botStandUp ( string bot ) : void
bot string
return void

botStopFollowAvatar() public method

public botStopFollowAvatar ( string bot ) : void
bot string
return void

botTouchObject() public method

public botTouchObject ( string bot, string objectID ) : void
bot string
objectID string
return void