Kerbal Space Program
1.12.4
|
Class used for flight and kerbal career logging More...
Classes | |
class | Entry |
Flight log entry More... | |
Public Member Functions | |
void | AddEntry (Entry entry) |
Add entry via entry copy More... | |
void | AddEntry (EntryType type, string target=null) |
Standard add entry method More... | |
void | AddEntry (string type, string target=null) |
Standard add entry method More... | |
void | AddEntryUnique (Entry entry) |
Adds a unique entry method. If entry already exists then do nothing More... | |
void | AddEntryUnique (EntryType type, string target=null) |
Adds a unique entry method. If entry already exists then do nothing More... | |
void | AddFlight () |
void | Clear () |
Clears the flight log More... | |
FlightLog | CreateCopy () |
Create copy of this FlightLog More... | |
List< string > | GetDistinctTargets (EntryType type) |
Gets array of distinct target strings for a matching type More... | |
List< string > | GetDistinctTargets (string type) |
Gets array of distinct target strings for a matching type More... | |
List< string > | GetDistinctTargets () |
Gets array of distinct target strings for a matching type More... | |
List< string > | GetDistinctTypes () |
Gets array of distinct type strings More... | |
List< string > | GetDistinctTypes (string target) |
Gets array of distinct type strings for a matching target More... | |
Entry[] | GetEntries (EntryType type, string target) |
Gets all entries that meet the type requirement sorted by their time More... | |
Entry[] | GetEntries (EntryType type) |
Gets all entries that meet the type requirement sorted by their time More... | |
Entry[] | GetEntries (string type) |
Gets all entries that meet the type requirement sorted by their time More... | |
Entry[] | GetEntries (string type, string target) |
Gets all entries that meet the type requirement sorted by their time More... | |
List< FlightLog > | GetFlights () |
bool | HasEntry (EntryType type) |
Test log for a given entry type More... | |
bool | HasEntry (EntryType type, string target) |
Test log for a given entry type and target More... | |
bool | HasEntry (string type) |
Test log for a given entry type More... | |
bool | HasEntry (string type, string target) |
Test log for a given entry type and target More... | |
Entry | Last () |
Get reference to last entry in log More... | |
void | Load (ConfigNode node) |
Load from given ConfigNode More... | |
void | MergeWith (FlightLog log) |
Merges the referenced log into this one More... | |
void | Save (ConfigNode node) |
Save to given ConfigNode More... | |
Properties | |
int | Count [get] |
Count of entries More... | |
List< Entry > | Entries [get] |
Flight Log More... | |
int | Flight [get] |
Entry | this[int index] [get] |
Class used for flight and kerbal career logging
enum FlightLog.EntryType |
|
inline |
Add entry via entry copy
entry | Entry to copy |
|
inline |
|
inline |
|
inline |
Adds a unique entry method. If entry already exists then do nothing
entry | Entry to copy |
|
inline |
|
inline |
|
inline |
Clears the flight log
|
inline |
Gets array of distinct target strings for a matching type
|
inline |
Gets array of distinct target strings for a matching type
|
inline |
Gets array of distinct target strings for a matching type
|
inline |
Gets array of distinct type strings
|
inline |
Gets array of distinct type strings for a matching target
Gets all entries that meet the type requirement sorted by their time
type | Type to test |
target | Target to test |
Gets all entries that meet the type requirement sorted by their time
type | Type to test |
|
inline |
Gets all entries that meet the type requirement sorted by their time
type | Type to test |
|
inline |
Gets all entries that meet the type requirement sorted by their time
type | Type to test |
target | Target to test |
|
inline |
|
inline |
Test log for a given entry type
type | Type required for test |
|
inline |
Test log for a given entry type and target
type | Type required for test |
target | Target required for test |
|
inline |
Test log for a given entry type
type | Type required for test |
|
inline |
Test log for a given entry type and target
type | Type required for test |
target | Target required for test |
|
inline |
Get reference to last entry in log
|
inline |
Load from given ConfigNode
node | ConfigNode to load from |
|
inline |
Merges the referenced log into this one
log | Log to merge |
|
inline |
Save to given ConfigNode
node | ConfigNode to save to |
|
get |
Count of entries
|
get |
Flight Log
|
get |
|
get |