From 921096c3dd19c68c1045e3119600364b69de5af7 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 6 Jun 2015 22:34:50 +0300 Subject: [PATCH] Add CSGO constant --- lib/WWW/BackpackTF.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/WWW/BackpackTF.pm b/lib/WWW/BackpackTF.pm index 7f485d6..af3511f 100644 --- a/lib/WWW/BackpackTF.pm +++ b/lib/WWW/BackpackTF.pm @@ -10,6 +10,7 @@ our @EXPORT_OK = qw/TF2 DOTA2/; use constant +{ TF2 => 440, DOTA2 => 570, + CSGO => 730, QUALITIES => [qw/Normal Genuine rarity2 Vintage rarity3 Unusual Unique Community Valve Self-Made Customized Strange Completed Haunted Collector's/], }; @@ -89,7 +90,7 @@ WWW::BackpackTF - interface to the backpack.tf trading service =head1 DESCRIPTION -WWW::BackpackTF is an interface to the backpack.tf Team Fortress 2/Dota 2 trading service. +WWW::BackpackTF is an interface to the backpack.tf Team Fortress 2/Dota 2/Counter-Strike: Global Offensive trading service. =head2 METHODS @@ -139,6 +140,10 @@ Constant (440) representing Team Fortress 2. Constant (570) representing Dota 2. +=item B + +Constant (730) representing Counter-Strike: Global Offensive + =item B The Normal item quality (0). -- 2.30.2