/TGame/TCommon/Event/EvtRaw.cpp
http://awoe.googlecode.com/ · C++ · 88 lines · 63 code · 18 blank · 7 comment · 0 complexity · e9933b557544a26b9197e397f8bda619 MD5 · raw file
- ///////////////////////////////////////////////////////////////////////////////////////////////////
- // EvtRaw.cpp
- // 2010?1?22?
- // Copyright ?2007, 2010, 8DWorld, Inc. All rights reserved.
- //
- //
- ///////////////////////////////////////////////////////////////////////////////////////////////////
-
-
-
- #include "stdafx.h"
- #include "EvtRaw.h"
-
-
- EvtRaw::EvtRaw(int nGrpID, int nID)
- :m_nGrp(nGrpID),
- m_nID(nID)
- {;}
-
-
- EvtRaw::EvtRaw()
- :m_nGrp(0),
- m_nID(0)
- {;}
-
-
-
- void
- EvtRaw::setID(int nID)
- {
- m_nID = nID;
- }
- int
- EvtRaw::getID()const
- {
- return m_nID;
- }
-
-
- void
- EvtRaw::setGroupID(int nGrpID)
- {
- m_nGrp = nGrpID;
- }
- int
- EvtRaw::getGroupID()const
- {
- return m_nGrp;
- }
-
-
-
- int EvtRaw::getDataX()const
- {
- return 0;
- }
- int EvtRaw::getDataY()const
- {
- return 0;
- }
- int EvtRaw::getDataZ()const
- {
- return 0;
- }
-
- void EvtRaw::setDataX(int nArg)
- {
- }
- void EvtRaw::setDataY(int nArg)
- {
- }
- void EvtRaw::setDataZ(int nArg)
- {
- }
-
- int EvtRaw::getData(const short& nIdx, int nDefault)const
- {
- return nDefault;
- }
- void EvtRaw::setData(const short& nIdx, int nValue)
- {
- }
-
- IEvt*
- EvtRaw::clone()
- {
- return NULL;
- }