C# Класс Questor.Modules.Combat

The combat class will target and kill any NPC that is targeting the questor. It will also kill any NPC that is targeted but not agressing the questor.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ActivateWeapons void
GetTarget EntityCache
TargetCombatants void

Открытые методы

Метод Описание
ActivateNos ( EntityCache target ) : void

Activate Nos

ActivateStasisWeb ( EntityCache target ) : void

Activate StasisWeb

ActivateTargetPainters ( EntityCache target ) : void

Activate target painters

CanActivate ( Questor.Modules.ModuleCache module, EntityCache entity, bool isWeapon ) : bool

Returns true if it can activate the weapon on the target

The idea behind this function is that a target that explodes isnt being fired on within 5 seconds

ProcessState ( ) : void
ReloadAmmo ( Questor.Modules.ModuleCache weapon, EntityCache entity ) : bool

Reload correct (tm) ammo for the NPC

ReloadEnergyWeaponAmmo ( Questor.Modules.ModuleCache weapon, EntityCache entity ) : bool
ReloadNormalAmmo ( Questor.Modules.ModuleCache weapon, EntityCache entity ) : bool

Reload correct (tm) ammo for the NPC

Приватные методы

Метод Описание
ActivateWeapons ( EntityCache target ) : void

Activate weapons

GetTarget ( ) : EntityCache

Returns the target we need to activate everything on

TargetCombatants ( ) : void

Target combatants

This only targets ships that are targeting you

Описание методов

ActivateNos() публичный Метод

Activate Nos
public ActivateNos ( EntityCache target ) : void
target EntityCache
Результат void

ActivateStasisWeb() публичный Метод

Activate StasisWeb
public ActivateStasisWeb ( EntityCache target ) : void
target EntityCache
Результат void

ActivateTargetPainters() публичный Метод

Activate target painters
public ActivateTargetPainters ( EntityCache target ) : void
target EntityCache
Результат void

CanActivate() публичный Метод

Returns true if it can activate the weapon on the target
The idea behind this function is that a target that explodes isnt being fired on within 5 seconds
public CanActivate ( Questor.Modules.ModuleCache module, EntityCache entity, bool isWeapon ) : bool
module Questor.Modules.ModuleCache
entity EntityCache
isWeapon bool
Результат bool

ProcessState() публичный Метод

public ProcessState ( ) : void
Результат void

ReloadAmmo() публичный Метод

Reload correct (tm) ammo for the NPC
public ReloadAmmo ( Questor.Modules.ModuleCache weapon, EntityCache entity ) : bool
weapon Questor.Modules.ModuleCache
entity EntityCache
Результат bool

ReloadEnergyWeaponAmmo() публичный Метод

public ReloadEnergyWeaponAmmo ( Questor.Modules.ModuleCache weapon, EntityCache entity ) : bool
weapon Questor.Modules.ModuleCache
entity EntityCache
Результат bool

ReloadNormalAmmo() публичный Метод

Reload correct (tm) ammo for the NPC
public ReloadNormalAmmo ( Questor.Modules.ModuleCache weapon, EntityCache entity ) : bool
weapon Questor.Modules.ModuleCache
entity EntityCache
Результат bool