本文整理汇总了C++中SocketInputStream::Read方法的典型用法代码示例。如果您正苦于以下问题:C++ SocketInputStream::Read方法的具体用法?C++ SocketInputStream::Read怎么用?C++ SocketInputStream::Read使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SocketInputStream
的用法示例。
在下文中一共展示了SocketInputStream::Read方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Read
BOOL GCCharIdle::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ObjID), sizeof(ObjID_t));
iStream.Read( (CHAR*)(&m_posWorld), sizeof(WORLD_POS));
iStream.Read( (CHAR*)(&m_bMustStop), sizeof(BOOL));
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例2: Read
BOOL CGAskTeamMemberInfo::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ObjID), sizeof(ObjID_t) ) ;
iStream.Read( (CHAR*)&m_GUID, sizeof(GUID_t) );
iStream.Read( (CHAR*)&m_SceneID, sizeof(SceneID_t) );
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例3: Read
BOOL GCBankRemoveItem::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ToType), sizeof(BYTE));
iStream.Read( (CHAR*)(&m_indexFrom), sizeof(BYTE));
iStream.Read( (CHAR*)(&m_indexTo), sizeof(BYTE));
iStream.Read( (CHAR*)(&m_OperateType), sizeof(BYTE));
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例4: Read
BOOL GCNewItemBox::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ObjID), sizeof(ObjID_t));
iStream.Read( (CHAR*)(&m_idOwner), sizeof(GUID_t));
iStream.Read( (CHAR*)(&m_MonsterID), sizeof(ObjID_t));
iStream.Read( (CHAR*)(&m_posWorld), sizeof(WORLD_POS));
iStream.Read( (CHAR*)(&m_OBJType), sizeof(INT));
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例5: Read
BOOL LCRetCharLogin::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read((CHAR*)&Result,sizeof(ASKCHARLOGIN_RESULT));
iStream.Read((CHAR*)&ServerPort,sizeof(UINT));
iStream.Read((CHAR*)&ServerIP,sizeof(CHAR)*IP_SIZE);
iStream.Read((CHAR*)&Key,sizeof(UINT));
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例6: Read
BOOL CGMissionSubmit::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_idNPC), sizeof(m_idNPC) ) ;
iStream.Read( (CHAR*)(&m_idScript), sizeof(m_idScript) ) ;
iStream.Read( (CHAR*)(&m_idSelectRadio), sizeof(m_idSelectRadio) ) ;
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例7: Read
BOOL WGCallOfHuman::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_nTargetPlayerID), sizeof(m_nTargetPlayerID) );
iStream.Read( (CHAR*)(&m_infoCallOf), sizeof(m_infoCallOf) );
iStream.Read( (CHAR*)(&m_GUID), sizeof(m_GUID) );
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例8: Read
BOOL CGCharPositionWarp::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ObjID), sizeof(m_ObjID));
iStream.Read( (CHAR*)(&m_posServer), sizeof(m_posServer));
iStream.Read( (CHAR*)(&m_posClient), sizeof(m_posClient));
return TRUE;
__LEAVE_FUNCTION
return FALSE;
}
示例9:
BOOL GCAbilitySucc::Read(SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read((CHAR*)&m_Ability,sizeof(AbilityID_t));
iStream.Read((CHAR*)&m_Prescription,sizeof(PrescriptionID_t));
iStream.Read((CHAR*)&m_Obj,sizeof(UINT));
return TRUE;
__LEAVE_FUNCTION
return FALSE;
}
示例10: Read
BOOL GCNewPortal::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ObjID), sizeof(ObjID_t));
iStream.Read( (CHAR*)(&m_posWorld), sizeof(WORLD_POS));
iStream.Read( (CHAR*)(&m_Type), sizeof(BYTE));
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例11: Read
BOOL CGAskLeanAbility::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_nAbilityID), sizeof(AbilityID_t));
iStream.Read( (CHAR*)(&m_nNeedMoney), sizeof(INT));
iStream.Read( (CHAR*)(&m_nNeedExp), sizeof(INT));
iStream.Read( (CHAR*)(&m_nNeedSkillExp), sizeof(INT));
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例12: Read
BOOL GWTeamMemberEnterScene::Read(SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)&m_PlayerID, sizeof(PlayerID_t) );
iStream.Read( (CHAR*)&m_GUID, sizeof(GUID_t) );
iStream.Read( (CHAR*)&m_SceneID, sizeof(SceneID_t) );
return TRUE;
__LEAVE_FUNCTION
return FALSE;
}
示例13: Read
BOOL GCCharModifyAction::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ObjID), sizeof(m_ObjID));
iStream.Read( (CHAR*)(&m_nLogicCount), sizeof(m_nLogicCount));
iStream.Read( (CHAR*)(&m_nModifyTime), sizeof(m_nModifyTime));
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例14: Read
BOOL GCPlayerShopStallStatus::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ShopID), sizeof(_PLAYERSHOP_GUID));
iStream.Read( (CHAR*)(&m_nStallIndex), sizeof(BYTE));
iStream.Read( (CHAR*)(&m_bStatus), sizeof(BYTE));
iStream.Read( (CHAR*)(&m_FinalStallNum), sizeof(BYTE));
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
示例15: Read
BOOL GWHorseChangeState::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)&m_GUID, sizeof(m_GUID) );
iStream.Read( (CHAR*)&m_iStateChangeType, sizeof(m_iStateChangeType) );
iStream.Read( (CHAR*)&m_PlayerID, sizeof(m_PlayerID) );
return TRUE;
__LEAVE_FUNCTION
return FALSE;
}