amatt13/BossFight

Split RequestValidator.cs into multiple files with smaller scopes

オープン

#32 opened on 2023/03/28

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1 件のフォーク)auto 404
Back Endgood first issue

Repository metrics

Stars
 (1 個のスター)
PR merge metrics
 (PR metrics pending)

説明

  1. Player actions:
  • PlayerCanSellWeapon()
  • PlayerCanEquipWeapon()
  • PlayerCanAttackMonsterWithEquippedWeapon()
  1. User authentication:
  • ValidateUserLoginCredentials()
  1. Chat messaging:
  • ValidateChatMessage()
  • ValidateMaxMessageRequestNumberNotExceeded()
  1. Game mechanics:
  • ValidateVoteForMonsterTier()
  1. Data validation:
  • AllValuesAreFilled()
  1. Database validation:
  • PlayerExists()
  • PlayerClassExists()
  • PlayerIsEligibleForPlayerClassAcquisition()
  • PlayerOwnsPlayerClass()

コントリビューターガイド