/// <summary> /// 通过地址获取机体信息 /// </summary> /// <param name="addressHex"></param> /// <returns></returns> public GundamInfo getGundam(string addressHex) { int index = ByteHelper.Bytes2Int(ByteHelper.HexStringToByteArray(addressHex)); return(getGundam(index)); }
/// <summary> /// 通过地址获取武器信息 /// </summary> /// <param name="addressHex"></param> /// <returns></returns> public WeaponInfo getWeapon(string addressHex) { int index = ByteHelper.Bytes2Int(ByteHelper.HexStringToByteArray(addressHex)); return(getWeapon(index)); }
/// <summary> /// 通过地址获取角色信息 /// </summary> /// <param name="addressHex"></param> /// <returns></returns> public MasterInfo getMaster(string addressHex) { int index = ByteHelper.Bytes2Int(ByteHelper.HexStringToByteArray(addressHex)); return(getMaster(index)); }