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.
파일 보기 프로젝트 열기: rixim/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