LNXSDK/Kha/Sources/kha/netsync/Controller.hx

23 lines
423 B
Haxe
Raw Permalink Normal View History

2025-01-22 16:18:30 +01:00
package kha.netsync;
import haxe.io.Bytes;
@:autoBuild(kha.netsync.ControllerBuilder.build())
class Controller {
var __id: Int;
public var _inputBufferIndex: Int;
public var _inputBuffer: Bytes;
public function new() {
__id = ControllerBuilder.nextId++;
_inputBuffer = Bytes.alloc(1);
}
public function _id(): Int {
return __id;
}
public function _receive(bytes: Bytes): Void {}
}