⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iunitdef_generated.gpp

📁 这是整套横扫千军3D版游戏的源码
💻 GPP
📖 第 1 页 / 共 2 页
字号:
// *** This is a generated file; if you want to change it, please change CSAIInterfaces.dll, which is the reference
// 
// This file was generated by ABICCodeGenerator, by Hugh Perkins hughperkins@gmail.com http://manageddreams.com
// 
AICALLBACK_API const char * UnitDef_get_name( const UnitDef *self )
{
   return ( ( UnitDef *) self)->name.c_str();
}


AICALLBACK_API const char * UnitDef_get_humanName( const UnitDef *self )
{
   return ( ( UnitDef *) self)->humanName.c_str();
}


AICALLBACK_API const char * UnitDef_get_filename( const UnitDef *self )
{
   return ( ( UnitDef *) self)->filename.c_str();
}


AICALLBACK_API int UnitDef_get_id( const UnitDef *self )
{
   return ( ( UnitDef *) self)->id;
}


AICALLBACK_API const char * UnitDef_get_buildpicname( const UnitDef *self )
{
   return ( ( UnitDef *) self)->buildpicname.c_str();
}


AICALLBACK_API int UnitDef_get_aihint( const UnitDef *self )
{
   return ( ( UnitDef *) self)->aihint;
}


AICALLBACK_API int UnitDef_get_techLevel( const UnitDef *self )
{
   return ( ( UnitDef *) self)->techLevel;
}


AICALLBACK_API float UnitDef_get_metalUpkeep( const UnitDef *self )
{
   return ( ( UnitDef *) self)->metalUpkeep;
}


AICALLBACK_API float UnitDef_get_energyUpkeep( const UnitDef *self )
{
   return ( ( UnitDef *) self)->energyUpkeep;
}


AICALLBACK_API float UnitDef_get_metalMake( const UnitDef *self )
{
   return ( ( UnitDef *) self)->metalMake;
}


AICALLBACK_API float UnitDef_get_makesMetal( const UnitDef *self )
{
   return ( ( UnitDef *) self)->makesMetal;
}


AICALLBACK_API float UnitDef_get_energyMake( const UnitDef *self )
{
   return ( ( UnitDef *) self)->energyMake;
}


AICALLBACK_API float UnitDef_get_metalCost( const UnitDef *self )
{
   return ( ( UnitDef *) self)->metalCost;
}


AICALLBACK_API float UnitDef_get_energyCost( const UnitDef *self )
{
   return ( ( UnitDef *) self)->energyCost;
}


AICALLBACK_API float UnitDef_get_buildTime( const UnitDef *self )
{
   return ( ( UnitDef *) self)->buildTime;
}


AICALLBACK_API float UnitDef_get_extractsMetal( const UnitDef *self )
{
   return ( ( UnitDef *) self)->extractsMetal;
}


AICALLBACK_API float UnitDef_get_extractRange( const UnitDef *self )
{
   return ( ( UnitDef *) self)->extractRange;
}


AICALLBACK_API float UnitDef_get_windGenerator( const UnitDef *self )
{
   return ( ( UnitDef *) self)->windGenerator;
}


AICALLBACK_API float UnitDef_get_tidalGenerator( const UnitDef *self )
{
   return ( ( UnitDef *) self)->tidalGenerator;
}


AICALLBACK_API float UnitDef_get_metalStorage( const UnitDef *self )
{
   return ( ( UnitDef *) self)->metalStorage;
}


AICALLBACK_API float UnitDef_get_energyStorage( const UnitDef *self )
{
   return ( ( UnitDef *) self)->energyStorage;
}


AICALLBACK_API float UnitDef_get_autoHeal( const UnitDef *self )
{
   return ( ( UnitDef *) self)->autoHeal;
}


AICALLBACK_API float UnitDef_get_idleAutoHeal( const UnitDef *self )
{
   return ( ( UnitDef *) self)->idleAutoHeal;
}


