C# Class Radegast.ImageUploadConsole

ファイルを表示 Open project: radegastdev/radegast

Public Properties

Property Type Description
FileName string
InventoryID UUID
UploadData byte[]

Public Methods

Method Description
Assets_AssetUploaded ( object sender, AssetUploadEventArgs e ) : void
ImageUploadConsole ( ) : System
ImageUploadConsole ( Radegast.RadegastInstance instance ) : System
ImageUploadConsole_Disposed ( object sender, EventArgs e ) : void
LoadImage ( string fname ) : void
Netcom_ClientConnected ( object sender, EventArgs e ) : void
Netcom_ClientDisconnected ( object sender, DisconnectedEventArgs e ) : void
UpdateButtons ( ) : void

Private Methods

Method Description
ClosestPowerOwTwo ( int n ) : int
IsPowerOfTwo ( uint n ) : bool
TempUploadHandler ( bool success, InventoryItem item ) : void
UploadHandler ( bool success, string status, UUID itemID, UUID assetID ) : void
btnLoad_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
btnUpload_Click ( object sender, EventArgs e ) : void

Method Details

Assets_AssetUploaded() public method

public Assets_AssetUploaded ( object sender, AssetUploadEventArgs e ) : void
sender object
e AssetUploadEventArgs
return void

ImageUploadConsole() public method

public ImageUploadConsole ( ) : System
return System

ImageUploadConsole() public method

public ImageUploadConsole ( Radegast.RadegastInstance instance ) : System
instance Radegast.RadegastInstance
return System

ImageUploadConsole_Disposed() public method

public ImageUploadConsole_Disposed ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

LoadImage() public method

public LoadImage ( string fname ) : void
fname string
return void

Netcom_ClientConnected() public method

public Netcom_ClientConnected ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Netcom_ClientDisconnected() public method

public Netcom_ClientDisconnected ( object sender, DisconnectedEventArgs e ) : void
sender object
e DisconnectedEventArgs
return void

UpdateButtons() public method

public UpdateButtons ( ) : void
return void

Property Details

FileName public_oe property

public string FileName
return string

InventoryID public_oe property

public UUID InventoryID
return UUID

UploadData public_oe property

public byte[] UploadData
return byte[]