I get all data sent from the server, I just don’t get the opcode
my client code:
socket.on_match_data(Constants.SOCKET_CONNECTION, function(message)
print('opcode', message.match_data.op_code) ---> nil
print('match_data', json.encode(message.match_data))
end
server:
dispatcher.broadcast_message(opcode, nk.json_encode(data), nil, message.sender)