更改内存写入
This commit is contained in:
@@ -85,11 +85,7 @@ class NativePointer extends Base_C_Object {
|
||||
function write(value, type) {
|
||||
local Buf = blob(0);
|
||||
Buf.writen(value, type);
|
||||
local arr = array(Buf.len());
|
||||
for (local i = 0; i< Buf.len(); i++) {
|
||||
arr[i] = Buf[i];
|
||||
}
|
||||
writeByteArray(arr);
|
||||
Sq_Memory_WriteBlob(this.C_Object, Buf);
|
||||
}
|
||||
|
||||
function writeS8(value) {
|
||||
|
||||
@@ -1054,6 +1054,7 @@ class ServerControl {
|
||||
queId = args[1],
|
||||
op = 25001041
|
||||
}
|
||||
print(Jso);
|
||||
Socket.SendGateway(Jso);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user