feature: added lua codec parameter to awg

This commit is contained in:
vladimir.kuznetsov 2025-02-23 12:21:49 +07:00
parent 0bca78eca9
commit d241c82500
15 changed files with 55 additions and 4 deletions

View file

@ -32,6 +32,7 @@ struct AwgConfig
QString serverResponsePacketMagicHeader;
QString serverUnderloadPacketMagicHeader;
QString serverTransportPacketMagicHeader;
QString serverLuaCodec;
bool hasEqualServerSettings(const AwgConfig &other) const;
bool hasEqualClientSettings(const AwgConfig &other) const;
@ -60,7 +61,8 @@ public:
ServerInitPacketMagicHeaderRole,
ServerResponsePacketMagicHeaderRole,
ServerUnderloadPacketMagicHeaderRole,
ServerTransportPacketMagicHeaderRole
ServerTransportPacketMagicHeaderRole,
ServerLuaCodecRole
};
explicit AwgConfigModel(QObject *parent = nullptr);