MCPcopy Create free account
hub / github.com/cocos/cocos-engine / setEvent

Method setEvent

native/cocos/network/SocketIO.cpp:71–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 void setEndpoint(const ccstd::string &endpoint) { _endpoint = endpoint; };
70 const ccstd::string &getEndpoint() const { return _endpoint; };
71 void setEvent(const ccstd::string &event) { _name = event; };
72 const ccstd::string &getEvent() const { return _name; };
73
74 void addData(const ccstd::string &data);

Callers 1

emitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected