sharpfall/CardFace.cs
Adam R. Grey 6b27ad16f5 types
should make uuid an actual RFC4122 uuid, for now it's a string
2021-11-06 00:25:50 -04:00

29 lines
2.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
namespace Sharpfall
{
using UUID = System.String;
using Colors = IEnumerable<Color>;
public class CardFace
{
public string artist { get; set; } //The name of the illustrator of this card face. Newly spoiled cards may not have this field yet.
public Colors color_indicator { get; set; } //The colors in this faces color indicator, if any.
public Colors colors { get; set; } //This faces colors, if the game defines colors for the individual face of this card.
public string flavor_text { get; set; } //The flavor text printed on this face, if any.
public UUID illustration_id { get; set; } //A unique identifier for the card face artwork that remains consistent across reprints. Newly spoiled cards may not have this field yet.
public Images image_uris { get; set; } //An object providing URIs to imagery for this face, if this is a double-sided card. If this card is not double-sided, then the image_uris property will be part of the parent object instead.
public string loyalty { get; set; } //This faces loyalty, if any.
public string mana_cost { get; set; } //The mana cost for this face. This value will be any empty string "" if the cost is absent. Remember that per the game rules, a missing mana cost and a mana cost of {0} are different values.
public string name { get; set; } //The name of this particular face.
//public string object { get; set; } //A content type for this object, always card_face.
public string oracle_text { get; set; } //The Oracle text for this face, if any.
public string power { get; set; } //This faces power, if any. Note that some cards have powers that are not numeric, such as *.
public string printed_name { get; set; } //The localized name printed on this face, if any.
public string printed_text { get; set; } //The localized text printed on this face, if any.
public string printed_type_line { get; set; } //The localized type line printed on this face, if any.
public string toughness { get; set; } //This faces toughness, if any.
public string type_line { get; set; } //The type line of this particular face.
public string watermark { get; set; } //The watermark on this particulary card face, if any.
}
}