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


C++ SetHeaders函数代码示例

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


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

示例1: instance_utgarde_pinnacle_InstanceMapScript

 instance_utgarde_pinnacle_InstanceMapScript(Map* map) : InstanceScript(map)
 {
     SetHeaders(DataHeader);
     SetBossNumber(EncounterCount);
     LoadBossBoundaries(boundaries);
     LoadDoorData(doorData);
 }
开发者ID:AwkwardDev,项目名称:RE,代码行数:7,代码来源:instance_utgarde_pinnacle.cpp

示例2: instance_forge_of_souls_InstanceScript

            instance_forge_of_souls_InstanceScript(Map* map) : InstanceScript(map)
            {
                SetHeaders(DataHeader);
                SetBossNumber(MAX_ENCOUNTER);

                teamInInstance = 0;
            }
开发者ID:AllThing,项目名称:TrinityCore,代码行数:7,代码来源:instance_forge_of_souls.cpp

示例3: instance_sethekk_halls_InstanceMapScript

 instance_sethekk_halls_InstanceMapScript(Map* map) : InstanceScript(map)
 {
     SetHeaders(DataHeader);
     SetBossNumber(EncounterCount);
     LoadDoorData(doorData);
     LoadObjectData(nullptr, gameObjectData);
 }
开发者ID:Abrek,项目名称:My-WoDCore-6.x.x,代码行数:7,代码来源:instance_sethekk_halls.cpp

示例4: instance_pit_of_saron_InstanceScript

 instance_pit_of_saron_InstanceScript(Map* map) : InstanceScript(map)
 {
     SetHeaders(DataHeader);
     SetBossNumber(EncounterCount);
     LoadDoorData(Doors);
     _teamInInstance = 0;
 }
开发者ID:Abrek,项目名称:My-WoDCore-6.x.x,代码行数:7,代码来源:instance_pit_of_saron.cpp

示例5: SetHeaders

NS_IMETHODIMP
HTMLTableCellElement::SetHeaders(const nsAString& aHeaders)
{
  ErrorResult rv;
  SetHeaders(aHeaders, rv);
  return rv.ErrorCode();
}
开发者ID:AOSC-Dev,项目名称:Pale-Moon,代码行数:7,代码来源:HTMLTableCellElement.cpp

示例6: instance_ruby_sanctum_InstanceMapScript

 instance_ruby_sanctum_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
 {
     SetHeaders(DataHeader);
     SetBossNumber(EncounterCount);
     LoadDoorData(doorData);
     BaltharusSharedHealth    = 0;
 }
开发者ID:Rastrian,项目名称:DeathCore_6.x-1,代码行数:7,代码来源:instance_ruby_sanctum.cpp

示例7: SetCurlHandleToDefaults

bool wxCurlHTTP::Trace(const wxString& szRemoteFile /*= wxEmptyString*/)
{
    if(m_pCURL)
    {
        SetCurlHandleToDefaults(szRemoteFile);

        m_arrHeaders.Add(wxT("Content-type: message/http"));

        SetHeaders();

        SetOpt(CURLOPT_CUSTOMREQUEST, "TRACE");
        SetStringWriteFunction(m_szResponseBody);

        if(Perform())
        {
            ResetHeaders();

            return IsResponseOk();
        }

        ResetHeaders();
    }

    return false;
}
开发者ID:tvo,项目名称:springlobby,代码行数:25,代码来源:http.cpp

示例8: instance_azjol_nerub_InstanceScript

 instance_azjol_nerub_InstanceScript(Map* map) : InstanceScript(map)
 {
     SetHeaders(DataHeader);
     SetBossNumber(EncounterCount);
     LoadDoorData(doorData);
     LoadObjectData(creatureData, nullptr);
 }
开发者ID:Hyakkimaru,项目名称:TrinityCore,代码行数:7,代码来源:instance_azjol_nerub.cpp

示例9: instance_steam_vault_InstanceMapScript

            instance_steam_vault_InstanceMapScript(Map* map) : InstanceScript(map)
            {
                SetHeaders(DataHeader);
                SetBossNumber(EncounterCount);

                DistillerState       = 0;
            }
开发者ID:madisodr,项目名称:legacy-core,代码行数:7,代码来源:instance_steam_vault.cpp

示例10: instance_molten_core_InstanceMapScript

 instance_molten_core_InstanceMapScript(Map* map) : InstanceScript(map)
 {
     SetHeaders(DataHeader);
     SetBossNumber(MAX_ENCOUNTER);
     _executusSchedule = false;
     _ragnarosAddDeaths = 0;
 }
开发者ID:AvariusProject,项目名称:AvariusCore,代码行数:7,代码来源:instance_molten_core.cpp

示例11: instance_gruuls_lair_InstanceMapScript

 instance_gruuls_lair_InstanceMapScript(Map* map) : InstanceScript(map)
 {
     SetHeaders(DataHeader);
     SetBossNumber(EncounterCount);
     LoadDoorData(doorData);
     LoadMinionData(minionData);
 }
开发者ID:Chaplain,项目名称:TrinityCore,代码行数:7,代码来源:instance_gruuls_lair.cpp

示例12: SetCurlHandleToDefaults

bool wxCurlHTTP::Post(wxInputStream& buffer, const wxString& szRemoteFile /*= wxEmptyString*/)
{
    curl_off_t iSize = 0;

    if(m_pCURL && buffer.IsOk())
    {
        SetCurlHandleToDefaults(szRemoteFile);

        SetHeaders();
        iSize = buffer.GetSize();

        if(iSize == (~(size_t)0))	// wxCurlHTTP does not know how to upload unknown length streams.
            return false;

        SetOpt(CURLOPT_POST, TRUE);
        SetOpt(CURLOPT_POSTFIELDSIZE_LARGE, iSize);
        SetStreamReadFunction(buffer);
        SetStringWriteFunction(m_szResponseBody);

        if(Perform())
        {
            ResetHeaders();
            return IsResponseOk();
        }
    }

    return false;
}
开发者ID:nohal,项目名称:piman_pi,代码行数:28,代码来源:http.cpp

示例13: instance_forge_of_souls_InstanceScript

            instance_forge_of_souls_InstanceScript(Map* map) : InstanceScript(map)
            {
                SetHeaders(DataHeader);
                SetBossNumber(EncounterCount);

                teamInInstance = 0;
            }
开发者ID:Diyvol,项目名称:TrinityCore,代码行数:7,代码来源:instance_forge_of_souls.cpp

示例14: instance_steam_vault_InstanceMapScript

            instance_steam_vault_InstanceMapScript(Map* map) : InstanceScript(map)
            {
                SetHeaders(DataHeader);
                SetBossNumber(EncounterCount);
                LoadObjectData(nullptr, gameObjectData);

                DistillerState       = 0;
            }
开发者ID:Abrek,项目名称:My-WoDCore-6.x.x,代码行数:8,代码来源:instance_steam_vault.cpp

示例15: instance_scarlet_monastery_InstanceMapScript

            instance_scarlet_monastery_InstanceMapScript(Map* map) : InstanceScript(map)
            {
                SetHeaders(DataHeader);
                SetBossNumber(EncounterCount);
                LoadDoorData(doorData);

                HorsemanAdds.clear();
            }
开发者ID:beyourself,项目名称:LordPsyanBots,代码行数:8,代码来源:instance_scarlet_monastery.cpp


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