MCPcopy Create free account
hub / github.com/MyGUI/mygui / handleFlashCall

Method handleFlashCall

Plugins/Plugin_HikariWidget/FlashControl.cpp:310–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310void FlashControl::handleFlashCall(const std::wstring& xmlString)
311{
312 std::wstring funcName;
313 Arguments args;
314
315 if (!deserializeInvocation(xmlString, funcName, args))
316 return;
317
318 DelegateIter i = delegateMap.find(funcName);
319 if (i != delegateMap.end())
320 {
321 FlashValue retval = FlashValue();
322 i->second(mOwner, args, retval);
323 flashInterface->SetReturnValue(serializeValue(retval).c_str());
324 }
325}
326
327void FlashControl::update()
328{

Callers 1

FlashCallMethod · 0.80

Calls 6

deserializeInvocationFunction · 0.85
FlashValueClass · 0.85
serializeValueFunction · 0.85
findMethod · 0.45
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected