From 9cb2b18288866208a08661e2bd551648cae6b10b Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Tue, 8 Nov 2016 16:16:19 +0200 Subject: [PATCH] implemented ClientVACBanStatus message --- steam/core/msg.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/steam/core/msg.py b/steam/core/msg.py index d755cf0..5afafa6 100644 --- a/steam/core/msg.py +++ b/steam/core/msg.py @@ -141,6 +141,8 @@ class Msg(object): self.body = ChannelEncryptResult(data) elif msg == EMsg.ClientLogOnResponse: self.body = ClientLogOnResponse(data) + elif msg == EMsg.ClientVACBanStatus: + self.body = ClientVACBanStatus(data) elif msg == EMsg.ClientChatMsg: self.body = ClientChatMsg(data) elif msg == EMsg.ClientJoinChat: @@ -418,6 +420,22 @@ class ClientLogOnResponse: def __str__(self): return "eresult: %s" % repr(self.eresult) +class ClientVACBanStatus: + numBans = 0 + + def __init__(self, data=None): + if data: self.load(data) + + def serialize(self): + return struct.pack("