It is currently 23 Aug 2019, 07:07
   
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: 7463
Joined: 15 May 2010, 04:20
Has thanked: 240 times
Been thanked: 933 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 1 guest

Login Form