It is currently 19 Apr 2024, 03:37
   
Text Size

allCards vs commonCards

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

allCards vs commonCards

Postby ShivaFang » 19 Nov 2016, 20:59

Please, what is the difference between StaticData.getAllCards() and StaticData.getCommonCards()?

I have a theory that CommonCards only had cards from sets whereas AllCards includes promotional ones, but I'm having difficulty confirming that just by looking at it.
ShivaFang
 
Posts: 101
Joined: 25 Jun 2016, 01:15
Has thanked: 26 times
Been thanked: 3 times

Re: allCards vs commonCards

Postby friarsol » 20 Nov 2016, 02:52

CommonCards is normal card types (Creature Artifact etc) AllCards includes "odd" card types like Schemes Avatars etc.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 46 guests


Who is online

In total there are 46 users online :: 0 registered, 0 hidden and 46 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 46 guests

Login Form