| 421 | } |
| 422 | |
| 423 | std::optional<float*> RPGStats::GetFloat(int attributeId) |
| 424 | { |
| 425 | if (attributeId > 0) { |
| 426 | return &Floats[attributeId]; |
| 427 | } else { |
| 428 | return {}; |
| 429 | } |
| 430 | } |
| 431 | |
| 432 | float* RPGStats::GetOrCreateFloat(int& attributeId) |
| 433 | { |
nothing calls this directly
no outgoing calls
no test coverage detected