C# 클래스 SimpleBuilderNamespace.SimpleBuilder

파일 보기 프로젝트 열기: radegastdev/radegast

공개 프로퍼티들

프로퍼티 타입 설명
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