C# Class GameFramework.AiLogicUtility

Mostra file Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
GetHearstTargetHelper ( EntityInfo srcObj, float range, CharacterRelation relation, AiTargetType type ) : EntityInfo
GetLivingCharacterInfoHelper ( EntityInfo srcObj, int id ) : EntityInfo
GetNearstAttackerHelper ( EntityInfo srcObj, CharacterRelation relation, AiData_General aidata ) : EntityInfo
GetNearstTargetHelper ( EntityInfo srcObj, CharacterRelation relation ) : EntityInfo
GetNearstTargetHelper ( EntityInfo srcObj, CharacterRelation relation, AiTargetType type ) : EntityInfo
GetNearstTargetHelper ( EntityInfo srcObj, float range, CharacterRelation relation ) : EntityInfo
GetSeeingLivingCharacterInfoHelper ( EntityInfo srcObj, int id ) : EntityInfo

Private Methods

Method Description
CanSee ( EntityInfo src, EntityInfo target ) : bool
DoMoveCommandState ( EntityInfo entity, long deltaTime, AbstractAiStateLogic logic ) : void
DoPatrolCommandState ( EntityInfo entity, long deltaTime, AbstractAiStateLogic logic ) : void
DoPursuitCommandState ( EntityInfo entity, long deltaTime, AbstractAiStateLogic logic ) : void
DoSkillCommandState ( EntityInfo entity, long deltaTime, AbstractAiStateLogic logic, int skillId ) : void
GetAiDataForMoveCommand ( EntityInfo entity ) : AiData_ForMoveCommand
GetAiDataForPatrolCommand ( EntityInfo entity ) : AiData_ForPatrolCommand
MoveToNext ( EntityInfo charObj, AiData_ForMoveCommand data, System.Vector3 &targetPos ) : void
NpcFindCanUseSkill ( EntityInfo npc, AiData_General aidata, bool includeManualSkill ) : SkillInfo
StepCalcNearstTarget ( EntityInfo srcObj, CharacterRelation relation, AiTargetType type, float powDist, EntityInfo obj, float &minPowDist, EntityInfo &nearstTarget ) : void
WayPointArrived ( EntityInfo charObj, AiData_ForMoveCommand data ) : bool

Method Details

GetHearstTargetHelper() public static method

public static GetHearstTargetHelper ( EntityInfo srcObj, float range, CharacterRelation relation, AiTargetType type ) : EntityInfo
srcObj EntityInfo
range float
relation CharacterRelation
type AiTargetType
return EntityInfo

GetLivingCharacterInfoHelper() public static method

public static GetLivingCharacterInfoHelper ( EntityInfo srcObj, int id ) : EntityInfo
srcObj EntityInfo
id int
return EntityInfo

GetNearstAttackerHelper() public static method

public static GetNearstAttackerHelper ( EntityInfo srcObj, CharacterRelation relation, AiData_General aidata ) : EntityInfo
srcObj EntityInfo
relation CharacterRelation
aidata AiData_General
return EntityInfo

GetNearstTargetHelper() public static method

public static GetNearstTargetHelper ( EntityInfo srcObj, CharacterRelation relation ) : EntityInfo
srcObj EntityInfo
relation CharacterRelation
return EntityInfo

GetNearstTargetHelper() public static method

public static GetNearstTargetHelper ( EntityInfo srcObj, CharacterRelation relation, AiTargetType type ) : EntityInfo
srcObj EntityInfo
relation CharacterRelation
type AiTargetType
return EntityInfo

GetNearstTargetHelper() public static method

public static GetNearstTargetHelper ( EntityInfo srcObj, float range, CharacterRelation relation ) : EntityInfo
srcObj EntityInfo
range float
relation CharacterRelation
return EntityInfo

GetSeeingLivingCharacterInfoHelper() public static method

public static GetSeeingLivingCharacterInfoHelper ( EntityInfo srcObj, int id ) : EntityInfo
srcObj EntityInfo
id int
return EntityInfo