Jump to content
×
×
  • Create New...
  • 0

Can someone explain some C++ stuff to me?


Kaboom

Question

Can someone explain to me this code? Preferably line by line

struct FCharacterManagerCharacterInstanceUpdate
{
    inline void operator () (const pair<DWORD,CInstanceBase *>& cr_Pair)
    {
        cr_Pair.second->Update();
    }
};

TTextTailMap::iterator itor = m_CharacterTextTailMap.find(dwVID);
    if (m_CharacterTextTailMap.end() == itor)
        return;

CQuestManager::instance() - what it is (::instance)? I see that in almost every file and I dont get it

when use ChatPacket() or packet.h file?

Like ::instance(), I see very often ::iterator or itor

TGroundItemInstanceMap::iterator itor = m_GroundItemInstanceMap.begin();
CGraphicThingInstance & rInstance = itor->second->ThingInstance;

CPythonSkill::SSkillData * c_pSkillData; - what is c_pSkillData and rest?

CInstanceBase * pkInstMain = NEW_GetMainActorPtr();

why when I change: const float c_TextTail_Name_Position = -10.0f;  to -30.0f, nothing is changing in game?


function(lua state * L) - What is that mean in Lua?

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.