MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / FindTargetInfo

Method FindTargetInfo

engine/Poseidon/AI/AICenterImpl.cpp:526–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524 return -1;
525}
526
527const AITargetInfo* AICenter::FindTargetInfo(TargetType* id) const
528{
529 int index;
530 index = FindTargetIndex(id);
531 if (index < 0)
532 {
533 return nullptr;
534 }
535 return &_targets[index];
536}
537
538AITargetInfo* AICenter::FindTargetInfo(TargetType* id)

Callers 9

GetWaypointPositionFunction · 0.80
GetTalkTargetFunction · 0.80
PrepareSentenceMethod · 0.80
CreateTargetListMethod · 0.80
AssignTargetsMethod · 0.80
CheckAttackInitFunction · 0.80
CheckAttackAttackFunction · 0.80
DrawLabelMethod · 0.80
ListCountSideHFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected