TABLE OF CONTENTS
- 1. SchoolUI/SchoolUI.Update_School_Selected_Cost_Command
- 2. SchoolUI/SchoolUI.Update_School_Cost_Command
- 3. SchoolUI/SchoolUI.Train_Skill_Command
- 4. SchoolUI/SchoolUI.Show_School_Command
- 5. SchoolUI/SchoolUI.Set_School_Skills_Command
- 6. SchoolUI/SchoolUI.Get_Skill_Index
- 7. SchoolUI/SchoolUI.Get_Member_Index
SchoolUI/SchoolUI.Get_Member_Index [ Subprograms ]
[ Top ] [ SchoolUI ] [ Subprograms ]
FUNCTION
Get the index in the player ship of the currently selected member
SOURCE
function Get_Member_Index return Positive is
RESULT
The index of the currently selected crew member
SchoolUI/SchoolUI.Get_Skill_Index [ Subprograms ]
[ Top ] [ SchoolUI ] [ Subprograms ]
FUNCTION
Get the index of the currently selected skill
SOURCE
function Get_Skill_Index return Positive is
RESULT
The index of the currently selected skill
SchoolUI/SchoolUI.Set_School_Skills_Command [ Commands ]
[ Top ] [ SchoolUI ] [ Commands ]
FUNCTION
Set list of available to train skills for the selected crew member
SOURCE
function Set_School_Skills_Command (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int; Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with Convention => C;
PARAMETERS
Client_Data - Custom data send to the command. Unused Interp - Tcl interpreter in which command was executed. Argc - Number of arguments passed to the command. Unused Argv - Values of arguments passed to the command. Unused
RESULT
This function always return TCL_OK
COMMANDS
SetSchoolSkills
SchoolUI/SchoolUI.Show_School_Command [ Commands ]
[ Top ] [ SchoolUI ] [ Commands ]
FUNCTION
Show the selected base school
SOURCE
function Show_School_Command (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int; Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with Convention => C;
PARAMETERS
Client_Data - Custom data send to the command. Interp - Tcl interpreter in which command was executed. Argc - Number of arguments passed to the command. Argv - Values of arguments passed to the command.
RESULT
This function always return TCL_OK
COMMANDS
ShowSchool
SchoolUI/SchoolUI.Train_Skill_Command [ Commands ]
[ Top ] [ SchoolUI ] [ Commands ]
FUNCTION
Train the selected skill
SOURCE
function Train_Skill_Command (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int; Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with Convention => C;
PARAMETERS
Client_Data - Custom data send to the command. Interp - Tcl interpreter in which command was executed. Argc - Number of arguments passed to the command. Unused Argv - Values of arguments passed to the command. Unused
RESULT
This function always return TCL_OK
COMMANDS
TrainSkill
SchoolUI/SchoolUI.Update_School_Cost_Command [ Commands ]
[ Top ] [ SchoolUI ] [ Commands ]
FUNCTION
Update the cost of training
SOURCE
function Update_School_Cost_Command (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int; Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with Convention => C;
PARAMETERS
Client_Data - Custom data send to the command. Interp - Tcl interpreter in which command was executed. Argc - Number of arguments passed to the command. Argv - Values of arguments passed to the command.
RESULT
This function always return TCL_OK
COMMANDS
UpdateSchoolCost combobox amount Combobox is the Tk path to the ttk::combobox with the amount of training sessions, amount is the amount of the requested training sessions
SchoolUI/SchoolUI.Update_School_Selected_Cost_Command [ Commands ]
[ Top ] [ SchoolUI ] [ Commands ]
FUNCTION
Update the minimal and maximum values of spinbox with training cost
SOURCE
function Update_School_Selected_Cost_Command (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int; Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with Convention => C;
PARAMETERS
Client_Data - Custom data send to the command. Unused Interp - Tcl interpreter in which command was executed. Argc - Number of arguments passed to the command. Unused Argv - Values of arguments passed to the command. Unused
RESULT
This function always return TCL_OK
COMMANDS
UpdateSchoolSelectedCost