NAME
WWW::ARDB::Result::Quest - Quest result object for WWW::ARDB
VERSION
version 0.002
SYNOPSIS
my $quest = $api->quest('picking_up_the_pieces');
print $quest->title; # "Picking Up The Pieces"
print $quest->trader_name; # "Shani"
print $quest->trader_type; # "Security"
for my $step (@{$quest->steps}) {
printf "- %s (x%d)\n", $step->{title}, $step->{amount};
}
DESCRIPTION
Result object representing a quest from the ARC Raiders Database. Created via WWW::ARDB methods like quests() and quest().
id
String. Unique identifier for the quest (e.g., picking_up_the_pieces).
title
String. Quest title.
description
String or undef. Quest description or narrative text.
maps
ArrayRef of HashRefs. Available maps/locations for this quest.
steps
ArrayRef of HashRefs. Quest objectives, each with title and amount.
trader
HashRef or undef. Quest giver information including id, name, type, description, image, icon.
required_items
ArrayRef of HashRefs. Items needed to complete the quest.
rewards
ArrayRef of HashRefs. Quest completion rewards. Only populated for detail endpoint (quest($id)).
xp_reward
Number or undef. Experience points awarded for completing the quest.
updated_at
String or undef. ISO 8601 timestamp of last update.
from_hashref
my $quest = WWW::ARDB::Result::Quest->from_hashref($data);
Class method. Constructs a Quest object from API response data (HashRef).
trader_name
my $name = $quest->trader_name;
Returns the quest giver's name, or undef if no trader is set.
trader_type
my $type = $quest->trader_type;
Returns the quest giver's type/profession (e.g., Security), or undef if no trader is set.
map_names
my $names = $quest->map_names;
Returns an ArrayRef of map names where the quest is available.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-ardb/issues.
IRC
You can reach Getty on irc.perl.org for questions and support.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.