当前位置: 首页>>代码示例>>C++>>正文


C++ FormIDOp::Stop方法代码示例

本文整理汇总了C++中FormIDOp::Stop方法的典型用法代码示例。如果您正苦于以下问题:C++ FormIDOp::Stop方法的具体用法?C++ FormIDOp::Stop怎么用?C++ FormIDOp::Stop使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FormIDOp的用法示例。


在下文中一共展示了FormIDOp::Stop方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: VisitFormIDs

bool IMODRecord::VisitFormIDs(FormIDOp &op)
{
    if(!IsLoaded())
        return false;

    if(MODL.IsLoaded())
    {
        for(UINT32 x = 0; x < MODL->Textures.MODS.size(); x++)
            op.Accept(MODL->Textures.MODS[x]->texture);
    }
    if(SCRI.IsLoaded())
        op.Accept(SCRI->value);
    if(Destructable.IsLoaded())
    {
        for(UINT32 x = 0; x < Destructable->Stages.value.size(); ++x)
        {
            op.Accept(Destructable->Stages.value[x]->DSTD.value.explosion);
            op.Accept(Destructable->Stages.value[x]->DSTD.value.debris);
        }
    }
    if(YNAM.IsLoaded())
        op.Accept(YNAM->value);
    if(ZNAM.IsLoaded())
        op.Accept(ZNAM->value);

    return op.Stop();
}
开发者ID:Ethatron,项目名称:CBash,代码行数:27,代码来源:IMODRecord.cpp

示例2: VisitFormIDs

bool AMMORecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    if(MODL.IsLoaded())
        {
        for(UINT32 x = 0; x < MODL->Textures.MODS.size(); x++)
            op.Accept(MODL->Textures.MODS[x]->texture);
        }
    if(SCRI.IsLoaded())
        op.Accept(SCRI.value);
    if(Destructable.IsLoaded())
        {
        for(UINT32 x = 0; x < Destructable->Stages.value.size(); ++x)
            {
            op.Accept(Destructable->Stages.value[x]->DSTD.value.explosion);
            op.Accept(Destructable->Stages.value[x]->DSTD.value.debris);
            }
        }
    if(YNAM.IsLoaded())
        op.Accept(YNAM.value);
    if(ZNAM.IsLoaded())
        op.Accept(ZNAM.value);
    if(DAT2.IsLoaded())
        {
        op.Accept(DAT2->projectile);
        op.Accept(DAT2->consumedAmmo);
        }
    for(UINT32 x = 0; x < RCIL.value.size(); ++x)
        op.Accept(RCIL.value[x]);

    return op.Stop();
    }
开发者ID:Ethatron,项目名称:CBash,代码行数:34,代码来源:AMMORecord.cpp

示例3: VisitFormIDs

bool AMEFRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    return op.Stop();
    }
开发者ID:Dienes,项目名称:CBash,代码行数:7,代码来源:AMEFRecord.cpp

示例4: VisitFormIDs

bool WTHRRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    if(_0IAD.IsLoaded())
        op.Accept(_0IAD.value);
    if(_1IAD.IsLoaded())
        op.Accept(_1IAD.value);
    if(_2IAD.IsLoaded())
        op.Accept(_2IAD.value);
    if(_3IAD.IsLoaded())
        op.Accept(_3IAD.value);
    if(_4IAD.IsLoaded())
        op.Accept(_4IAD.value);
    if(_5IAD.IsLoaded())
        op.Accept(_5IAD.value);
    if(MODL.IsLoaded())
        {
        for(uint32_t x = 0; x < MODL->Textures.MODS.size(); x++)
            op.Accept(MODL->Textures.MODS[x]->texture);
        }
    for(uint32_t x = 0; x < Sounds.value.size(); x++)
        op.Accept(Sounds.value[x]->sound);

    return op.Stop();
    }
开发者ID:Dienes,项目名称:CBash,代码行数:27,代码来源:WTHRRecord.cpp

