It is currently 24 May 2020, 22:42
   
Text Size

allCards vs commonCards

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, 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: 7529
Joined: 15 May 2010, 04:20
Has thanked: 242 times
Been thanked: 948 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 11 guests


Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: No registered users and 11 guests

Login Form