MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetString

Method GetString

source/common/menu/menu.cpp:1204–1217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1202}
1203
1204bool DMenuItemBase::GetString(int i, char *s, int len)
1205{
1206 IFVIRTUAL(DMenuItemBase, GetString)
1207 {
1208 VMValue params[] = { (DObject*)this, i };
1209 int retval;
1210 FString retstr;
1211 VMReturn ret[2]; ret[0].IntAt(&retval); ret[1].StringAt(&retstr);
1212 VMCall(func, params, countof(params), ret, 2);
1213 strncpy(s, retstr.GetChars(), len);
1214 return !!retval;
1215 }
1216 return false;
1217}
1218
1219
1220bool DMenuItemBase::SetValue(int i, int value)

Callers 15

GetStrMemberFunction · 0.45
drawoverlaysFunction · 0.45
cheatMonstersFunction · 0.45
TriggerSecretFunction · 0.45
drawscreenFunction · 0.45
DoVatorMatchFunction · 0.45
DoRotatorMatchFunction · 0.45
DeathStringFunction · 0.45
CheckCheatModeMethod · 0.45
GenericCheatMethod · 0.45
MapCheatFunction · 0.45
WinPachinkoCheatFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected