Update the bitstream imports

This commit is contained in:
lcdr 2019-05-17 11:46:00 +02:00
parent 2517d05c5e
commit dfd67c59de
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
from pyraknet.bitstream import c_double, c_ubyte
from bitstream import c_double, c_ubyte
UNDEFINED_MARKER = 0
FALSE_MARKER = 2

2
ldf.py
View File

@ -1,4 +1,4 @@
from pyraknet.bitstream import c_bool, c_float, c_int, c_int64, c_ubyte, c_uint, ReadStream
from bitstream import c_bool, c_float, c_int, c_int64, c_ubyte, c_uint, ReadStream
def from_ldf(ldf):
ldf_dict = {}

View File

@ -5,7 +5,7 @@ import argparse
import re
from collections import namedtuple
from pyraknet.bitstream import c_bit, c_float, c_double, c_int8, c_uint8, c_int16, c_uint16, c_int32, c_uint32, c_int64, c_uint64, ReadStream
from bitstream import c_bit, c_float, c_double, c_int8, c_uint8, c_int16, c_uint16, c_int32, c_uint32, c_int64, c_uint64, ReadStream
VAR_CHARS = r"[^ \t\[\]]+"