MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / ErrorDecoder

Method ErrorDecoder

common/struct_strategy.cpp:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void StructStrategy::ErrorDecoder(EQApplicationPacket *p) {
50 LogNetcode("[STRUCTS] Error decoding opcode [{}]: no decoder provided. Invalidating", OpcodeManager::EmuToName(p->GetOpcode()));
51 p->SetOpcode(OP_Unknown);
52}
53
54void StructStrategy::PassEncoder(EQApplicationPacket **p, std::shared_ptr<EQStreamInterface> dest, bool ack_req) {
55 dest->FastQueuePacket(p, ack_req);

Callers

nothing calls this directly

Calls 2

GetOpcodeMethod · 0.45
SetOpcodeMethod · 0.45

Tested by

no test coverage detected