MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / isSkillPending

Method isSkillPending

source/game/Seat.cpp:1320–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1318}
1319
1320uint32_t Seat::isSkillPending(SkillType skillType) const
1321{
1322 uint32_t queueNumber = 1;
1323 for (SkillType pending : mSkillPending)
1324 {
1325 if (pending == skillType)
1326 return queueNumber;
1327 ++queueNumber;
1328 }
1329 return 0;
1330}
1331
1332SkillType Seat::getFirstSkillPending() const
1333{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected