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

Method AddTo

engine/Poseidon/AI/AIRadioImpl.cpp:802–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800}
801
802void RadioMessageState::AddTo(AIUnit* unit)
803{
804 AI_ERROR(!IsTo(unit));
805 _to.Add(unit);
806}
807
808bool RadioMessageState::IsToSomeone() const
809{

Callers 5

SendBehaviourMethod · 0.80
SendLooseFormationMethod · 0.80
SendOpenFireMethod · 0.80
SendTargetMethod · 0.80
SendStateMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected