MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / GetDefaultBulletType

Method GetDefaultBulletType

src/Ext/BulletType/Body.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12BulletTypeClass* BulletTypeExt::GetDefaultBulletType()
13{
14 BulletTypeClass* pType = BulletTypeClass::Find(NONE_STR);
15
16 if (pType)
17 return pType;
18
19 return GameCreate<BulletTypeClass>(NONE_STR);
20}
21
22// =============================
23// load / save

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected