本文整理汇总了C++中HX_FIELD_EQ函数的典型用法代码示例。如果您正苦于以下问题:C++ HX_FIELD_EQ函数的具体用法?C++ HX_FIELD_EQ怎么用?C++ HX_FIELD_EQ使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了HX_FIELD_EQ函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: switch
hx::Val TouchInfo_obj::__Field(const ::String &inName,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 16:
if (HX_FIELD_EQ(inName,"touchOverObjects") ) { return hx::Val( touchOverObjects); }
}
return super::__Field(inName,inCallProp);
}
示例2: switch
Dynamic CircleCollider_obj::__SetField(const ::String &inName,const Dynamic &inValue,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 7:
if (HX_FIELD_EQ(inName,"options") ) { options=inValue.Cast< Dynamic >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
示例3: switch
bool __ASSET__assets_fonts_arial_ttf_obj::__SetStatic(const ::String &inName,Dynamic &ioValue,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 12:
if (HX_FIELD_EQ(inName,"resourceName") ) { resourceName=ioValue.Cast< ::String >(); return true; }
}
return false;
}
开发者ID:NoTalentGeek,项目名称:HaXeFlixelOpenWorldStealthGame,代码行数:8,代码来源:__ASSET__assets_fonts_arial_ttf.cpp
示例4: switch
Dynamic SoundResource_obj::__Field(const ::String &inName,bool inCallProp)
{
switch(inName.length) {
case 4:
if (HX_FIELD_EQ(inName,"name") ) { return name; }
}
return super::__Field(inName,inCallProp);
}
示例5: switch
Dynamic GraphicButton_obj::__Field(const ::String &inName,bool inCallProp)
{
switch(inName.length) {
case 12:
if (HX_FIELD_EQ(inName,"resourceName") ) { return resourceName; }
}
return super::__Field(inName,inCallProp);
}
示例6: switch
Dynamic State_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
switch(inName.length) {
case 11:
if (HX_FIELD_EQ(inName,"targetState") ) { targetState=inValue.Cast< ::graphite::State >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
示例7: switch
Dynamic KC8ObjectContainer_obj::__Field(const ::String &inName,bool inCallProp)
{
switch(inName.length) {
case 4:
if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); }
break;
case 6:
if (HX_FIELD_EQ(inName,"unload") ) { return unload_dyn(); }
break;
case 8:
if (HX_FIELD_EQ(inName,"children") ) { return children; }
break;
case 12:
if (HX_FIELD_EQ(inName,"addKC8Object") ) { return addKC8Object_dyn(); }
}
return super::__Field(inName,inCallProp);
}
示例8: switch
Dynamic EndScene_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
switch(inName.length) {
case 13:
if (HX_FIELD_EQ(inName,"restartButton") ) { restartButton=inValue.Cast< ::com::haxepunk::Entity >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
示例9: switch
Dynamic JNIStaticField_obj::__SetField(const ::String &inName,const Dynamic &inValue,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 5:
if (HX_FIELD_EQ(inName,"field") ) { field=inValue.Cast< Dynamic >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
示例10: switch
Dynamic UISliderX_obj::__Field(const ::String &inName,bool inCallProp)
{
switch(inName.length) {
case 6:
if (HX_FIELD_EQ(inName,"layout") ) { return layout_dyn(); }
}
return super::__Field(inName,inCallProp);
}
示例11: switch
bool ZNPNode_ZPP_GeomPoly_obj::__SetStatic(const ::String &inName,Dynamic &ioValue,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 8:
if (HX_FIELD_EQ(inName,"zpp_pool") ) { zpp_pool=ioValue.Cast< ::zpp_nape::util::ZNPNode_ZPP_GeomPoly >(); return true; }
}
return false;
}
示例12: switch
Dynamic TouchInfo_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
switch(inName.length) {
case 16:
if (HX_FIELD_EQ(inName,"touchOverObjects") ) { touchOverObjects=inValue.Cast< Array< ::Dynamic > >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
示例13: switch
Dynamic BytesBuffer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
switch(inName.length) {
case 1:
if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Array< unsigned char > >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
示例14: switch
Dynamic GlyphMetrics_obj::__Field(const ::String &inName,bool inCallProp)
{
switch(inName.length) {
case 6:
if (HX_FIELD_EQ(inName,"height") ) { return height; }
break;
case 7:
if (HX_FIELD_EQ(inName,"advance") ) { return advance; }
break;
case 15:
if (HX_FIELD_EQ(inName,"verticalBearing") ) { return verticalBearing; }
break;
case 17:
if (HX_FIELD_EQ(inName,"horizontalBearing") ) { return horizontalBearing; }
}
return super::__Field(inName,inCallProp);
}
示例15: switch
Dynamic Deflate_obj::__Field(const ::String &inName,bool inCallProp)
{
switch(inName.length) {
case 3:
if (HX_FIELD_EQ(inName,"run") ) { return run_dyn(); }
}
return super::__Field(inName,inCallProp);
}