更改内存写入
This commit is contained in:
parent
287c9b098e
commit
5cbf9f7b74
|
|
@ -268,6 +268,7 @@ Gm_InputFunc_Handle["test"] <- function(SUser, CmdString) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Timer.SetTimeOut(function ()
|
Timer.SetTimeOut(function ()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -85,11 +85,7 @@ class NativePointer extends Base_C_Object {
|
||||||
function write(value, type) {
|
function write(value, type) {
|
||||||
local Buf = blob(0);
|
local Buf = blob(0);
|
||||||
Buf.writen(value, type);
|
Buf.writen(value, type);
|
||||||
local arr = array(Buf.len());
|
Sq_Memory_WriteBlob(this.C_Object, Buf);
|
||||||
for (local i = 0; i< Buf.len(); i++) {
|
|
||||||
arr[i] = Buf[i];
|
|
||||||
}
|
|
||||||
writeByteArray(arr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function writeS8(value) {
|
function writeS8(value) {
|
||||||
|
|
|
||||||
|
|
@ -1054,6 +1054,7 @@ class ServerControl {
|
||||||
queId = args[1],
|
queId = args[1],
|
||||||
op = 25001041
|
op = 25001041
|
||||||
}
|
}
|
||||||
|
print(Jso);
|
||||||
Socket.SendGateway(Jso);
|
Socket.SendGateway(Jso);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
BIN
lib/libAurora.so
BIN
lib/libAurora.so
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue