private bool onSubQueryInfoResult(byte[] data, int size) { if (size != Marshal.SizeOf(typeof(CMD_GP_CheckInInfo))) ///if (size != sizeof(CMD_GP_CheckInInfo)) { ///ASSERT(false); return(false); } CMD_GP_CheckInInfo pNetInfo = (CMD_GP_CheckInInfo)StructConverterByteArray.BytesToStruct(data, typeof(CMD_GP_CheckInInfo)); ///CMD_GP_CheckInInfo* pNetInfo = (CMD_GP_CheckInInfo*)data; GlobalUserInfo pGlobalUserInfo = GlobalUserInfo.GetInstance(); tagGlobalUserData pGlobalUserData = pGlobalUserInfo.GetGlobalUserData(); pGlobalUserData.wSeriesDate = pNetInfo.wSeriesDate; pGlobalUserData.bTodayChecked = (pNetInfo.bTodayChecked != 0); //pGlobalUserData.wSeriesDate++;//hack if (mIGPSignInMissionSink != null) { mIGPSignInMissionSink.onSignInQueryInfoResult(pNetInfo); } stop(); return(true); }
/// </CGPSignInMission> /// /// <IGPSignInMissionSink> /// public virtual void onSignInQueryInfoResult(CMD_GP_CheckInInfo pNetInfo) { }