public PlayerIsHost(Models.SessionModel.Session session, string playerId)
 {
     this.playerId = playerId;
     this.session  = session;
 }
Exemple #2
0
 protected AHostAction(AActionParams actionParams) : base(actionParams)
 {
     Session = actionParams.Session !;
     AddValidators(new AActionValidator[] { new PlayerIsHost(Session, PlayerId) });
 }