Log in

Get card data

Return a card_data_t data structure. This structure has all the data about a card that appears on the Magic.exe tab of SkyEditor.

{
	uint8_t secret;
	char name[18]; /* 0x01 */
	uint8_t reserved1[17];
	uint16_t id; /* 0x24 */
	uint16_t reserved2;
	uint8_t type;
	uint8_t subtype;
	uint8_t color;
	uint8_t cc[3];
	uint16_t power;
	uint16_t toughness;
	uint16_t reserved3;
	uint32_t code_pointer;
	uint32_t static_ability;
	uint8_t extra_ability;
	uint8_t reserved4[11];
	/* might have more fields */
} PACKED card_data_t;