示例5: VisitFormIDs

bool REGNRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    if(WNAM.IsLoaded())
        op.Accept(WNAM.value);
    for(uint32_t ListIndex = 0; ListIndex < Entries.value.size(); ListIndex++)
        {
        for(uint32_t ListX2Index = 0; ListX2Index < Entries.value[ListIndex]->RDOT.value.size(); ListX2Index++)
            op.Accept(Entries.value[ListIndex]->RDOT.value[ListX2Index].objectId);
        for(uint32_t ListX2Index = 0; ListX2Index < Entries.value[ListIndex]->RDGS.value.size(); ListX2Index++)
            op.Accept(Entries.value[ListIndex]->RDGS.value[ListX2Index].grass);
        for(uint32_t ListX2Index = 0; ListX2Index < Entries.value[ListIndex]->RDSD.value.size(); ListX2Index++)
            op.Accept(Entries.value[ListIndex]->RDSD.value[ListX2Index].sound);
        for(uint32_t ListX2Index = 0; ListX2Index < Entries.value[ListIndex]->RDWT.value.size(); ListX2Index++)
            {
            op.Accept(Entries.value[ListIndex]->RDWT.value[ListX2Index].weather);
            op.Accept(Entries.value[ListIndex]->RDWT.value[ListX2Index].globalId);
            }
        if(Entries.value[ListIndex]->RDMO.IsLoaded())
            op.Accept(Entries.value[ListIndex]->RDMO.value);
        if(Entries.value[ListIndex]->RDSI.IsLoaded())
            op.Accept(Entries.value[ListIndex]->RDSI.value);
        for(uint32_t ListX2Index = 0; ListX2Index < Entries.value[ListIndex]->RDSB.value.size(); ListX2Index++)
            op.Accept(Entries.value[ListIndex]->RDSB.value[ListX2Index]);
        for(uint32_t ListX2Index = 0; ListX2Index < Entries.value[ListIndex]->RDID.value.size(); ListX2Index++)
            op.Accept(Entries.value[ListIndex]->RDID.value[ListX2Index]);
        }

    return op.Stop();
    }
开发者ID:Dienes,项目名称:CBash,代码行数:32,代码来源:REGNRecord.cpp

示例6: VisitFormIDs

bool ALOCRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    if(HNAM.IsLoaded())
        for (uint32_t ListIndex = 0; ListIndex < HNAM.value.size(); ListIndex++)
            op.Accept(HNAM.value[ListIndex]);
    if(ZNAM.IsLoaded())
        for (uint32_t ListIndex = 0; ListIndex < ZNAM.value.size(); ListIndex++)
            op.Accept(ZNAM.value[ListIndex]);
    if (XNAM.IsLoaded())
        for (uint32_t ListIndex = 0; ListIndex < XNAM.value.size(); ListIndex++)
            op.Accept(XNAM.value[ListIndex]);
    if (YNAM.IsLoaded())
        for (uint32_t ListIndex = 0; ListIndex < YNAM.value.size(); ListIndex++)
            op.Accept(YNAM.value[ListIndex]);
    if (LNAM.IsLoaded())
        for (uint32_t ListIndex = 0; ListIndex < LNAM.value.size(); ListIndex++)
            op.Accept(LNAM.value[ListIndex]);
    if (GNAM.IsLoaded())
        for (uint32_t ListIndex = 0; ListIndex < GNAM.value.size(); ListIndex++)
            op.Accept(GNAM.value[ListIndex]);
    if (RNAM.IsLoaded())
        op.Accept(RNAM.value);

    return op.Stop();
    }
开发者ID:Dienes,项目名称:CBash,代码行数:28,代码来源:ALOCRecord.cpp

示例7: VisitFormIDs

