public override void OnUse() { this.stBriefInfo = (COMDT_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_GUILD_BRIEF_INFO.CLASS_ID); if (this.astMemberInfo != null) { for (int i = 0; i < this.astMemberInfo.Length; i++) { this.astMemberInfo[i] = (COMDT_GUILD_MEMBER_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MEMBER_INFO.CLASS_ID); } } if (this.astBuildingInfo != null) { for (int j = 0; j < this.astBuildingInfo.Length; j++) { this.astBuildingInfo[j] = (COMDT_GUILD_BUILDING)ProtocolObjectPool.Get(COMDT_GUILD_BUILDING.CLASS_ID); } } if (this.astSelfRecommendInfo != null) { for (int k = 0; k < this.astSelfRecommendInfo.Length; k++) { this.astSelfRecommendInfo[k] = (COMDT_SELF_RECOMMEND_INFO)ProtocolObjectPool.Get(COMDT_SELF_RECOMMEND_INFO.CLASS_ID); } } this.stRankInfo = (COMDT_GUILD_RANK_INFO)ProtocolObjectPool.Get(COMDT_GUILD_RANK_INFO.CLASS_ID); }
public COMDT_GUILD_INFO() { this.stBriefInfo = (COMDT_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_GUILD_BRIEF_INFO.CLASS_ID); this.astMemberInfo = new COMDT_GUILD_MEMBER_INFO[150]; for (int i = 0; i < 150; i++) { this.astMemberInfo[i] = (COMDT_GUILD_MEMBER_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MEMBER_INFO.CLASS_ID); } this.astBuildingInfo = new COMDT_GUILD_BUILDING[10]; for (int j = 0; j < 10; j++) { this.astBuildingInfo[j] = (COMDT_GUILD_BUILDING)ProtocolObjectPool.Get(COMDT_GUILD_BUILDING.CLASS_ID); } this.astSelfRecommendInfo = new COMDT_SELF_RECOMMEND_INFO[2]; for (int k = 0; k < 2; k++) { this.astSelfRecommendInfo[k] = (COMDT_SELF_RECOMMEND_INFO)ProtocolObjectPool.Get(COMDT_SELF_RECOMMEND_INFO.CLASS_ID); } this.stRankInfo = (COMDT_GUILD_RANK_INFO)ProtocolObjectPool.Get(COMDT_GUILD_RANK_INFO.CLASS_ID); this.szGroupOpenID = new byte[128]; this.stGuildMatchInfo = (COMDT_GUILD_MATCH_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MATCH_INFO.CLASS_ID); this.astGuildMatchOBInfo = new COMDT_GUILD_MATCH_OB_INFO[10]; for (int l = 0; l < 10; l++) { this.astGuildMatchOBInfo[l] = (COMDT_GUILD_MATCH_OB_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MATCH_OB_INFO.CLASS_ID); } }
public override void OnRelease() { if (this.stBriefInfo != null) { this.stBriefInfo.Release(); this.stBriefInfo = null; } this.ullBuildTime = 0L; this.dwGuildMoney = 0; this.dwActive = 0; this.dwCoinPool = 0; this.dwMaintainTime = 0; this.dwElectionTime = 0; if (this.astMemberInfo != null) { for (int i = 0; i < this.astMemberInfo.Length; i++) { if (this.astMemberInfo[i] != null) { this.astMemberInfo[i].Release(); this.astMemberInfo[i] = null; } } } this.bBuildingCnt = 0; if (this.astBuildingInfo != null) { for (int j = 0; j < this.astBuildingInfo.Length; j++) { if (this.astBuildingInfo[j] != null) { this.astBuildingInfo[j].Release(); this.astBuildingInfo[j] = null; } } } this.bSelfRecommendCnt = 0; if (this.astSelfRecommendInfo != null) { for (int k = 0; k < this.astSelfRecommendInfo.Length; k++) { if (this.astSelfRecommendInfo[k] != null) { this.astSelfRecommendInfo[k].Release(); this.astSelfRecommendInfo[k] = null; } } } if (this.stRankInfo != null) { this.stRankInfo.Release(); this.stRankInfo = null; } this.dwChangeNameCnt = 0; this.dwStar = 0; this.dwGroupGuildID = 0; }
public override void OnRelease() { this.bResult = 0; if (this.stGuildBriefInfo != null) { this.stGuildBriefInfo.Release(); this.stGuildBriefInfo = null; } this.dwApplyTime = 0; }
public override void OnRelease() { this.ullGuildID = 0uL; this.ullAcntUid = 0uL; this.dwGameEntity = 0u; this.dwLogicWorldID = 0u; if (this.stGuildBriefInfo != null) { this.stGuildBriefInfo.Release(); this.stGuildBriefInfo = null; } this.bSearchType = 0; }
public COMDT_GUILD_INFO() { this.stBriefInfo = (COMDT_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_GUILD_BRIEF_INFO.CLASS_ID); this.astMemberInfo = new COMDT_GUILD_MEMBER_INFO[150]; for (int i = 0; i < 150; i++) { this.astMemberInfo[i] = (COMDT_GUILD_MEMBER_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MEMBER_INFO.CLASS_ID); } this.stRankInfo = (COMDT_GUILD_RANK_INFO)ProtocolObjectPool.Get(COMDT_GUILD_RANK_INFO.CLASS_ID); this.szGroupOpenID = new byte[128]; this.stGuildMatchInfo = (COMDT_GUILD_MATCH_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MATCH_INFO.CLASS_ID); this.astGuildMatchOBInfo = new COMDT_GUILD_MATCH_OB_INFO[10]; for (int j = 0; j < 10; j++) { this.astGuildMatchOBInfo[j] = (COMDT_GUILD_MATCH_OB_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MATCH_OB_INFO.CLASS_ID); } }
public override void OnRelease() { if (this.stBriefInfo != null) { this.stBriefInfo.Release(); this.stBriefInfo = null; } this.ullBuildTime = 0uL; this.dwMaintainTime = 0u; if (this.astMemberInfo != null) { for (int i = 0; i < this.astMemberInfo.Length; i++) { if (this.astMemberInfo[i] != null) { this.astMemberInfo[i].Release(); this.astMemberInfo[i] = null; } } } if (this.stRankInfo != null) { this.stRankInfo.Release(); this.stRankInfo = null; } this.dwChangeNameCnt = 0u; this.dwStar = 0u; this.dwGroupGuildID = 0u; if (this.stGuildMatchInfo != null) { this.stGuildMatchInfo.Release(); this.stGuildMatchInfo = null; } this.bOBMatchCnt = 0; if (this.astGuildMatchOBInfo != null) { for (int j = 0; j < this.astGuildMatchOBInfo.Length; j++) { if (this.astGuildMatchOBInfo[j] != null) { this.astGuildMatchOBInfo[j].Release(); this.astGuildMatchOBInfo[j] = null; } } } }
public override void OnUse() { this.stBriefInfo = (COMDT_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_GUILD_BRIEF_INFO.CLASS_ID); if (this.astMemberInfo != null) { for (int i = 0; i < this.astMemberInfo.Length; i++) { this.astMemberInfo[i] = (COMDT_GUILD_MEMBER_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MEMBER_INFO.CLASS_ID); } } this.stRankInfo = (COMDT_GUILD_RANK_INFO)ProtocolObjectPool.Get(COMDT_GUILD_RANK_INFO.CLASS_ID); this.stGuildMatchInfo = (COMDT_GUILD_MATCH_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MATCH_INFO.CLASS_ID); if (this.astGuildMatchOBInfo != null) { for (int j = 0; j < this.astGuildMatchOBInfo.Length; j++) { this.astGuildMatchOBInfo[j] = (COMDT_GUILD_MATCH_OB_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MATCH_OB_INFO.CLASS_ID); } } }
public override void OnUse() { this.stGuildBriefInfo = (COMDT_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_GUILD_BRIEF_INFO.CLASS_ID); }
public SCPKG_APPLY_JOIN_GUILD_RSP() { this.stGuildBriefInfo = (COMDT_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_GUILD_BRIEF_INFO.CLASS_ID); }
public COMDT_TRANS_CONTEXT_OF_SEARCH_GUILD() { this.szGuildName = new byte[32]; this.stGuildBriefInfo = (COMDT_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_GUILD_BRIEF_INFO.CLASS_ID); }