Skip to content

Commit

Permalink
Update core.msg.headers to use steammessages_base instead of gc protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterPhoenix committed Feb 21, 2025
1 parent 77eeb98 commit 66da9a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions steam/core/msg/headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import struct
from steam.enums.emsg import EMsg
from steam.protobufs import steammessages_base_pb2
from steam.protobufs import gc_pb2
from steam.utils.proto import set_proto_bit, clear_proto_bit


Expand Down Expand Up @@ -142,7 +141,7 @@ class GCMsgHdrProto:
headerLength = 0

def __init__(self, msg, data=None):
self.proto = gc_pb2.CMsgProtoBufHeader()
self.proto = steammessages_base_pb2.CMsgProtoBufHeader()
self.msg = clear_proto_bit(msg)

if data:
Expand Down

0 comments on commit 66da9a0

Please sign in to comment.