MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / OnMessage

Method OnMessage

extensions/olcPGEX_Network.h:1005–1008  ·  view source on GitHub ↗

Called when a message arrives

Source from the content-addressed store, hash-verified

1003
1004 // Called when a message arrives
1005 virtual void OnMessage(std::shared_ptr<connection<T>> client, message<T>& msg)
1006 {
1007
1008 }
1009
1010 public:
1011 // Called when a client is validated

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected