I have been playing around in the memory during games and I found out its easy to find byte arrays with which card is in your hand, deck, graveyard, and in play. The cards are represented like this.
In your hand:
Code:
#Silverback Patriarch [id=33 cardId=CS2_127 zone=HAND zonePos=1]
In play:
Code:
#Silverback Patriarch [id=33 cardId=CS2_127 zone=PLAY zonePos=1]
Dead:
Code:
#Silverback Patriarch [id=33 cardId=CS2_127 zone=GRAVEYARD zonePos=0]
Unknown Card from deck:
Code:
#Hidden Entity [id=40 zone=DECK zonePos=0]
Its also fully possible to find out which graveyard and player it belongs to:
Code:
[name=Kill Command id=29 zone=GRAVEYARD zonePos=0 cardId=EX1_539 player=1] to FRIENDLY GRAVEYARD
The id of every card seems to be the same when its in the deck, hand, graveyard or in play.
I haven't figured if out how the id is generated yet. I have also started making a spreadsheet with the card id and hex numbers as I thought it also might help others.I will keep updating this but it takes some time because i have to play every card before i get the id. Anyone know a simpler solution yell out! I haven't gotten around to finding out pointers and such as im still new to assembly but im learning... I have also decompiled the dlls and got the code, is there any way to gain access to the unity3d files? I cant manage to get them open..