Server.Guilds.Guild.VerifyGuild_Callback C# (CSharp) Méthode

VerifyGuild_Callback() private méthode

private VerifyGuild_Callback ( ) : void
Résultat void
		private void VerifyGuild_Callback()
		{
			if( (m_Guildstone == null) || m_Members.Count == 0 )
				Disband();

			CheckExpiredWars();

			AllianceInfo alliance = this.Alliance;

			if( alliance != null )
				alliance.CheckLeader();

			alliance = this.Alliance;	//CheckLeader could possibly change the value of this.Alliance

			if( alliance != null && !alliance.IsMember( this ) && !alliance.IsPendingMember( this ) )	//This block is there to fix a bug in the code in an older version.  
				this.Alliance = null;	//Will call Alliance.RemoveGuild which will set it null & perform all the pertient checks as far as alliacne disbanding

		}