public string CharacterAttack(int id) { XMLFileReader reader = new XMLFileReader(filePath); if (id == 0) { return("0"); } return(reader.Reader(id, "attack")); }
public string CharacterMsg(int id) { XMLFileReader XFR = new XMLFileReader(filePath); return(XFR.Reader(id, "message")); }
public string CharacterRank(int id) { XMLFileReader XMLFileReader = new XMLFileReader(filePath); return(XMLFileReader.Reader(id, "rank")); }
public int NumOfCharacter() { XMLFileReader XFR = new XMLFileReader(filePath); return(XFR.sum("armory", "gun") + 1); }
public string CharacterName(int id) { XMLFileReader XFR = new XMLFileReader(filePath); return(XFR.Reader(id, "name")); }