forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
29
Kha/Sources/kha/netsync/LocalClient.hx
Normal file
29
Kha/Sources/kha/netsync/LocalClient.hx
Normal file
@ -0,0 +1,29 @@
|
||||
package kha.netsync;
|
||||
|
||||
import haxe.io.Bytes;
|
||||
|
||||
class LocalClient implements Client {
|
||||
var myId: Int;
|
||||
|
||||
public function new(id: Int) {
|
||||
myId = id;
|
||||
}
|
||||
|
||||
public function send(bytes: Bytes, mandatory: Bool): Void {}
|
||||
|
||||
public function receive(receiver: Bytes->Void): Void {}
|
||||
|
||||
public function onClose(close: Void->Void): Void {}
|
||||
|
||||
public var controllers(get, null): Array<Controller>;
|
||||
|
||||
function get_controllers(): Array<Controller> {
|
||||
return null;
|
||||
}
|
||||
|
||||
public var id(get, null): Int;
|
||||
|
||||
function get_id(): Int {
|
||||
return myId;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user