Rebornbuddy
|
Static Public Member Functions | |
static CapabilityState | GetCapabilityState (CapabilityFlags capability) |
Returns the state of a capability. | |
static void | SetCapabilityState (CapabilityFlags capability, CapabilityState state, string reason=null) |
Sets the state of the passed in capabilities. | |
static bool | IsAnyDisallowed (CapabilityFlags capability) |
Determines whether any of the capabilities are disallowed. | |
static void | PickRoutine () |
Selects an active routine The first routine with a partial match with PreferedRoutine is selected first if it is set. If there is only one match for the current class, then that is selected. If there is more then one option then a dialog is displayed. |
Properties | |
static List< CombatRoutine > | AllRoutines [get] |
List of all loaded routines, including ones that don't match the players class. | |
static List< CombatRoutine > | Routines [get] |
List of all routines that support the players class. | |
static string | PreferedRoutine [get, set] |
Partial match against routine name during startup and switching classes Can be assigned to. | |
static CombatRoutine | Current [get, set] |
Current combat routine Setting this will change the routine used in the botbases Calls shutdown on the previous routine and initalize on the new one. | |
static string | RoutineDirectory [get] |
Events | |
static EventHandler | Reloaded |
Fired when routines have been reloaded. | |
static EventHandler | PickRoutineFired |
Fired at the very start of PickRoutine Good place to set PreferedRoutine. | |
static EventHandler | RoutineChanged |
Fired when the routine has changed. | |
static EventHandler< CapabilityStateChangedArgs > | OnCapabilityStateChanged |
|
static |
Returns the state of a capability.
capability | The capability. Should not have multiple flags set. |
ArgumentOutOfRangeException | Thrown if capability has multiple flags set. |
|
static |
Determines whether any of the capabilities are disallowed.
capability | The capability. |
|
static |
Selects an active routine The first routine with a partial match with PreferedRoutine is selected first if it is set. If there is only one match for the current class, then that is selected. If there is more then one option then a dialog is displayed.
|
static |
Sets the state of the passed in capabilities.
capability | The capability. Should not have multiple flags set. |
state | The new state to set the capability into. |
reason | The reason. |
ArgumentOutOfRangeException | Thrown if capability has more than 1 flag set or state is invalid. |
|
staticget |
List of all loaded routines, including ones that don't match the players class.
|
staticgetset |
Current combat routine Setting this will change the routine used in the botbases Calls shutdown on the previous routine and initalize on the new one.
|
staticgetset |
Partial match against routine name during startup and switching classes Can be assigned to.
|
staticget |
|
staticget |
List of all routines that support the players class.
|
static |
|
static |
Fired at the very start of PickRoutine Good place to set PreferedRoutine.
|
static |
Fired when routines have been reloaded.
|
static |
Fired when the routine has changed.