public string GetWeapon() { NrCharBase charBase = this.m_charBase; if (charBase != null) { eWEAPON_TYPE weaponType = (eWEAPON_TYPE)charBase.GetWeaponType(); string text = weaponType.ToString(); return(text.ToUpper()); } if (this.m_battleChar != null) { eWEAPON_TYPE attackCharWeaponType = (eWEAPON_TYPE)this.m_battleChar.GetAttackCharWeaponType(); string text2 = attackCharWeaponType.ToString(); return(text2.ToUpper()); } return("Null"); }