Commit 0ac52fa6 authored by mercury233's avatar mercury233

add OCG/TCG mark (by 無名的凝泪)

parent 9e36fb05
......@@ -119,11 +119,29 @@ public class GameStringHelper
public static string getName(YGOSharp.Card card)
{
string limitot = "";
switch(card.Ot)
{
case 1:
limitot = "[OCG] ";
break;
case 2:
limitot = "[TCG] ";
break;
case 3:
limitot = "[OCG/TCG] ";
break;
case 4:
limitot = "[Anime] ";
break;
}
string re = "";
try
{
re += "[b]" + card.Name + "[/b]";
re += "\n";
re += "[sup]" + limitot + "[/sup]";
re += "\n";
re += "[sup]" + card.Id.ToString() + "[/sup]";
re += "\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment