[mod] re-build lua (I need to get rid of the lua code and keep at as generated...
This commit is contained in:
parent
0216d068c5
commit
6fa5c3f488
1 changed files with 4 additions and 2 deletions
|
|
@ -15,8 +15,10 @@ function KafkatorioPacketEmitter.prototype.emitKeyedPacket(self, data)
|
||||||
end
|
end
|
||||||
function KafkatorioPacketEmitter.emitPacket(self, packet)
|
function KafkatorioPacketEmitter.emitPacket(self, packet)
|
||||||
local data = game.table_to_json(packet)
|
local data = game.table_to_json(packet)
|
||||||
local encoded = game.encode_string(data)
|
local encodedData = game.encode_string(data)
|
||||||
print("KafkatorioPacket encoded::: " .. tostring(encoded))
|
if encodedData ~= nil then
|
||||||
|
print("KafkatorioPacket encoded::: " .. encodedData)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
local PacketEmitter = __TS__New(____exports.KafkatorioPacketEmitter)
|
local PacketEmitter = __TS__New(____exports.KafkatorioPacketEmitter)
|
||||||
____exports.default = PacketEmitter
|
____exports.default = PacketEmitter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue