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

Method HasID

engine/Poseidon/Network/NetworkMisc.cpp:622–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620 }
621 if (n2)
622 {
623 int max2Votes = 0;
624 for (int i = 0; i < votes.Size(); i++)
625 {
626 if (votes[i] > max2Votes && values[i] != best)
627 {
628 max2Votes = votes[i];
629 }
630 }
631 *n2 = max2Votes;
632 }

Callers 1

AddMethod · 0.80

Calls 2

SizeMethod · 0.45
DataMethod · 0.45

Tested by

no test coverage detected