GUI implementation of alpha clone switching

This commit is contained in:
blitzman
2016-12-11 22:51:48 -05:00
parent 90c1033437
commit a954759012
5 changed files with 65 additions and 5 deletions

View File

@@ -188,6 +188,9 @@ class Character(object):
def all5ID(self):
return self.all5().ID
def getAlphaCloneList(self):
return eos.db.getAlphaCloneList()
def getCharacterList(self):
return eos.db.getCharacterList()
@@ -233,6 +236,10 @@ class Character(object):
skills.append((skill.ID, skill.name))
return skills
def setAlphaClone(self, char, cloneID):
char.alphaCloneID = cloneID
eos.db.commit()
def getSkillDescription(self, itemID):
return eos.db.getItem(itemID).description