forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
22
Kha/Sources/kha/netsync/Controller.hx
Normal file
22
Kha/Sources/kha/netsync/Controller.hx
Normal file
@ -0,0 +1,22 @@
|
||||
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 {}
|
||||
}
|
Reference in New Issue
Block a user