MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetInt

Method SetInt

Source/Scripting/scriptparams.cpp:433–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433void ScriptParam::SetInt(int val) {
434 type_ = INT;
435 i_val_ = val;
436 editor_.SetTextField();
437}
438
439void ScriptParam::SetFloat(float val) {
440 type_ = FLOAT;

Callers 5

ExecuteMethod · 0.45
DrawImGuiFunction · 0.45
ASSetIntMethod · 0.45
ASAddIntMethod · 0.45

Calls 1

SetTextFieldMethod · 0.80

Tested by

no test coverage detected