Skip to content

Commit

Permalink
Update Chunks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Captian-obvious authored Dec 4, 2023
1 parent 94e7d19 commit 8874c11
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Chunks.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def PROP(chunk, rbxm):
properties[i-1]={"x":x,"y":y,"z":z}
##end
elif (typeID==0x10):
#CFrame
matricies=createTable(sizeof)
for i in range(sizeof):
rawOrientation=ord(buffer.read())
Expand All @@ -198,6 +199,7 @@ def PROP(chunk, rbxm):
##endif
##end
elif (typeID=0x11):
#QUATERNIONS
quaternions=[]
for i in range(sizeof):
quaternions.append({
Expand All @@ -221,6 +223,11 @@ def PROP(chunk, rbxm):
elif (typeID==0x13):
#Ref
properties=basicTypes.RefArray(buffer, sizeof)
elif (typeID==0x14):
#Vector3int16
for i in range(sizeof):
properties[i-1]=[buffer.readNumber("<i2"),buffer.readNumber("<i2"),buffer.readNumber("<i2")]
##end
##endif
##end
def SSTR(chunk, rbxm):
Expand Down

0 comments on commit 8874c11

Please sign in to comment.