C# Класс SimpleBuilderNamespace.SimpleBuilder

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Prims List

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

DemoTab_Disposed() публичный Метод

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
Результат void

MenuButtonClicked() публичный Метод

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
Результат void

Objects_OnNewPrim() публичный Метод

public Objects_OnNewPrim ( object sender, PrimEventArgs e ) : void
sender object
e PrimEventArgs
Результат void

RegisterClientEvents() публичный Метод

Registration of all GridClient (libomv) events go here
public RegisterClientEvents ( GridClient client ) : void
client GridClient
Результат void

Self_ChatFromSimulator() публичный Метод

public Self_ChatFromSimulator ( object sender, ChatEventArgs e ) : void
sender object
e ChatEventArgs
Результат void

SimpleBuilder() публичный Метод

Default constructor. Never used. Needed for VS designer
public SimpleBuilder ( ) : System
Результат System

SimpleBuilder() публичный Метод

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
Результат System

StartPlugin() публичный Метод

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
Результат void

StopPlugin() публичный Метод

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
Результат void

UnregisterClientEvents() публичный Метод

Unregistration of GridClient (libomv) events. Important that this be symetric to RegisterClientEvents() calls
public UnregisterClientEvents ( GridClient client ) : void
client GridClient
Результат void

instance_ClientChanged() публичный Метод

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
Результат void

propRequester_OnTick() публичный Метод

public propRequester_OnTick ( int remaining ) : void
remaining int
Результат void

Описание свойств

Prims публичное свойство

public List Prims
Результат List