ビットマップの配列を SmartFoxServer2X に送信するのを手伝ってくれる人はいますか? ドキュメントがあることは知っていますが、プログラミングは初めてで、この問題を解決する方法がわかりません。クライアント側では JavaScript を使用しており、この配列をサーバーに送信したいと考えています。
var params = {n1:this.cubes1to20_arr};
this.sfs.addEventListener(SFS2X.SFSEvent.EXTENSION_RESPONSE, this.onExtensionResponse,this);
this.sfs.send(new SFS2X.Requests.System.ExtensionRequest("upload_cubes",params));
私が言ったようにthis.cubes1to20_arr
、20個のビットマップを持つ配列です。サーバーにリクエストを送信しようとすると、エラーが発生します
> `[INFO] OUTGOING DATA
p: [Object]
p: [Object]
n1: [Array]
19: [Bitmap (name=null)] (Unsupported)
18: [Bitmap (name=null)] (Unsupported)
17: [Bitmap (name=null)] (Unsupported)
16: [Bitmap (name=null)] (Unsupported)
15: [Bitmap (name=null)] (Unsupported)
14: [Bitmap (name=null)] (Unsupported)
13: [Bitmap (name=null)] (Unsupported)
12: [Bitmap (name=null)] (Unsupported)
11: [Bitmap (name=null)] (Unsupported)
10: [Bitmap (name=null)] (Unsupported)
9: [Bitmap (name=null)] (Unsupported)
8: [Bitmap (name=null)] (Unsupported)
7: [Bitmap (name=null)] (Unsupported)
6: [Bitmap (name=null)] (Unsupported)
5: [Bitmap (name=null)] (Unsupported)
4: [Bitmap (name=null)] (Unsupported)
3: [Bitmap (name=null)] (Unsupported)
2: [Bitmap (name=null)] (Unsupported)
1: [Bitmap (name=null)] (Unsupported)
0: [Bitmap (name=null)] (Unsupported)
r: -1 (Num)
c: upload_cubes (Str)
c: 1 (Num)
a: 13 (Num)`
そのため、byteArray を作成してサーバーに送信する必要があると思います。どうすればこれを実現できるか分かりますか?
助けてくれてありがとう!