本文整理汇总了C++中HX_FIELD_EQ函数的典型用法代码示例。如果您正苦于以下问题:C++ HX_FIELD_EQ函数的具体用法?C++ HX_FIELD_EQ怎么用?C++ HX_FIELD_EQ使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了HX_FIELD_EQ函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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);
}
开发者ID:CannibalCat,项目名称:Legend-of-Qwerty,代码行数:8,代码来源:TouchInfo.cpp
示例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);
}
开发者ID:TheOneZealot,项目名称:Mutant,代码行数:8,代码来源:CircleCollider.cpp
示例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);
}
开发者ID:desttinghim,项目名称:luxeout,代码行数:8,代码来源:SoundResource.cpp
示例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);
}
开发者ID:01010111,项目名称:TileUtilPropertyEditor,代码行数:8,代码来源:GraphicButton.cpp
示例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);
}
开发者ID:oxue,项目名称:libgraphiteecsext,代码行数:8,代码来源:State.cpp
示例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);
}
开发者ID:oxue,项目名称:libgraphiteecsext,代码行数:17,代码来源:KC8ObjectContainer.cpp
示例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);
}
开发者ID:jordonr,项目名称:CandyAppleKingSaga,代码行数:8,代码来源:EndScene.cpp
示例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);
}
开发者ID:Soshanna,项目名称:Project-Block-1.4,代码行数:8,代码来源:JNIStaticField.cpp
示例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);
}
开发者ID:danfreeman,项目名称:MadComponentsOpenFL,代码行数:8,代码来源:UISliderX.cpp
示例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;
}
开发者ID:TheOneZealot,项目名称:Mutant,代码行数:8,代码来源:ZNPNode_ZPP_GeomPoly.cpp
示例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);
}
开发者ID:DrSkipper,项目名称:twogames,代码行数:8,代码来源:TouchInfo.cpp
示例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);
}
开发者ID:as3boyan,项目名称:Uber-Duper-Simulation,代码行数:8,代码来源:BytesBuffer.cpp
示例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);
}
开发者ID:Nickan,项目名称:OpenFLGameTest1,代码行数:17,代码来源:GlyphMetrics.cpp
示例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);
}
开发者ID:jet6666,项目名称:swfrocks,代码行数:8,代码来源:Deflate.cpp
示例16: switch
Dynamic Sys_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
switch(inName.length) {
case 12:
if (HX_FIELD_EQ(inName,"sys_exe_path") ) { sys_exe_path=inValue.Cast< Dynamic >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
开发者ID:Ohmnivore,项目名称:SkullRush,代码行数:8,代码来源:Sys.cpp
示例17: switch
Dynamic Player_obj::__Field(const ::String &inName,bool inCallProp)
{
switch(inName.length) {
case 6:
if (HX_FIELD_EQ(inName,"update") ) { return update_dyn(); }
}
return super::__Field(inName,inCallProp);
}
开发者ID:nbarton,项目名称:Sheol,代码行数:8,代码来源:Player.cpp
示例18: switch
Dynamic BitmapFilter_obj::__SetField(const ::String &inName,const Dynamic &inValue)
{
switch(inName.length) {
case 4:
if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; }
}
return super::__SetField(inName,inValue);
}
开发者ID:davidedc,项目名称:P5Nitro,代码行数:8,代码来源:BitmapFilter.cpp
示例19: switch
Dynamic StringMap_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
switch(inName.length) {
case 10:
if (HX_FIELD_EQ(inName,"__Internal") ) { __Internal=inValue.Cast< Dynamic >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
开发者ID:fordream,项目名称:HexagonEvolved,代码行数:8,代码来源:StringMap.cpp
示例20: switch
Dynamic FlxUIInputText_obj::__Field(const ::String &inName,bool inCallProp)
{
switch(inName.length) {
case 2:
if (HX_FIELD_EQ(inName,"id") ) { return id; }
break;
case 6:
if (HX_FIELD_EQ(inName,"resize") ) { return resize_dyn(); }
break;
case 8:
if (HX_FIELD_EQ(inName,"onChange") ) { return onChange_dyn(); }
break;
case 16:
if (HX_FIELD_EQ(inName,"broadcastToFlxUI") ) { return broadcastToFlxUI; }
}
return super::__Field(inName,inCallProp);
}
开发者ID:MintPaw,项目名称:Remnants2,代码行数:17,代码来源:FlxUIInputText.cpp
注:本文中的HX_FIELD_EQ函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论