AICALLBACK_API int UnitDef_get_idleTime( const UnitDef *self )
{
   return ( ( UnitDef *) self)->idleTime;
}


AICALLBACK_API float UnitDef_get_power( const UnitDef *self )
{
   return ( ( UnitDef *) self)->power;
}


AICALLBACK_API float UnitDef_get_health( const UnitDef *self )
{
   return ( ( UnitDef *) self)->health;
}


AICALLBACK_API float UnitDef_get_speed( const UnitDef *self )
{
   return ( ( UnitDef *) self)->speed;
}


AICALLBACK_API float UnitDef_get_turnRate( const UnitDef *self )
{
   return ( ( UnitDef *) self)->turnRate;
}


AICALLBACK_API int UnitDef_get_moveType( const UnitDef *self )
{
   return ( ( UnitDef *) self)->moveType;
}


AICALLBACK_API bool UnitDef_get_upright( const UnitDef *self )
{
   return ( ( UnitDef *) self)->upright;
}


AICALLBACK_API float UnitDef_get_controlRadius( const UnitDef *self )
{
   return ( ( UnitDef *) self)->controlRadius;
}


AICALLBACK_API float UnitDef_get_losRadius( const UnitDef *self )
{
   return ( ( UnitDef *) self)->losRadius;
}


AICALLBACK_API float UnitDef_get_airLosRadius( const UnitDef *self )
{
   return ( ( UnitDef *) self)->airLosRadius;
}


AICALLBACK_API float UnitDef_get_losHeight( const UnitDef *self )
{
   return ( ( UnitDef *) self)->losHeight;
}


AICALLBACK_API int UnitDef_get_radarRadius( const UnitDef *self )
{
   return ( ( UnitDef *) self)->radarRadius;
}


AICALLBACK_API int UnitDef_get_sonarRadius( const UnitDef *self )
{
   return ( ( UnitDef *) self)->sonarRadius;
}


AICALLBACK_API int UnitDef_get_jammerRadius( const UnitDef *self )
{
   return ( ( UnitDef *) self)->jammerRadius;
}


AICALLBACK_API int UnitDef_get_sonarJamRadius( const UnitDef *self )
{
   return ( ( UnitDef *) self)->sonarJamRadius;
}


AICALLBACK_API int UnitDef_get_seismicRadius( const UnitDef *self )
{
   return ( ( UnitDef *) self)->seismicRadius;
}


AICALLBACK_API float UnitDef_get_seismicSignature( const UnitDef *self )
{
   return ( ( UnitDef *) self)->seismicSignature;
}


AICALLBACK_API bool UnitDef_get_stealth( const UnitDef *self )
{
   return ( ( UnitDef *) self)->stealth;
}


AICALLBACK_API float UnitDef_get_buildSpeed( const UnitDef *self )
{
   return ( ( UnitDef *) self)->buildSpeed;
}


AICALLBACK_API float UnitDef_get_buildDistance( const UnitDef *self )
{
   return ( ( UnitDef *) self)->buildDistance;
}


AICALLBACK_API float UnitDef_get_mass( const UnitDef *self )
{
   return ( ( UnitDef *) self)->mass;
}


AICALLBACK_API float UnitDef_get_maxSlope( const UnitDef *self )
{
   return ( ( UnitDef *) self)->maxSlope;
}


AICALLBACK_API float UnitDef_get_maxHeightDif( const UnitDef *self )
{
   return ( ( UnitDef *) self)->maxHeightDif;
}


AICALLBACK_API float UnitDef_get_minWaterDepth( const UnitDef *self )
{
   return ( ( UnitDef *) self)->minWaterDepth;
}


AICALLBACK_API float UnitDef_get_waterline( const UnitDef *self )
{
   return ( ( UnitDef *) self)->waterline;
}


AICALLBACK_API float UnitDef_get_maxWaterDepth( const UnitDef *self )
{
   return ( ( UnitDef *) self)->maxWaterDepth;
}


