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


C++ FormIDOp类代码示例

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


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

示例1: 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

示例2: 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

示例3: 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

示例4: 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

示例5: 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

示例6: VisitFormIDs

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

    if(SCRI.IsLoaded())
        op.Accept(SCRI.value);

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

示例7: 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

示例8:

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

示例9: 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

示例10: VisitFormIDs

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

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

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

示例11: 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

示例12: VisitFormIDs

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

    if(LNAM.IsLoaded())
        for (uint32_t ListIndex = 0; ListIndex < LNAM.value.size(); ListIndex++)
            op.Accept(LNAM.value[ListIndex]);

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

示例13: VisitFormIDs

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

    for(uint32_t ListIndex = 0; ListIndex < SCR_.value.size(); ListIndex++)
        if(SCR_.value[ListIndex]->isSCRO)
            op.Accept(SCR_.value[ListIndex]->reference);

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

示例14: VisitFormIDs

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

    if(HNAM.IsLoaded())
        op.Accept(HNAM.value);
    if(INAM.IsLoaded())
        op.Accept(INAM.value);

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

示例15: VisitFormIDs

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

    if(SCRI.IsLoaded())
        op.Accept(SCRI.value);
    for(UINT32 ListIndex = 0; ListIndex < Effects.value.size(); ListIndex++)
        Effects.value[ListIndex]->VisitFormIDs(op);

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


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