mirror of
https://github.com/FOSS-Supremacy/OpenLiberty.git
synced 2025-04-28 20:07:57 +03:00
19 lines
455 B
GDScript
19 lines
455 B
GDScript
class_name RWClump
|
|
extends RWChunk
|
|
|
|
var atomic_count: int
|
|
var light_count: int
|
|
var camera_count: int
|
|
var frame_list: RWFrameList
|
|
var geometry_list: RWGeometryList
|
|
|
|
func _init(file: FileAccess):
|
|
super(file)
|
|
assert(type == ChunkType.CLUMP)
|
|
RWChunk.new(file)
|
|
var atomic_count = file.get_32()
|
|
if version > 0x33000:
|
|
light_count = file.get_32()
|
|
camera_count = file.get_32()
|
|
frame_list = RWFrameList.new(file)
|
|
geometry_list = RWGeometryList.new(file)
|