AICALLBACK_API float UnitDef_get_armoredMultiple( const UnitDef *self )
{
   return ( ( UnitDef *) self)->armoredMultiple;
}


AICALLBACK_API int UnitDef_get_armorType( const UnitDef *self )
{
   return ( ( UnitDef *) self)->armorType;
}


AICALLBACK_API const char * UnitDef_get_type( const UnitDef *self )
{
   return ( ( UnitDef *) self)->type.c_str();
}


AICALLBACK_API const char * UnitDef_get_tooltip( const UnitDef *self )
{
   return ( ( UnitDef *) self)->tooltip.c_str();
}


AICALLBACK_API const char * UnitDef_get_wreckName( const UnitDef *self )
{
   return ( ( UnitDef *) self)->wreckName.c_str();
}


AICALLBACK_API const char * UnitDef_get_deathExplosion( const UnitDef *self )
{
   return ( ( UnitDef *) self)->deathExplosion.c_str();
}


AICALLBACK_API const char * UnitDef_get_selfDExplosion( const UnitDef *self )
{
   return ( ( UnitDef *) self)->selfDExplosion.c_str();
}


AICALLBACK_API const char * UnitDef_get_TEDClassString( const UnitDef *self )
{
   return ( ( UnitDef *) self)->TEDClassString.c_str();
}


AICALLBACK_API const char * UnitDef_get_categoryString( const UnitDef *self )
{
   return ( ( UnitDef *) self)->categoryString.c_str();
}


AICALLBACK_API const char * UnitDef_get_iconType( const UnitDef *self )
{
   return ( ( UnitDef *) self)->iconType.c_str();
}


AICALLBACK_API int UnitDef_get_selfDCountdown( const UnitDef *self )
{
   return ( ( UnitDef *) self)->selfDCountdown;
}


AICALLBACK_API bool UnitDef_get_canfly( const UnitDef *self )
{
   return ( ( UnitDef *) self)->canfly;
}


AICALLBACK_API bool UnitDef_get_canmove( const UnitDef *self )
{
   return ( ( UnitDef *) self)->canmove;
}


AICALLBACK_API bool UnitDef_get_canhover( const UnitDef *self )
{
   return ( ( UnitDef *) self)->canhover;
}


AICALLBACK_API bool UnitDef_get_floater( const UnitDef *self )
{
   return ( ( UnitDef *) self)->floater;
}


AICALLBACK_API bool UnitDef_get_builder( const UnitDef *self )
{
   return ( ( UnitDef *) self)->builder;
}


AICALLBACK_API bool UnitDef_get_activateWhenBuilt( const UnitDef *self )
{
   return ( ( UnitDef *) self)->activateWhenBuilt;
}


AICALLBACK_API bool UnitDef_get_onoffable( const UnitDef *self )
{
   return ( ( UnitDef *) self)->onoffable;
}


AICALLBACK_API bool UnitDef_get_reclaimable( const UnitDef *self )
{
   return ( ( UnitDef *) self)->reclaimable;
}


AICALLBACK_API bool UnitDef_get_canRestore( const UnitDef *self )
{
   return ( ( UnitDef *) self)->canRestore;
}


AICALLBACK_API bool UnitDef_get_canRepair( const UnitDef *self )
{
   return ( ( UnitDef *) self)->canRepair;
}


AICALLBACK_API bool UnitDef_get_canReclaim( const UnitDef *self )
{
   return ( ( UnitDef *) self)->canReclaim;
}


AICALLBACK_API bool UnitDef_get_noAutoFire( const UnitDef *self )
{
   return ( ( UnitDef *) self)->noAutoFire;
}


AICALLBACK_API bool UnitDef_get_canAttack( const UnitDef *self )
{
   return ( ( UnitDef *) self)->canAttack;
}


AICALLBACK_API bool UnitDef_get_canPatrol( const UnitDef *self )
{
   return ( ( UnitDef *) self)->canPatrol;
}


AICALLBACK_API bool UnitDef_get_canFight( const UnitDef *self )
{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -