C# Class WorldEditor.ProtoEditor.ProtoManager

Exibir arquivo Open project: rotators/tools Class Usage Examples

Public Properties

Property Type Description
BasicFileNames string[]
FileNames string[]
Initialized bool
Protos ProtoCritter>.Dictionary

Public Methods

Method Description
AddProto ( ProtoCritter cr ) : bool
AddProto ( int n ) : bool
AddProto ( ) : int
CheckFile ( string filename ) : bool
CorrectFile ( string filename ) : string
CorrectFileIndex ( string filename ) : int
FillFilenames ( ComboBox box ) : void
GetFreeNumber ( ) : int
Init ( string _basicFileNames, string _fileNames, MSGParser DLGParser ) : bool
Load ( ) : bool
Remove ( int n ) : void
Save ( ) : void
SaveProtoAs ( ProtoCritter pc, int n ) : void

Private Methods

Method Description
LoadFile ( string filename ) : bool

Method Details

AddProto() public static method

public static AddProto ( ProtoCritter cr ) : bool
cr ProtoCritter
return bool

AddProto() public static method

public static AddProto ( int n ) : bool
n int
return bool

AddProto() public static method

public static AddProto ( ) : int
return int

CheckFile() public static method

public static CheckFile ( string filename ) : bool
filename string
return bool

CorrectFile() public static method

public static CorrectFile ( string filename ) : string
filename string
return string

CorrectFileIndex() public static method

public static CorrectFileIndex ( string filename ) : int
filename string
return int

FillFilenames() public static method

public static FillFilenames ( ComboBox box ) : void
box System.Windows.Forms.ComboBox
return void

GetFreeNumber() public static method

public static GetFreeNumber ( ) : int
return int

Init() public static method

public static Init ( string _basicFileNames, string _fileNames, MSGParser DLGParser ) : bool
_basicFileNames string
_fileNames string
DLGParser MSGParser
return bool

Load() public static method

public static Load ( ) : bool
return bool

Remove() public static method

public static Remove ( int n ) : void
n int
return void

Save() public static method

public static Save ( ) : void
return void

SaveProtoAs() public static method

public static SaveProtoAs ( ProtoCritter pc, int n ) : void
pc ProtoCritter
n int
return void

Property Details

BasicFileNames public_oe static_oe property

public static string[] BasicFileNames
return string[]

FileNames public_oe static_oe property

public static string[] FileNames
return string[]

Initialized public_oe static_oe property

public static bool Initialized
return bool

Protos public_oe static_oe property

public static Dictionary Protos
return ProtoCritter>.Dictionary