Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
802
void RadioMessageState::AddTo(AIUnit* unit)
803
{
804
AI_ERROR(!IsTo(unit));
805
_to.Add(unit);
806
}
807
808
bool RadioMessageState::IsToSomeone() const
809
{
Callers
5
SendBehaviour
Method · 0.80
SendLooseFormation
Method · 0.80
SendOpenFire
Method · 0.80
SendTarget
Method · 0.80
SendState
Method · 0.80
Calls
1
Add
Method · 0.45
Tested by
no test coverage detected