コード例 #1
0
ファイル: COMDT_TEAM_INFO.cs プロジェクト: isoundy000/wzry-1
 public override void OnRelease()
 {
     if (this.stSelfInfo != null)
     {
         this.stSelfInfo.Release();
         this.stSelfInfo = null;
     }
     if (this.stTeamMaster != null)
     {
         this.stTeamMaster.Release();
         this.stTeamMaster = null;
     }
     if (this.stTeamInfo != null)
     {
         this.stTeamInfo.Release();
         this.stTeamInfo = null;
     }
     if (this.stMemInfo != null)
     {
         this.stMemInfo.Release();
         this.stMemInfo = null;
     }
     this.dwTeamId       = 0;
     this.dwTeamSeq      = 0;
     this.iTeamEntity    = 0;
     this.ullTeamFeature = 0L;
 }
コード例 #2
0
ファイル: COMDT_TEAM_INFO.cs プロジェクト: isoundy000/wzry-1
 public override void OnUse()
 {
     this.stSelfInfo   = (COMDT_TEAM_MEMBER_UNIQ)ProtocolObjectPool.Get(COMDT_TEAM_MEMBER_UNIQ.CLASS_ID);
     this.stTeamMaster = (COMDT_TEAM_MEMBER_UNIQ)ProtocolObjectPool.Get(COMDT_TEAM_MEMBER_UNIQ.CLASS_ID);
     this.stTeamInfo   = (COMDT_TEAM_BASE)ProtocolObjectPool.Get(COMDT_TEAM_BASE.CLASS_ID);
     this.stMemInfo    = (COMDT_TEAMMEMBER)ProtocolObjectPool.Get(COMDT_TEAMMEMBER.CLASS_ID);
 }
コード例 #3
0
 public override void OnRelease()
 {
     if (this.stSelfInfo != null)
     {
         this.stSelfInfo.Release();
         this.stSelfInfo = null;
     }
     if (this.stTeamMaster != null)
     {
         this.stTeamMaster.Release();
         this.stTeamMaster = null;
     }
     if (this.stTeamInfo != null)
     {
         this.stTeamInfo.Release();
         this.stTeamInfo = null;
     }
     if (this.stMemInfo != null)
     {
         this.stMemInfo.Release();
         this.stMemInfo = null;
     }
 }