| 277 | } |
| 278 | |
| 279 | void ShootProjectileApiHelper::SetVector(char const * prop, glm::vec3 const & value) |
| 280 | { |
| 281 | if (strcmp(prop, "SourcePosition") == 0) { |
| 282 | Helper.StartPosition = value; |
| 283 | HasStartPosition = true; |
| 284 | } |
| 285 | else if (strcmp(prop, "TargetPosition") == 0) { |
| 286 | Helper.EndPosition = value; |
| 287 | HasEndPosition = true; |
| 288 | } |
| 289 | else { |
| 290 | OsiError("Unknown vector3 property '" << prop << "'"); |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | void ShootProjectileApiHelper::SetString(char const * prop, char const * value) |
| 295 | { |
nothing calls this directly
no outgoing calls
no test coverage detected