bool PROJRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    if(MODL.IsLoaded())
        {
        for(UINT32 x = 0; x < MODL->Textures.MODS.size(); x++)
            op.Accept(MODL->Textures.MODS[x]->texture);
        }
    if(Destructable.IsLoaded())
        {
        for(UINT32 x = 0; x < Destructable->Stages.value.size(); ++x)
            {
            op.Accept(Destructable->Stages.value[x]->DSTD.value.explosion);
            op.Accept(Destructable->Stages.value[x]->DSTD.value.debris);
            }
        }
    op.Accept(DATA.value.light);
    op.Accept(DATA.value.flash);
    op.Accept(DATA.value.explosion);
    op.Accept(DATA.value.sound);
    op.Accept(DATA.value.soundCountdown);
    op.Accept(DATA.value.soundDisable);
    op.Accept(DATA.value.defaultWeaponSource);
    return op.Stop();
    }
开发者ID:Ethatron,项目名称:CBash,代码行数:27,代码来源:PROJRecord.cpp

示例8: VisitFormIDs

bool REFRRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    if(Data.IsLoaded())
        {
        op.Accept(Data->NAME.value);
        if(Data->XTEL.IsLoaded())
            op.Accept(Data->XTEL->destinationFid);
        if(Data->XLOC.IsLoaded())
            op.Accept(Data->XLOC->key);
        if(Data->Ownership.IsLoaded())
            {
            if(Data->Ownership->XOWN.IsLoaded())
                op.Accept(Data->Ownership->XOWN.value);
            if(Data->Ownership->XGLB.IsLoaded())
                op.Accept(Data->Ownership->XGLB.value);
            }
        if(Data->XESP.IsLoaded())
            op.Accept(Data->XESP->parent);
        if(Data->XTRG.IsLoaded())
            op.Accept(Data->XTRG.value);
        if(Data->XPCI.IsLoaded() && Data->XPCI->XPCI.IsLoaded())
            op.Accept(Data->XPCI->XPCI.value);
        if(Data->XRTM.IsLoaded())
            op.Accept(Data->XRTM.value);
        }

    return op.Stop();
    }
开发者ID:Ethatron,项目名称:CBash,代码行数:31,代码来源:REFRRecord.cpp

示例9: VisitFormIDs

bool CELLRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    for(uint32_t ListIndex = 0; ListIndex < IMPS.value.size(); ListIndex++)
        {
        op.Accept(IMPS.value[ListIndex]->oldImpact);
        op.Accept(IMPS.value[ListIndex]->newImpact);
        }
    op.Accept(LTMP.value);
    for(uint32_t x = 0; x < XCLR.value.size(); x++)
        op.Accept(XCLR.value[x]);
    if(XCIM.IsLoaded())
        op.Accept(XCIM.value);
    if(XEZN.IsLoaded())
        op.Accept(XEZN.value);
    if(XCCM.IsLoaded())
        op.Accept(XCCM.value);
    if(XCWT.IsLoaded())
        op.Accept(XCWT.value);
    if(Ownership.IsLoaded())
        op.Accept(Ownership->XOWN.value);
    if(XCAS.IsLoaded())
        op.Accept(XCAS.value);
    if(XCMO.IsLoaded())
        op.Accept(XCMO.value);
    return op.Stop();
    }
开发者ID:Dienes,项目名称:CBash,代码行数:29,代码来源:CELLRecord.cpp

示例10: VisitFormIDs

bool WRLDRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    if(XEZN.IsLoaded())
        op.Accept(XEZN.value);
    if(WNAM.IsLoaded())
        op.Accept(WNAM.value);
    if(CNAM.IsLoaded())
        op.Accept(CNAM.value);
    op.Accept(NAM2.value);
    op.Accept(NAM3.value);
    if(INAM.IsLoaded())
        op.Accept(INAM.value);
    if(ZNAM.IsLoaded())
        op.Accept(ZNAM.value);
    for(UINT32 ListIndex = 0; ListIndex < IMPS.value.size(); ListIndex++)
        {
        op.Accept(IMPS.value[ListIndex]->oldImpact);
        op.Accept(IMPS.value[ListIndex]->newImpact);
        }

    return op.Stop();
    }
