C# Class SimpleBuilderNamespace.SimpleBuilder

Afficher le fichier Open project: radegastdev/radegast

Méthodes publiques

Свойство Type Description
Prims List

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

MenuButtonClicked() public méthode

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
Résultat void

Objects_OnNewPrim() public méthode

public Objects_OnNewPrim ( object sender, PrimEventArgs e ) : void
sender object
e PrimEventArgs
Résultat void

RegisterClientEvents() public méthode

Registration of all GridClient (libomv) events go here
public RegisterClientEvents ( GridClient client ) : void
client GridClient
Résultat void

Self_ChatFromSimulator() public méthode

public Self_ChatFromSimulator ( object sender, ChatEventArgs e ) : void
sender object
e ChatEventArgs
Résultat void

SimpleBuilder() public méthode

Default constructor. Never used. Needed for VS designer
public SimpleBuilder ( ) : System
Résultat System

SimpleBuilder() public méthode

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
Résultat System

StartPlugin() public méthode

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
Résultat void

StopPlugin() public méthode

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
Résultat void

UnregisterClientEvents() public méthode

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

instance_ClientChanged() public méthode

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
Résultat void

propRequester_OnTick() public méthode

public propRequester_OnTick ( int remaining ) : void
remaining int
Résultat void

Property Details

Prims public_oe property

public List Prims
Résultat List