| 921 | } |
| 922 | |
| 923 | void CPE_SendNotifyPositionAction(int action, int x, int y, int z) { |
| 924 | cc_uint8 data[9]; |
| 925 | if (!Server.SupportsNotifyAction) return; |
| 926 | |
| 927 | data[0] = OPCODE_NOTIFY_POSITION_ACTION; |
| 928 | { |
| 929 | Stream_SetU16_BE(data + 1, action); |
| 930 | Stream_SetU16_BE(data + 3, x); |
| 931 | Stream_SetU16_BE(data + 5, y); |
| 932 | Stream_SetU16_BE(data + 7, z); |
| 933 | } |
| 934 | Server.SendData(data, 9); |
| 935 | } |
| 936 | |
| 937 | static void CPE_SendExtInfo(int extsCount) { |
| 938 | cc_uint8 data[67]; |
no test coverage detected