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

Method SetUnit

engine/Poseidon/AI/AIGroup.cpp:685–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683}
684
685void AIGroup::SetUnit(int index, AIUnit* unit)
686{
687 // low level function used for network transfer
688 // !!! avoid another using
689 _units[index] = unit;
690 InitUnitSlot(index);
691}
692
693int AIGroup::NSoldiers() const
694{

Callers 1

CreateObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected