C# Class HyoutaTools.GraceNote.GraceNoteDatabaseEntry

显示文件 Open project: AdmiralCurtiss/HyoutaTools Class Usage Examples

Public Properties

Property Type Description
Comment string
Database string
ID int
IdentifyPointerRef int
IdentifyString string
JPID int
PointerRef int
Status int
TextEN string
TextJP string
UpdatedBy string
UpdatedTimestamp int

Public Methods

Method Description
GetAllEntriesFromDatabase ( String ConnectionString, String GracesJapaneseConnectionString ) : HyoutaTools.GraceNote.GraceNoteDatabaseEntry[]
GraceNoteDatabaseEntry ( ) : System
GraceNoteDatabaseEntry ( string TextJP, string TextEN = null, string Comment = "", int Status, int PointerRef, string IdentifyString = "", int IdentifyPointerRef ) : System

Creates a GNDB Entry suitable for inserting into a fresh database. All arguments except the original Japanese string are optional. TextEN defaults to a copy of TextJP if not provided.

InsertSQL ( GraceNoteDatabaseEntry Entries, String ConnectionString, String ConnectionStringGracesJapanese ) : void

Utility Function to insert Entries into a GraceNote database. Usually used when ripping text from a game file.

Method Details

GetAllEntriesFromDatabase() public static method

public static GetAllEntriesFromDatabase ( String ConnectionString, String GracesJapaneseConnectionString ) : HyoutaTools.GraceNote.GraceNoteDatabaseEntry[]
ConnectionString String
GracesJapaneseConnectionString String
return HyoutaTools.GraceNote.GraceNoteDatabaseEntry[]

GraceNoteDatabaseEntry() public method

public GraceNoteDatabaseEntry ( ) : System
return System

GraceNoteDatabaseEntry() public method

Creates a GNDB Entry suitable for inserting into a fresh database. All arguments except the original Japanese string are optional. TextEN defaults to a copy of TextJP if not provided.
public GraceNoteDatabaseEntry ( string TextJP, string TextEN = null, string Comment = "", int Status, int PointerRef, string IdentifyString = "", int IdentifyPointerRef ) : System
TextJP string
TextEN string
Comment string
Status int
PointerRef int
IdentifyString string
IdentifyPointerRef int
return System

InsertSQL() public static method

Utility Function to insert Entries into a GraceNote database. Usually used when ripping text from a game file.
public static InsertSQL ( GraceNoteDatabaseEntry Entries, String ConnectionString, String ConnectionStringGracesJapanese ) : void
Entries GraceNoteDatabaseEntry The Entries to insert. Required values in the entries are: TextJP, TextEN, Comment, Status, PointerRef, IdentifyString, and IdentifyPointerRef. The rest is filled automatically.
ConnectionString String
ConnectionStringGracesJapanese String
return void

Property Details

Comment public_oe property

public string Comment
return string

Database public_oe property

public string Database
return string

ID public_oe property

public int ID
return int

IdentifyPointerRef public_oe property

public int IdentifyPointerRef
return int

IdentifyString public_oe property

public string IdentifyString
return string

JPID public_oe property

Also known as StringID. References the corresponding GracesJapanese entry.
public int JPID
return int

PointerRef public_oe property

public int PointerRef
return int

Status public_oe property

public int Status
return int

TextEN public_oe property

public string TextEN
return string

TextJP public_oe property

public string TextJP
return string

UpdatedBy public_oe property

public string UpdatedBy
return string

UpdatedTimestamp public_oe property

public int UpdatedTimestamp
return int