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

Function ProjectileSetInt

OsiInterface/Functions/ProjectileFunctions.cpp:33–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 }
32
33 void ProjectileSetInt(OsiArgumentDesc const & args)
34 {
35 auto prop = args[0].String;
36 auto value = args[1].Int32;
37
38 if (!ProjectileHelper) {
39 OsiError("Called when no projectile is active!");
40 return;
41 }
42
43 ProjectileHelper->SetInt(prop, value);
44 }
45
46 void ProjectileSetString(OsiArgumentDesc const & args)
47 {

Callers

nothing calls this directly

Calls 1

SetIntMethod · 0.45

Tested by

no test coverage detected