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

Method CreateInstance

src/Ext/Bullet/Trajectories/StraightTrajectory.cpp:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <Ext/WeaponType/Body.h>
4
5std::unique_ptr<PhobosTrajectory> StraightTrajectoryType::CreateInstance() const
6{
7 return std::make_unique<StraightTrajectory>(this);
8}
9
10template<typename T>
11void StraightTrajectoryType::Serialize(T& Stm)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected