diff --git a/zone/eqemu_api_zone_data_service.cpp b/zone/eqemu_api_zone_data_service.cpp index b1fd2a2d2..7dff0db2a 100644 --- a/zone/eqemu_api_zone_data_service.cpp +++ b/zone/eqemu_api_zone_data_service.cpp @@ -719,6 +719,16 @@ void callGetPacketStatistics(Json::Value &response) } } + +void callGetOpcodeList(Json::Value &response) +{ + for (auto i = 0; i < _maxEmuOpcode; ++i) { + Json::Value row = OpcodeNames[i]; + + response.append(row); + } +} + void EQEmuApiZoneDataService::get(Json::Value &response, const std::vector &args) { std::string method = args[0]; @@ -734,6 +744,9 @@ void EQEmuApiZoneDataService::get(Json::Value &response, const std::vector