📄 inventoryslotinfo.cpp
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : InventorySlotInfo.cpp// Written By : elca// Description ://////////////////////////////////////////////////////////////////////////////#include "InventorySlotInfo.h"//////////////////////////////////////////////////////////////////////////////// read data from socket input stream//////////////////////////////////////////////////////////////////////////////void InventorySlotInfo::read ( SocketInputStream & iStream ) throw ( ProtocolException , Error ){ __BEGIN_TRY // 刚历 窍困 努贰胶俊辑 佬绢甸牢促. PCItemInfo::read(iStream); // 捞 努贰胶俊 秦寸窍绰 单捞磐甫 佬绢甸牢促. iStream.read( m_InvenX ); iStream.read( m_InvenY ); __END_CATCH}//////////////////////////////////////////////////////////////////////////////// write data to socket output stream//////////////////////////////////////////////////////////////////////////////void InventorySlotInfo::write ( SocketOutputStream & oStream ) const throw ( ProtocolException , Error ){ __BEGIN_TRY // 刚历 窍困 努贰胶俊辑 敬促. PCItemInfo::write(oStream); // 捞 努贰胶俊 秦寸窍绰 单捞磐甫 敬促. oStream.write( m_InvenX ); oStream.write( m_InvenY ); __END_CATCH}//////////////////////////////////////////////////////////////////////////////// get debug string//////////////////////////////////////////////////////////////////////////////string InventorySlotInfo::toString () const throw (){ StringStream msg; msg << "InventorySlotInfo(" << PCItemInfo::toString() << ",InvenX:" << (int)m_InvenX << ",InvenY:" << (int)m_InvenY << ")"; return msg.toString();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -