#

Description
- King of War - Send Bullet Screen
Command Payload
| Parameter |
Required |
Type |
Description |
| opcode |
Yes |
string |
Command opcode, set to 2 for sending bullet screens |
| payload |
Yes |
PayloadInfo |
Operation payload |
| Parameter |
Required |
Type |
Description |
| content_code |
Yes |
int32 |
Bullet screen content code (values are as follows) |
| user_info |
Yes |
UserInfo |
User information |
| Parameter |
Required |
Type |
Description |
| uid |
Yes |
string |
User ID |
| nick_name |
Yes |
string |
User nickname |
| avatar_url |
Yes |
string |
User avatar |
| gender |
Yes |
string |
User gender (male/female/secret) |
King of War Bullet Screen Content Codes
| Content Code |
Value |
| 6 |
Join the red team or summon bullet screen warcraft |
| 8 |
Join the blue team or summon bullet screen warcraft |
| 101 |
Switch warcraft route to top lane in "Canyon Mode" |
| 102 |
Switch warcraft route to middle lane in "Canyon Mode" |
| 103 |
Switch warcraft route to bottom lane in "Canyon Mode" |
| 104 |
Send all warcraft back to base in "Canyon Mode" |
Complete Request Example
{
"mg_id": "1554721242510114817",
"anchor_id": "69001",
"command": {
"opcode": "2",
"payload": {
"content_code": 6,
"user_info": {
"uid": "1",
"nick_name": "xxx",
"avatar_url": "xxx",
"gender": "male"
}
}
}
}