Beispiel #1
0
 public COMDT_PREPARE_GUILD_INFO()
 {
     this.stBriefInfo   = (COMDT_PREPARE_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_PREPARE_GUILD_BRIEF_INFO.CLASS_ID);
     this.astMemberInfo = new COMDT_GUILD_MEMBER_BRIEF_INFO[20];
     for (int i = 0; i < 20; i++)
     {
         this.astMemberInfo[i] = (COMDT_GUILD_MEMBER_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MEMBER_BRIEF_INFO.CLASS_ID);
     }
 }
Beispiel #2
0
 public override void OnRelease()
 {
     this.bResult = 0;
     if (this.stPreGuildBriefInfo != null)
     {
         this.stPreGuildBriefInfo.Release();
         this.stPreGuildBriefInfo = null;
     }
     this.bSearchType = 0;
 }
Beispiel #3
0
 public override void OnUse()
 {
     this.stBriefInfo = (COMDT_PREPARE_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_PREPARE_GUILD_BRIEF_INFO.CLASS_ID);
     if (this.astMemberInfo != null)
     {
         for (int i = 0; i < this.astMemberInfo.Length; i++)
         {
             this.astMemberInfo[i] = (COMDT_GUILD_MEMBER_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_GUILD_MEMBER_BRIEF_INFO.CLASS_ID);
         }
     }
 }
Beispiel #4
0
 public override void OnRelease()
 {
     if (this.stBriefInfo != null)
     {
         this.stBriefInfo.Release();
         this.stBriefInfo = null;
     }
     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;
             }
         }
     }
 }
Beispiel #5
0
 public SCPKG_SEARCH_PREGUILD_RSP()
 {
     this.stPreGuildBriefInfo = (COMDT_PREPARE_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_PREPARE_GUILD_BRIEF_INFO.CLASS_ID);
 }
Beispiel #6
0
 public override void OnUse()
 {
     this.stPreGuildBriefInfo = (COMDT_PREPARE_GUILD_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_PREPARE_GUILD_BRIEF_INFO.CLASS_ID);
 }