Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ getRace
Method
getRace
bwapi/BWAPIClient/Source/PlayerImpl.cpp:23–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
return std::string(self->name);
22
}
23
Race PlayerImpl::getRace() const
24
{
25
return Race(self->race);
26
}
27
PlayerType PlayerImpl::getType() const
28
{
29
return PlayerType(self->type);
Callers
nothing calls this directly
Calls
1
Race
Class · 0.50
Tested by
no test coverage detected