mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-03-30 07:31:56 +00:00
20 lines
400 B
Haxe
20 lines
400 B
Haxe
package dts;
|
|
|
|
import dif.io.BytesReader;
|
|
|
|
@:publicFields
|
|
class KeyFrame {
|
|
var firstNodeState:Int;
|
|
var firstObjectState:Int;
|
|
var firstDecalState:Int;
|
|
|
|
public function new() {}
|
|
|
|
public static function read(reader:BytesReader) {
|
|
var k = new KeyFrame();
|
|
k.firstNodeState = reader.readInt32();
|
|
k.firstObjectState = reader.readInt32();
|
|
k.firstDecalState = reader.readInt32();
|
|
return k;
|
|
}
|
|
}
|