public CSDT_FRIEND_INFO() { this.stFriendInfo = (COMDT_FRIEND_INFO)ProtocolObjectPool.Get(COMDT_FRIEND_INFO.CLASS_ID); this.stIntimacyData = (COMDT_INTIMACY_DATA)ProtocolObjectPool.Get(COMDT_INTIMACY_DATA.CLASS_ID); this.stGameInfo = (CSDT_GAMEINFO)ProtocolObjectPool.Get(CSDT_GAMEINFO.CLASS_ID); this.stRecruitmentInfo = (COMDT_RECRUITMENT_DATA)ProtocolObjectPool.Get(COMDT_RECRUITMENT_DATA.CLASS_ID); }
public override void OnRelease() { if (this.stFriendInfo != null) { this.stFriendInfo.Release(); this.stFriendInfo = null; } this.ullDonateAPSec = 0uL; this.bGameState = 0; this.dwGameStartTime = 0u; if (this.stIntimacyData != null) { this.stIntimacyData.Release(); this.stIntimacyData = null; } this.bVideoState = 0; if (this.stGameInfo != null) { this.stGameInfo.Release(); this.stGameInfo = null; } if (this.stRecruitmentInfo != null) { this.stRecruitmentInfo.Release(); this.stRecruitmentInfo = null; } this.bNoAskforFlag = 0; this.dwOtherStateBits = 0u; }