MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / MultiDoRequestTypeIcon

Function MultiDoRequestTypeIcon

Descent3/multi.cpp:8379–8387  ·  view source on GitHub ↗

process a request by a client that he is [not] typing a message

Source from the content-addressed store, hash-verified

8377
8378// process a request by a client that he is [not] typing a message
8379void MultiDoRequestTypeIcon(uint8_t *data) {
8380 int count = 0;
8381 SKIP_HEADER(data, &count);
8382
8383 int pnum = MultiGetByte(data, &count);
8384 bool typing = (MultiGetByte(data, &count)) ? true : false;
8385
8386 MultiSendTypeIcon(pnum, typing);
8387}
8388
8389// Client is telling the server that he is [not] typing a hud message
8390void MultiSendRequestTypeIcon(bool typing_message) {

Callers 2

MultiSendRequestTypeIconFunction · 0.85
MultiProcessDataFunction · 0.85

Calls 3

SKIP_HEADERFunction · 0.85
MultiGetByteFunction · 0.85
MultiSendTypeIconFunction · 0.85

Tested by

no test coverage detected