NAME

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

VERSION

version 0.001

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.

ATTRIBUTES

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.

METHODS

from_hashref

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

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

SUPPORT

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/Getty/p5-www-metaforge

git clone https://github.com/Getty/p5-www-metaforge.git

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.