Пример #1
0
        public void CancelTarget(CursorId lastCursorId, ObjectId itemId, Location3D location, ModelId type)
        {
            TargetLocationRequest cancelRequest = new TargetLocationRequest(lastCursorId, itemId, CursorType.Cancel, location,
                                                                            type);

            Send(cancelRequest.RawPacket);
        }
Пример #2
0
        public void TargetItem(CursorId cursorId, ObjectId itemId, CursorType cursorType, Location3D location,
                               ModelId type)
        {
            var targetRequest = new TargetLocationRequest(cursorId, itemId, CursorType.Harmful, location,
                                                          type);

            Send(targetRequest.RawPacket);
        }
Пример #3
0
        public void TargetLocation(CursorId cursorId, Location3D location, ModelId tileType, CursorType cursorType)
        {
            TargetLocationRequest targetRequest = new TargetLocationRequest(cursorId, location, tileType, cursorType);

            Send(targetRequest.RawPacket);
        }
Пример #4
0
        public void CancelTarget(CursorId cursorId)
        {
            var targetRequest = new TargetLocationRequest(cursorId, 0, CursorType.Harmful, new Location3D(0xFFFF, 0xFFFF, 0), 0);

            Send(targetRequest.RawPacket);
        }