C# Class SimpleBuilderNamespace.SimpleBuilder

Mostrar archivo Open project: radegastdev/radegast

Public Properties

Property Type Description
Prims List

Public Methods

Method Description
DemoTab_Disposed ( object sender, EventArgs e ) : void

Cleanup after the tab is closed Unregister event handler hooks we have installed

MenuButtonClicked ( object sender, EventArgs e ) : void

Handling the click on Plugins -> Demo Tab button Check if we already have a tab. If we do make it active tab. If not, create a new tab and make it active.

Objects_OnNewPrim ( object sender, PrimEventArgs e ) : void
RegisterClientEvents ( GridClient client ) : void

Registration of all GridClient (libomv) events go here

Self_ChatFromSimulator ( object sender, ChatEventArgs e ) : void
SimpleBuilder ( ) : System

Default constructor. Never used. Needed for VS designer

SimpleBuilder ( RadegastInstance instance, bool unused ) : System

Main constructor used when actually creating the tab control for display Register client and instance events

StartPlugin ( RadegastInstance inst ) : void

Plugin loader calls this at the time plugin gets created We add a button to the Plugins menu on the main window for this tab

StopPlugin ( RadegastInstance inst ) : void

Called when the plugin manager unloads our plugin. Close the tab if it's active and remove the menu button

UnregisterClientEvents ( GridClient client ) : void

Unregistration of GridClient (libomv) events. Important that this be symetric to RegisterClientEvents() calls

instance_ClientChanged ( object sender, ClientChangedEventArgs e ) : void

Hadle case when GridClient is changed (relog haa occured without quiting Radegast). We need to unregister events from the old client and re-register them with the new

propRequester_OnTick ( int remaining ) : void

Private Methods

Method Description
BuildAndRez ( PrimType primType ) : void
GetObjectName ( Primitive prim ) : string
GetObjectName ( Primitive prim, int distance ) : string
IncludePrim ( Primitive prim ) : bool
btnBuild_Click ( object sender, EventArgs e ) : void
btn_Save_Click ( object sender, EventArgs e ) : void
button7_Click ( object sender, EventArgs e ) : void
getPosFromSelection ( ) : void
getRotFromSelection ( ) : void
getScaleFromSelection ( ) : void
lstPrims_RetrieveVirtualItem ( object sender, RetrieveVirtualItemEventArgs e ) : void
lstPrims_SelectedIndexChanged ( object sender, EventArgs e ) : void
setPositionToSelection ( ) : void
setRotToSelection ( ) : void
setScaleToSelection ( ) : void

Method Details

DemoTab_Disposed() public method

Cleanup after the tab is closed Unregister event handler hooks we have installed
public DemoTab_Disposed ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

MenuButtonClicked() public method

Handling the click on Plugins -> Demo Tab button Check if we already have a tab. If we do make it active tab. If not, create a new tab and make it active.
public MenuButtonClicked ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Objects_OnNewPrim() public method

public Objects_OnNewPrim ( object sender, PrimEventArgs e ) : void
sender object
e PrimEventArgs
return void

RegisterClientEvents() public method

Registration of all GridClient (libomv) events go here
public RegisterClientEvents ( GridClient client ) : void
client GridClient
return void

Self_ChatFromSimulator() public method

public Self_ChatFromSimulator ( object sender, ChatEventArgs e ) : void
sender object
e ChatEventArgs
return void

SimpleBuilder() public method

Default constructor. Never used. Needed for VS designer
public SimpleBuilder ( ) : System
return System

SimpleBuilder() public method

Main constructor used when actually creating the tab control for display Register client and instance events
public SimpleBuilder ( RadegastInstance instance, bool unused ) : System
instance RadegastInstance RadegastInstance
unused bool This param is not used, but needs to be there to keep the constructor signature
return System

StartPlugin() public method

Plugin loader calls this at the time plugin gets created We add a button to the Plugins menu on the main window for this tab
public StartPlugin ( RadegastInstance inst ) : void
inst RadegastInstance Main RadegastInstance
return void

StopPlugin() public method

Called when the plugin manager unloads our plugin. Close the tab if it's active and remove the menu button
public StopPlugin ( RadegastInstance inst ) : void
inst RadegastInstance
return void

UnregisterClientEvents() public method

Unregistration of GridClient (libomv) events. Important that this be symetric to RegisterClientEvents() calls
public UnregisterClientEvents ( GridClient client ) : void
client GridClient
return void

instance_ClientChanged() public method

Hadle case when GridClient is changed (relog haa occured without quiting Radegast). We need to unregister events from the old client and re-register them with the new
public instance_ClientChanged ( object sender, ClientChangedEventArgs e ) : void
sender object
e ClientChangedEventArgs
return void

propRequester_OnTick() public method

public propRequester_OnTick ( int remaining ) : void
remaining int
return void

Property Details

Prims public_oe property

public List Prims
return List