C# Class Universe.Modules.Chat.CalcChatPlugin

This allows you to use a calculator inworld via chat Example would be to type: calc.Add 1 1 which would return 2 or calc.Divide 4 2 which returns 2
Inheritance: IChatPlugin
Mostrar archivo Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
Dispose ( ) : void
Initialize ( IChatModule module ) : void
OnClosingClient ( UUID clientID, IScene scene ) : void
OnNewChatMessageFromWorld ( OSChatMessage c, OSChatMessage &newc ) : bool
OnNewClient ( IClientAPI client ) : void

Private Methods

Method Description
BuildAndSendResult ( float result, IScene scene, System.Vector3 position ) : void

Tell the client what the result is

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Initialize() public method

public Initialize ( IChatModule module ) : void
module IChatModule
return void

OnClosingClient() public method

public OnClosingClient ( UUID clientID, IScene scene ) : void
clientID UUID
scene IScene
return void

OnNewChatMessageFromWorld() public method

public OnNewChatMessageFromWorld ( OSChatMessage c, OSChatMessage &newc ) : bool
c Universe.Framework.ClientInterfaces.OSChatMessage
newc Universe.Framework.ClientInterfaces.OSChatMessage
return bool

OnNewClient() public method

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