Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ getType
Method
getType
bwapi/BWAPIClient/Source/PlayerImpl.cpp:27–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
return Race(self->race);
26
}
27
PlayerType PlayerImpl::getType() const
28
{
29
return PlayerType(self->type);
30
}
31
Force PlayerImpl::getForce() const
32
{
33
return Broodwar->getForce(self->force);
Callers
1
onMatchFrame
Method · 0.45
Calls
1
PlayerType
Class · 0.50
Tested by
no test coverage detected