public string getGridNumber(GFChip chip) { string chip_id = chip.chip_id; if (chip_id.Length != 4) { return("0"); } switch (chip_id[2]) { case '6': return("6"); case '5': return("5"); case '4': return("4"); case '3': return("3"); default: return("0"); } }
public string getRank(GFChip chip) { string chip_id = chip.chip_id; if (chip_id.Length != 4) { return("0"); } switch (chip_id[0]) { case '2': return("2"); case '3': return("3"); case '4': return("4"); case '5': return("5"); default: return("0"); } }
public string[] getProperty(GFChip chip) { string[] prop = { "", "", "", "" }; prop[0] = chip.assist_damage; prop[1] = chip.assist_def_break; prop[2] = chip.assist_hit; prop[3] = chip.assist_reload; return(prop); }
public string getShape(GFChip chip) { string grid_id = chip.grid_id; if (dictShape.ContainsKey(grid_id)) { return(dictShape[grid_id]); } else { return("0"); } }
public string getColor(GFChip chip) { string color_id = chip.color_id; switch (color_id) { case "1": return("2"); case "2": return("1"); default: return("0"); } }
public string getKind(GFChip chip) { string chip_id = chip.chip_id; if (chip_id.Length != 4) { return("0"); } switch (chip_id[3]) { case '1': return("2"); case '2': return("1"); default: return("0"); } }