CombatantDataColumnDef Constructor |
A column defintion for CombatantData objects
Namespace:
Advanced_Combat_Tracker
Assembly:
Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.8.2.285
Syntax public ColumnDef(
string Label,
bool DefaultVisible,
string SqlDataType,
string SqlDataName,
CombatantDataStringDataCallback CellDataCallback,
CombatantDataStringDataCallback SqlDataCallback,
Comparison<CombatantData> SortComparer
)
Parameters
- Label
- Type: SystemString
This should be the same text as the dictionary key used to store this object which is what is displayed in ACT - DefaultVisible
- Type: SystemBoolean
If a column is visible in ACT by default(when first added to the configuration) - SqlDataType
- Type: SystemString
The SQL data type such as INT, VARCHAR, FLOAT - SqlDataName
- Type: SystemString
The SQL safe name of the column - CellDataCallback
- Type: Advanced_Combat_TrackerCombatantDataStringDataCallback
The delegated method to be called to get back a string to display in ACT - SqlDataCallback
- Type: Advanced_Combat_TrackerCombatantDataStringDataCallback
The delegated method to be called to get back a string to be used as a data value in SQL. Obviously this value must conform to the SqlDataType. - SortComparer
- Type: SystemComparisonCombatantData
The comparison method to call to compare two CombatantData objects for sorting
See Also