Skip to content

Commit

Permalink
Update CUSTOM.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol authored Dec 8, 2017
1 parent cb5a53c commit 1dfd985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/CUSTOM.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ When downloading a custom game from a url, the data that is being downloaded is
| CardPrimaryProperty | string | "" | The CardPrimaryProperty is the property that is first selected and displayed in the Card Info Viewer, which appears whenever a user selects a card. |
| CardProperties | List \<PropertyDef\> | [] | *PropertyDef* has the properties: *Name* and *Type*. *PropertyDef:Name* is a string indicating the name of the property, and this name can be referenced by CardImageURLProperty, CardPrimaryProperty, Enums, Extras, and HsdPropertyId. *PropertyDef:Type* can be **string**, **integer**, **enum**, or **enumList**. |
| CardWidth | float | 2.5 | CardWidth is the width in inches of each card. |
| DeckFileType | DeckFileType | "txt" | When saving a deck, the formatting for how it is saved and loaded is defined by the DeckFileType. **dec** refers to the old MTGO deck file format. **hsd** refers to the Hearstone deck string format. **ydk** refers to the YGOPRO deck file format. **txt** parses each line for the following: **\<Quantity\> [*Card:Id*] *Card:Name* (*Card:SetCode*)** |
| DeckFileType | DeckFileType | "txt" | When saving a deck, the formatting for how it is saved and loaded is defined by the DeckFileType. **dec** refers to the old MTGO deck file format. **hsd** refers to the Hearthstone deck string format. **ydk** refers to the YGOPRO deck file format. **txt** parses each line for the following: **\<Quantity\> [*Card:Id*] *Card:Name* (*Card:SetCode*)** |
| DeckMaxCount | int | 75 | DeckMaxCount is used to decide how many card slots should appear in the deck editor, when the custom game is selected. |
| DeckURLs | List \<DeckURL\> | [] | *DeckURL* has the properties: *Name*, and *URL*. If the "decks/" folder does not exist, CGS will go through each DeckURL, and save the data from *DeckURL:URL* to "decks/*DeckURL:Name*.\<DeckFileType\>". |
| Enums | List \<EnumDef\> | [] | *EnumDef* has the properties: *Property* and *Values*. *EnumDef:Property* refers to a *PropertyDef:Name* in \<CardProperties\>. *EnumDef:Values* is a Dictionary with strings as the keys and values. The value is displayed to the user through the UI while the keys remain hidden. If the keys are entered as a hexadecimal integers (prefixed with 0x), multiple values can go through bitwise and/ors to have a single enumValue represent multiple values. The multiple values would be displayed together to the user, using "\|" as the delimiter. |
Expand Down

0 comments on commit 1dfd985

Please sign in to comment.