forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
9
Kha/Sources/kha/netsync/Network.hx
Normal file
9
Kha/Sources/kha/netsync/Network.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package kha.netsync;
|
||||
|
||||
import haxe.io.Bytes;
|
||||
|
||||
extern class Network {
|
||||
public function new(url: String, port: Int, errorCallback: Void->Void, closeCallback: Void->Void);
|
||||
public function send(bytes: Bytes, mandatory: Bool): Void;
|
||||
public function listen(listener: Bytes->Void): Void;
|
||||
}
|
Reference in New Issue
Block a user