开发者ID:Gruftikus,项目名称:CBash,代码行数:25,代码来源:WRLDRecord.cpp

示例11: VisitFormIDs

bool CREARecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    for(uint32_t ListIndex = 0; ListIndex < SPLO.value.size(); ListIndex++)
        op.Accept(SPLO.value[ListIndex]);
    for(uint32_t ListIndex = 0; ListIndex < SNAM.value.size(); ListIndex++)
        op.Accept(SNAM.value[ListIndex]->faction);
    if(INAM.IsLoaded())
        op.Accept(INAM.value);
    if(SCRI.IsLoaded())
        op.Accept(SCRI.value);
    for(uint32_t ListIndex = 0; ListIndex < CNTO.value.size(); ListIndex++)
        op.Accept(CNTO.value[ListIndex]->item);
    for(uint32_t ListIndex = 0; ListIndex < PKID.value.size(); ListIndex++)
        op.Accept(PKID.value[ListIndex]);
    if(ZNAM.IsLoaded())
        op.Accept(ZNAM.value);
    if(CSCR.IsLoaded())
        op.Accept(CSCR.value);
    for(uint32_t ListIndex = 0; ListIndex < Sounds.value.size(); ListIndex++)
        op.Accept(Sounds.value[ListIndex]->CSDI.value);

    return op.Stop();
    }
开发者ID:Dienes,项目名称:CBash,代码行数:26,代码来源:CREARecord.cpp

示例12: VisitFormIDs

bool CONTRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    if(MODL.IsLoaded())
        {
        for(UINT32 x = 0; x < MODL->Textures.MODS.size(); x++)
            op.Accept(MODL->Textures.MODS[x]->texture);
        }
    if(SCRI.IsLoaded())
        op.Accept(SCRI.value);
    for(UINT32 x = 0; x < CNTO.value.size(); ++x)
        {
        op.Accept(CNTO.value[x]->CNTO.value.item);
        if(CNTO.value[x]->IsGlobal())
            op.Accept(CNTO.value[x]->COED->globalOrRank);
        }
    if(Destructable.IsLoaded())
        {
        for(UINT32 x = 0; x < Destructable->Stages.value.size(); ++x)
            {
            op.Accept(Destructable->Stages.value[x]->DSTD.value.explosion);
            op.Accept(Destructable->Stages.value[x]->DSTD.value.debris);
            }
        }
    if(SNAM.IsLoaded())
        op.Accept(SNAM.value);
    if(QNAM.IsLoaded())
        op.Accept(QNAM.value);
    if(RNAM.IsLoaded())
        op.Accept(RNAM.value);

    return op.Stop();
    }
开发者ID:Ethatron,项目名称:CBash,代码行数:35,代码来源:CONTRecord.cpp

示例13: VisitFormIDs

bool IDLMRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    for(uint32_t x = 0; x < IDLA.value.size(); x++)
        op.Accept(IDLA.value[x]);

    return op.Stop();
    }
开发者ID:Dienes,项目名称:CBash,代码行数:10,代码来源:IDLMRecord.cpp

示例14: VisitFormIDs

bool LVLIRecord::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    for(UINT32 ListIndex = 0; ListIndex < Entries.value.size(); ListIndex++)
        op.Accept(Entries.value[ListIndex]->listId);

    return op.Stop();
    }
开发者ID:Ethatron,项目名称:CBash,代码行数:10,代码来源:LVLIRecord.cpp

示例15:

bool TES4Record::VisitFormIDs(FormIDOp &op)
    {
    if(!IsLoaded())
        return false;

    for(UINT32 x = 0; x < ONAM.value.size(); x++)
        op.Accept(ONAM.value[x]);

    return op.Stop();
    }
开发者ID:Gruftikus,项目名称:CBash,代码行数:10,代码来源:TES4Record.cpp


注:本文中的FormIDOp::Stop方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。