MCPcopy Create free account
hub / github.com/KikoPlayProject/KikoPlay / state

Method state

Extension/Modules/lua_appnet.cpp:585–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583}
584
585int WebSocketData::state(lua_State *L)
586{
587 WebSocketData *d = checkItem(L, 1);
588 if (!d || !d->websocket) return 0;
589 lua_pushinteger(L, static_cast<int>(d->websocket->state()));
590 return 1;
591}
592
593int WebSocketData::error(lua_State *L)
594{

Callers 6

wheelEventMethod · 0.80
showMessageMethod · 0.80
eventFilterMethod · 0.80
setBlurAnimationMethod · 0.80
jquery.min.jsFile · 0.80
startMethod · 0.80

Calls 1

lua_pushintegerFunction · 0.85

Tested by

no test coverage detected