MCPcopy Create free account
hub / github.com/Norbyte/ositools / ProjectilePrepareLaunch

Function ProjectilePrepareLaunch

OsiInterface/Functions/ProjectileFunctions.cpp:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 std::unique_ptr<ShootProjectileApiHelper> ProjectileHelper;
10
11 void ProjectilePrepareLaunch(OsiArgumentDesc const & args)
12 {
13 if (ProjectileHelper) {
14 OsiWarn("Destroying active ProjectileHelper?");
15 }
16
17 ProjectileHelper = std::make_unique<ShootProjectileApiHelper>();
18 }
19
20 void ProjectileLaunch(OsiArgumentDesc const & args)
21 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected