示例#1
0
 public int GetAttributeValue(EBattleAttribute type)
 {
     if (!attributes.ContainsKey(type))
     {
         return(0);
     }
     else
     {
         return(attributes[type]);
     }
 }
示例#2
0
 public void setAttrId(EBattleAttribute attrId)
 {
     this.attrId = attrId;
 }