MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ffGetValue

Method ffGetValue

ogsr_engine/xrGame/ef_primary.cpp:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82float CDistanceFunction::ffGetValue()
83{
84 if (ef_storage().non_alife().member())
85 return (ef_storage().non_alife().member()->Position().distance_to(ef_storage().non_alife().enemy()->Position()));
86 else
87 return (ef_storage().alife().member()->base()->Position().distance_to(ef_storage().alife().enemy()->base()->Position()));
88}
89
90float CPersonalHealthFunction::ffGetValue()
91{

Callers 5

evaluateMethod · 0.45
choose_weaponMethod · 0.45
evaluateMethod · 0.45
update_best_item_infoMethod · 0.45

Calls 15

PositionMethod · 0.80
GetfHealthMethod · 0.80
TotalWeightMethod · 0.80
vertex_typeMethod · 0.80
ffGetMaxResultValueMethod · 0.80
memberMethod · 0.45
distance_toMethod · 0.45
baseMethod · 0.45
GetMaxHealthMethod · 0.45
ef_creature_typeMethod · 0.45
natural_weaponMethod · 0.45

Tested by

no test coverage detected