C# 클래스 ME3Explorer.PlotVarDB.PlotVarDB

파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
entries List

공개 메소드들

메소드 설명
GetBytes ( string str ) : byte[]
GetString ( byte bytes ) : string
PlotVarDB ( ) : System
ReadBool ( FileStream fs ) : bool
ReadInt ( FileStream fs ) : int
ReadString ( FileStream fs ) : string
RefreshTable ( ) : void
Search ( ) : void
TypeToString ( int type ) : string
WriteString ( FileStream fs, string s ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Verwendete Ressourcen bereinigen.

비공개 메소드들

메소드 설명
CSVStringToType ( string v ) : int
GameToString ( int game ) : object
InitializeComponent ( ) : void

Erforderliche Methode für die Designerunterstützung. Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.

PlotVarDB_Load ( object sender, EventArgs e ) : void
StringToGame ( string value ) : int
StringToType ( string value ) : int
TypeToCSVType ( int value ) : string
cellClicked ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
commitTable ( ) : void
customSortCompare ( object sender, System.Windows.Forms.DataGridViewSortCompareEventArgs e ) : void
deleteCurrentCell ( ) : void
deleteCurrentRow ( ) : void

Deletes the currently selected row

deleteRowButton_Click ( object sender, EventArgs e ) : void
exportToCSVToolStripMenuItem_Click ( object sender, EventArgs e ) : void
importFromCSVToolStripMenuItem_Click ( object sender, EventArgs e ) : void
loadDatabase ( string fileName ) : void
loadDatabaseToolStripMenuItem_Click ( object sender, EventArgs e ) : void
newDatabaseToolStripMenuItem_Click ( object sender, EventArgs e ) : void
plotVarTable_CellValidating ( object sender, System.Windows.Forms.DataGridViewCellValidatingEventArgs e ) : void
plotVarTable_KeyDown ( object sender, KeyEventArgs e ) : void

Handles the delete key press on a row

readVersion1DB ( FileStream fs ) : List

Reads the old style DB files from Pre-r748. Contains the following columns: ID (as int) Type (as int) Desc (as string) This file format has a different layout than v2 and up.

readVersion2DB ( FileStream fs ) : List

Reads a v2 type DB (r748), by FemShep. Returns list of read entries. Contains the following columns: Plot ID Type (as int) Game (as int) Category1 (as string) Category2 (as string) State/Value (as string) Broken (as bool (stored as byte)) ME2 ID (as int) ME3 ID (as int) Notes (as string)

saveDatabaseToolStripMenuItem_Click ( object sender, EventArgs e ) : void
toolStripButton1_Click ( object sender, EventArgs e ) : void
toolStripTextBox1_KeyPress ( object sender, KeyPressEventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

Verwendete Ressourcen bereinigen.
protected Dispose ( bool disposing ) : void
disposing bool True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
리턴 void

GetBytes() 공개 메소드

public GetBytes ( string str ) : byte[]
str string
리턴 byte[]

GetString() 공개 메소드

public GetString ( byte bytes ) : string
bytes byte
리턴 string

PlotVarDB() 공개 메소드

public PlotVarDB ( ) : System
리턴 System

ReadBool() 공개 메소드

public ReadBool ( FileStream fs ) : bool
fs FileStream
리턴 bool

ReadInt() 공개 메소드

public ReadInt ( FileStream fs ) : int
fs FileStream
리턴 int

ReadString() 공개 메소드

public ReadString ( FileStream fs ) : string
fs FileStream
리턴 string

RefreshTable() 공개 메소드

public RefreshTable ( ) : void
리턴 void

Search() 공개 메소드

public Search ( ) : void
리턴 void

TypeToString() 공개 메소드

public TypeToString ( int type ) : string
type int
리턴 string

WriteString() 공개 메소드

public WriteString ( FileStream fs, string s ) : void
fs FileStream
s string
리턴 void

프로퍼티 상세

entries 공개적으로 프로퍼티

public List entries
리턴 List