NAME

WWW::MetaForge::ArcRaiders::Result::Arc - Arc (mission/event) result object

VERSION

version 0.002

SYNOPSIS

my $arcs = $api->arcs(includeLoot => 'true');
for my $arc (@$arcs) {
    say $arc->name . " on " . join(", ", $arc->maps->@*);
}

DESCRIPTION

Represents an ARC (mission/event) from the ARC Raiders game.

id

Arc identifier.

name

Arc name.

type

Arc type (e.g., "MajorEvent", "MinorEvent").

description

Arc description text.

maps

ArrayRef of map names where this arc occurs.

duration

Duration in seconds.

cooldown

Cooldown between occurrences in seconds.

loot

ArrayRef of loot drops: [{ item = "Name", chance => 0.15 }]>.

xp_reward

Experience points reward.

coin_reward

Coin reward.

last_updated

ISO timestamp of last data update.

from_hashref

my $arc = WWW::MetaForge::ArcRaiders::Result::Arc->from_hashref(\%data);

Construct from API response. Handles both map and maps fields.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-metaforge/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.