Descent.Messaging.Events.GiveHeroCardsEventArgs.GiveHeroCardsEventArgs C# (CSharp) Method

GiveHeroCardsEventArgs() public method

public GiveHeroCardsEventArgs ( int playerId, int heroCardIds ) : System.Diagnostics.Contracts
playerId int
heroCardIds int
return System.Diagnostics.Contracts
        public GiveHeroCardsEventArgs(int playerId, int[] heroCardIds)
        {
            Contract.Requires(playerId > 0);
            Contract.Requires(heroCardIds != null);
            Contract.Requires(heroCardIds.Length > 0);
            PlayerId = playerId;
            HeroCardIds = heroCardIds;
        }

Same methods

GiveHeroCardsEventArgs::GiveHeroCardsEventArgs ( string stringArgs ) : System.Diagnostics.Contracts