Update more bitstream imports

This commit is contained in:
lcdr 2019-08-21 12:43:31 +02:00
parent 31b17377de
commit de3dcdf1ff
4 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ from tkinter import BooleanVar, END, Menu
import amf3 import amf3
import viewer import viewer
import ldf import ldf
from bitstream import c_bit, c_bool, c_float, c_int, c_int64, c_ubyte, c_uint, c_uint64, c_ushort, ReadStream
from structparser import StructParser from structparser import StructParser
from pyraknet.bitstream import c_bit, c_bool, c_float, c_int, c_int64, c_ubyte, c_uint, c_uint64, c_ushort, ReadStream
component_name = OrderedDict() component_name = OrderedDict()
component_name[108] = "Component 108", component_name[108] = "Component 108",

View File

@ -7,7 +7,7 @@ import struct
import tkinter.filedialog as filedialog import tkinter.filedialog as filedialog
import extractor import extractor
from pyraknet.bitstream import ReadStream, UnsignedIntStruct from bitstream import ReadStream, UnsignedIntStruct
class be_ushort(UnsignedIntStruct): class be_ushort(UnsignedIntStruct):
_struct = struct.Struct(">H") _struct = struct.Struct(">H")

View File

@ -9,7 +9,7 @@ import tkinter.messagebox as messagebox
from tkinter import END from tkinter import END
import viewer import viewer
from pyraknet.bitstream import c_bool, c_float, c_int, c_int64, c_ubyte, c_uint, c_uint64, c_ushort, ReadStream from bitstream import c_bool, c_float, c_int, c_int64, c_ubyte, c_uint, c_uint64, c_ushort, ReadStream
class PathType(enum.IntEnum): class PathType(enum.IntEnum):
Movement = 0 Movement = 0

View File

@ -6,7 +6,7 @@ import tkinter.filedialog as filedialog
import decompress_sd0 import decompress_sd0
import extractor import extractor
from pyraknet.bitstream import c_bool, c_int, c_ubyte, c_uint, ReadStream from bitstream import c_bool, c_int, c_ubyte, c_uint, ReadStream
class PKExtractor(extractor.Extractor): class PKExtractor(extractor.Extractor):
def askopener(self): def askopener(self):