public COMDT_RANKING_LIST_ITEM_EXTRA_PLAYER() { this.szHeadUrl = new byte[256]; this.szPlayerName = new byte[64]; this.stGameVip = (COMDT_GAME_VIP_CLIENT)ProtocolObjectPool.Get(COMDT_GAME_VIP_CLIENT.CLASS_ID); this.stRankInfo = (COMDT_TRANK_GRADEOFRANK_INFO)ProtocolObjectPool.Get(COMDT_TRANK_GRADEOFRANK_INFO.CLASS_ID); }
public override void OnRelease() { this.ullUid = 0uL; this.iLogicWorldId = 0; this.dwPvpLevel = 0u; this.dwVipLevel = 0u; if (this.stGameVip != null) { this.stGameVip.Release(); this.stGameVip = null; } this.bPrivilege = 0; this.dwPrivilegeRewardTime = 0u; if (this.stRankInfo != null) { this.stRankInfo.Release(); this.stRankInfo = null; } }
public override void OnUse() { this.stGameVip = (COMDT_GAME_VIP_CLIENT)ProtocolObjectPool.Get(COMDT_GAME_VIP_CLIENT.CLASS_ID); this.stRankInfo = (COMDT_TRANK_GRADEOFRANK_INFO)ProtocolObjectPool.Get(COMDT_TRANK_GRADEOFRANK_INFO.CLASS_ID); }