Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
        public void TargetLocation(CursorId cursorId, Location3D location, ModelId tileType, CursorType cursorType)
        {
            TargetLocationRequest targetRequest = new TargetLocationRequest(cursorId, location, tileType, cursorType);

            Send(targetRequest.RawPacket);
        }
Ejemplo n.º 4
0
        public void TargetCursor(CursorTarget location, CursorId cursorId, CursorType type)
        {
            TargetCursorPacket packet = new TargetCursorPacket(location, cursorId, type);

            Send(packet.RawPacket);
        }
Ejemplo n.º 5
0
        public void CancelTarget(CursorId cursorId)
        {
            var targetRequest = new TargetLocationRequest(cursorId, 0, CursorType.Harmful, new Location3D(0xFFFF, 0xFFFF, 0), 0);

            Send(targetRequest.RawPacket);
        }