【文件属性】:
文件名称:soccerbowl:足球碗回购
文件大小:44KB
文件格式:ZIP
更新时间:2021-05-24 17:34:36
JavaScript
足球碗
服务器API
Soccerbowl使用Socket.IO连接发送命令。
API命令
客户端=>服务器
请求照片
客户要求其他客户提供照片。 每个到达的照片都会调用回调函数。
参数:
- Nothing
返回值:
- Nothing
SetPixelIndex
表示客户端应设置一个像素
参数:
- Integer index
- Color color
- Byte red
- Byte green
- Byte blue
返回值:
- Nothing
充满
客户用一种颜色填充了完整的视口
参数:
- Color color
- Byte red
- Byte green
- Byte blue
返回值:
- Nothing
获取矩阵
一次发送整个矩阵
参数:
- Nothing
返回值:
- Ar
【文件预览】:
soccerbowl-master
----nodejs()
--------public()
--------soccerbowl.js(2KB)
--------package.json(471B)
----README.md(2KB)
----testbild.jpg(33KB)
----python()
--------soccerbowl(3KB)