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

Method ObjectTyped

engine/Poseidon/Graphics/Rendering/Draw/RandomShape.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6using namespace Poseidon;
7ObjectTyped::ObjectTyped(LODShapeWithShadow* shape, const EntityType* type, int id)
8 : base(shape, id), _type(const_cast<EntityType*>(type))
9{
10 _type->VehicleAddRef();
11}
12
13ObjectTyped::~ObjectTyped()
14{

Callers

nothing calls this directly

Calls 1

VehicleAddRefMethod · 0.80

Tested by

no test coverage detected