Merge branch 'SES-91' of git.wmi.amu.edu.pl:s426135/session-companion into SES-91
This commit is contained in:
commit
b0e0e5c5f5
@ -10,5 +10,6 @@ namespace SessionCompanion.Services.Interfaces
|
|||||||
{
|
{
|
||||||
public interface IUserService : IServiceBase<UserViewModel, User>
|
public interface IUserService : IServiceBase<UserViewModel, User>
|
||||||
{
|
{
|
||||||
|
Task<UserViewModel> SearchUserByNickname(string userName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,5 +17,11 @@ namespace SessionCompanion.Services.Services
|
|||||||
{
|
{
|
||||||
public UserService(IMapper mapper, IRepository<User> repository) : base(mapper, repository)
|
public UserService(IMapper mapper, IRepository<User> repository) : base(mapper, repository)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
public async Task<UserViewModel> SearchUserByNickname(string userName)
|
||||||
|
{
|
||||||
|
var User = await Repository.Get(u => u.Nickname.Equals(userName)).FirstOrDefaultAsync();
|
||||||
|
return Mapper.Map<UserViewModel>(User);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.AlignmentViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.AlignmentViewModels
|
|
||||||
{
|
{
|
||||||
public class AlignmentViewModel
|
public class AlignmentViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator przynależności postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.BackgroundViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.BackgroundViewModels
|
|
||||||
{
|
{
|
||||||
public class BackgroundViewModel
|
public class BackgroundViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator przeszłości postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,40 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.BiographyViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.BiographyViewModels
|
|
||||||
{
|
{
|
||||||
public class BiographyViewModel
|
public class BiographyViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator biografii postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator postaci
|
||||||
|
/// </summary>
|
||||||
public int CharacterId { get; set; }
|
public int CharacterId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Nazwa postaci
|
||||||
|
/// </summary>
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator klasy postaci
|
||||||
|
/// </summary>
|
||||||
public int ClassId { get; set; }
|
public int ClassId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator przynależności postaci
|
||||||
|
/// </summary>
|
||||||
public int AlignmentId { get; set; }
|
public int AlignmentId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator przeszłości postaci
|
||||||
|
/// </summary>
|
||||||
public int BackgroundId { get; set; }
|
public int BackgroundId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Płeć postaci
|
||||||
|
/// </summary>
|
||||||
public string Sex { get; set; }
|
public string Sex { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
public class CharacterBasicStatsViewModel
|
public class CharacterBasicStatsViewModel
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identyfikator psotaci
|
/// Identyfikator postaci
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
public class CharacterForLoginViewModel
|
public class CharacterForLoginViewModel
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identyfikator psotaci
|
/// Identyfikator postaci
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
public class CharacterViewModel
|
public class CharacterViewModel
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identyfikator psotaci
|
/// Identyfikator postaci
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
@ -1,25 +1,75 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.CharismaViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.CharismaViewModels
|
|
||||||
{
|
{
|
||||||
public class CharismaViewModel
|
public class CharismaViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator charyzmy postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator postaci
|
||||||
|
/// </summary>
|
||||||
public int CharacterId { get; set; }
|
public int CharacterId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość charyzmy
|
||||||
|
/// </summary>
|
||||||
public int Value { get; set; }
|
public int Value { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów
|
||||||
|
/// </summary>
|
||||||
public int Modification { get; set; }
|
public int Modification { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów obronnych
|
||||||
|
/// </summary>
|
||||||
public int SavingThrows { get; set; }
|
public int SavingThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w charyźmie
|
||||||
|
/// </summary>
|
||||||
public bool CanSaveThrows { get; set; }
|
public bool CanSaveThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności oszustwa
|
||||||
|
/// </summary>
|
||||||
public int Deception { get; set; }
|
public int Deception { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w oszustwie
|
||||||
|
/// </summary>
|
||||||
public bool CanDeception { get; set; }
|
public bool CanDeception { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności zastraszania
|
||||||
|
/// </summary>
|
||||||
public int Intimidation { get; set; }
|
public int Intimidation { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w zastraszaniu
|
||||||
|
/// </summary>
|
||||||
public bool CanIntimidation { get; set; }
|
public bool CanIntimidation { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności występowania
|
||||||
|
/// </summary>
|
||||||
public int Performance { get; set; }
|
public int Performance { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w występowaniu
|
||||||
|
/// </summary>
|
||||||
public bool CanPerformance { get; set; }
|
public bool CanPerformance { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności perswazji
|
||||||
|
/// </summary>
|
||||||
public int Persuasion { get; set; }
|
public int Persuasion { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w perswazji
|
||||||
|
/// </summary>
|
||||||
public bool CanPersuasion { get; set; }
|
public bool CanPersuasion { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -7,7 +7,14 @@ namespace SessionCompanion.ViewModels.ClassViewModels
|
|||||||
{
|
{
|
||||||
public class ClassViewModel
|
public class ClassViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator klasy postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Nazwa klasy
|
||||||
|
/// </summary>
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,17 +1,35 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.ConstitutionViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.ConstitutionViewModels
|
|
||||||
{
|
{
|
||||||
public class ConstitutionViewModel
|
public class ConstitutionViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator kondycji postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator postaci
|
||||||
|
/// </summary>
|
||||||
public int CharacterId { get; set; }
|
public int CharacterId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość kondycji
|
||||||
|
/// </summary>
|
||||||
public int Value { get; set; }
|
public int Value { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów
|
||||||
|
/// </summary>
|
||||||
public int Modification { get; set; }
|
public int Modification { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów obronnych
|
||||||
|
/// </summary>
|
||||||
public int SavingThrows { get; set; }
|
public int SavingThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w kondycji
|
||||||
|
/// </summary>
|
||||||
public bool CanSaveThrows { get; set; }
|
public bool CanSaveThrows { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,23 +1,65 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.DexterityViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.DexterityViewModels
|
|
||||||
{
|
{
|
||||||
public class DexterityViewModel
|
public class DexterityViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator zręczności postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator postaci
|
||||||
|
/// </summary>
|
||||||
public int CharacterId { get; set; }
|
public int CharacterId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość zręczności
|
||||||
|
/// </summary>
|
||||||
public int Value { get; set; }
|
public int Value { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów
|
||||||
|
/// </summary>
|
||||||
public int Modification { get; set; }
|
public int Modification { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów obronnych
|
||||||
|
/// </summary>
|
||||||
public int SavingThrows { get; set; }
|
public int SavingThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w zręczności
|
||||||
|
/// </summary>
|
||||||
public bool CanSaveThrows { get; set; }
|
public bool CanSaveThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności akrobatyki
|
||||||
|
/// </summary>
|
||||||
public int Acrobatics { get; set; }
|
public int Acrobatics { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w akrobatyce
|
||||||
|
/// </summary>
|
||||||
public bool CanAcrobatics { get; set; }
|
public bool CanAcrobatics { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności zwinnych dłoni
|
||||||
|
/// </summary>
|
||||||
public int SleightOfHand { get; set; }
|
public int SleightOfHand { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w zwinnych dłoniach
|
||||||
|
/// </summary>
|
||||||
public bool CanSleightOfHand { get; set; }
|
public bool CanSleightOfHand { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności skradania się
|
||||||
|
/// </summary>
|
||||||
public int Stealth { get; set; }
|
public int Stealth { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w skradaniu się
|
||||||
|
/// </summary>
|
||||||
public bool CanStealth { get; set; }
|
public bool CanStealth { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,27 +1,85 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.IntelligenceViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.IntelligenceViewModels
|
|
||||||
{
|
{
|
||||||
public class IntelligenceViewModel
|
public class IntelligenceViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator inteligencji postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator postaci
|
||||||
|
/// </summary>
|
||||||
public int CharacterId { get; set; }
|
public int CharacterId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość inteligencji
|
||||||
|
/// </summary>
|
||||||
public int Value { get; set; }
|
public int Value { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów
|
||||||
|
/// </summary>
|
||||||
public int Modification { get; set; }
|
public int Modification { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów obronnych
|
||||||
|
/// </summary>
|
||||||
public int SavingThrows { get; set; }
|
public int SavingThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w inteligencji
|
||||||
|
/// </summary>
|
||||||
public bool CanSaveThrows { get; set; }
|
public bool CanSaveThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności wiedzy tejemnej
|
||||||
|
/// </summary>
|
||||||
public int Arcana { get; set; }
|
public int Arcana { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w wiedzy tejemnej
|
||||||
|
/// </summary>
|
||||||
public bool CanArcana { get; set; }
|
public bool CanArcana { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności historii
|
||||||
|
/// </summary>
|
||||||
public int History { get; set; }
|
public int History { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w historii
|
||||||
|
/// </summary>
|
||||||
public bool CanHistory { get; set; }
|
public bool CanHistory { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności śledztwa
|
||||||
|
/// </summary>
|
||||||
public int Investigation { get; set; }
|
public int Investigation { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w śledztwie
|
||||||
|
/// </summary>
|
||||||
public bool CanInvestigation { get; set; }
|
public bool CanInvestigation { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności przyrody
|
||||||
|
/// </summary>
|
||||||
public int Nature { get; set; }
|
public int Nature { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w przyrodzie
|
||||||
|
/// </summary>
|
||||||
public bool CanNature { get; set; }
|
public bool CanNature { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności religii
|
||||||
|
/// </summary>
|
||||||
public int Religion { get; set; }
|
public int Religion { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w religii
|
||||||
|
/// </summary>
|
||||||
public bool CanReligion { get; set; }
|
public bool CanReligion { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,13 +1,15 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.RaceViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.RaceViewModels
|
|
||||||
{
|
{
|
||||||
public class RaceViewModel
|
public class RaceViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator rasy postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Nazwa rasy
|
||||||
|
/// </summary>
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,54 @@
|
|||||||
<name>SessionCompanion.ViewModels</name>
|
<name>SessionCompanion.ViewModels</name>
|
||||||
</assembly>
|
</assembly>
|
||||||
<members>
|
<members>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.AlignmentViewModels.AlignmentViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator przynależności postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BackgroundViewModels.BackgroundViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator przeszłości postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator biografii postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.Name">
|
||||||
|
<summary>
|
||||||
|
Nazwa postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.ClassId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator klasy postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.AlignmentId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator przynależności postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.BackgroundId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator przeszłości postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.Sex">
|
||||||
|
<summary>
|
||||||
|
Płeć postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterBasicStatsViewModel.Id">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterBasicStatsViewModel.Id">
|
||||||
<summary>
|
<summary>
|
||||||
Identyfikator psotaci
|
Identyfikator postaci
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterBasicStatsViewModel.Name">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterBasicStatsViewModel.Name">
|
||||||
@ -26,7 +71,7 @@
|
|||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterForLoginViewModel.Id">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterForLoginViewModel.Id">
|
||||||
<summary>
|
<summary>
|
||||||
Identyfikator psotaci
|
Identyfikator postaci
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterForLoginViewModel.UserId">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterForLoginViewModel.UserId">
|
||||||
@ -51,7 +96,7 @@
|
|||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterViewModel.Id">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterViewModel.Id">
|
||||||
<summary>
|
<summary>
|
||||||
Identyfikator psotaci
|
Identyfikator postaci
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterViewModel.UserId">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterViewModel.UserId">
|
||||||
@ -59,5 +104,450 @@
|
|||||||
Id użytkownika do którego przypisana jest postać
|
Id użytkownika do którego przypisana jest postać
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator charyzmy postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość charyzmy
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w charyźmie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Deception">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności oszustwa
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanDeception">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w oszustwie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Intimidation">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności zastraszania
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanIntimidation">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w zastraszaniu
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Performance">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności występowania
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanPerformance">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w występowaniu
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Persuasion">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności perswazji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanPersuasion">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w perswazji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ClassViewModels.ClassViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator klasy postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ClassViewModels.ClassViewModel.Name">
|
||||||
|
<summary>
|
||||||
|
Nazwa klasy
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator kondycji postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość kondycji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w kondycji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator zręczności postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość zręczności
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w zręczności
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Acrobatics">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności akrobatyki
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CanAcrobatics">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w akrobatyce
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.SleightOfHand">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności zwinnych dłoni
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CanSleightOfHand">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w zwinnych dłoniach
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Stealth">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności skradania się
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CanStealth">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w skradaniu się
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator inteligencji postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość inteligencji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w inteligencji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Arcana">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności wiedzy tejemnej
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanArcana">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w wiedzy tejemnej
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.History">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności historii
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanHistory">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w historii
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Investigation">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności śledztwa
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanInvestigation">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w śledztwie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Nature">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności przyrody
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanNature">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w przyrodzie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Religion">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności religii
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanReligion">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w religii
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.RaceViewModels.RaceViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator rasy postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.RaceViewModels.RaceViewModel.Name">
|
||||||
|
<summary>
|
||||||
|
Nazwa rasy
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator statystyk postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.ExperiencePoints">
|
||||||
|
<summary>
|
||||||
|
Ilość punktów doświadczenia
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Level">
|
||||||
|
<summary>
|
||||||
|
Poziom postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Speed">
|
||||||
|
<summary>
|
||||||
|
Szybkość postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Initiative">
|
||||||
|
<summary>
|
||||||
|
Inicjatywa postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.HealthPoints">
|
||||||
|
<summary>
|
||||||
|
Maksymalna wartość punktów życia
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.CurrentHealthPoints">
|
||||||
|
<summary>
|
||||||
|
Aktualna wartość punktów życia
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.ArmorClass">
|
||||||
|
<summary>
|
||||||
|
Klasa pancerza
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Proficiency">
|
||||||
|
<summary>
|
||||||
|
Premia z biegłości
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator siły postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość siły
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w sile
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.Athletics">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności atletyki
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.CanAthletics">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w atletyce
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.UserViewModels.UserViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator użytkownika
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.UserViewModels.UserViewModel.Nickname">
|
||||||
|
<summary>
|
||||||
|
Nazwa użytkowika
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.UserViewModels.UserViewModel.Password">
|
||||||
|
<summary>
|
||||||
|
Hasło użytkownika
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator mądrości postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość mądrości
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w mądrości
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.AnimalHandling">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności opieki nad zwierzętami
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanAnimalHandling">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w opiece nad zwierzętami
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Insight">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności intuicji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanInsight">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w intuicji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Medicine">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności medycyny
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanMedicine">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w medycynie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Perception">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności percepcji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanPerception">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w percepcji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Survival">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności sztuki przetrwania
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanSurvival">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w sztuce przetrwania
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
</members>
|
</members>
|
||||||
</doc>
|
</doc>
|
||||||
|
@ -1,28 +1,64 @@
|
|||||||
using System;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.StatisticsViewModels
|
namespace SessionCompanion.ViewModels.StatisticsViewModels
|
||||||
{
|
{
|
||||||
public class StatisticsViewModel
|
public class StatisticsViewModel
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator statystyk postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator postaci
|
||||||
|
/// </summary>
|
||||||
public int CharacterId { get; set; }
|
public int CharacterId { get; set; }
|
||||||
[Range(0, int.MaxValue)]
|
|
||||||
|
/// <summary>
|
||||||
|
/// Ilość punktów doświadczenia
|
||||||
|
/// </summary>
|
||||||
public int ExperiencePoints { get; set; }
|
public int ExperiencePoints { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Poziom postaci
|
||||||
|
/// </summary>
|
||||||
[Range(0, int.MaxValue)]
|
[Range(0, int.MaxValue)]
|
||||||
public int Level { get; set; }
|
public int Level { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Szybkość postaci
|
||||||
|
/// </summary>
|
||||||
[Range(0, int.MaxValue)]
|
[Range(0, int.MaxValue)]
|
||||||
public int Speed { get; set; }
|
public int Speed { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Inicjatywa postaci
|
||||||
|
/// </summary>
|
||||||
[Range(0, int.MaxValue)]
|
[Range(0, int.MaxValue)]
|
||||||
public int Initiative { get; set; }
|
public int Initiative { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Maksymalna wartość punktów życia
|
||||||
|
/// </summary>
|
||||||
[Range(0, int.MaxValue)]
|
[Range(0, int.MaxValue)]
|
||||||
public int HealthPoints { get; set; }
|
public int HealthPoints { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Aktualna wartość punktów życia
|
||||||
|
/// </summary>
|
||||||
[Range(0, int.MaxValue)]
|
[Range(0, int.MaxValue)]
|
||||||
public int CurrentHealthPoints { get; set; }
|
public int CurrentHealthPoints { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Klasa pancerza
|
||||||
|
/// </summary>
|
||||||
[Range(0, int.MaxValue)]
|
[Range(0, int.MaxValue)]
|
||||||
public int ArmorClass { get; set; }
|
public int ArmorClass { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Premia z biegłości
|
||||||
|
/// </summary>
|
||||||
[Range(0, int.MaxValue)]
|
[Range(0, int.MaxValue)]
|
||||||
public int Proficiency { get; set; }
|
public int Proficiency { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -1,19 +1,45 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.StrengthViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.StrengthViewModels
|
|
||||||
{
|
{
|
||||||
public class StrengthViewModel
|
public class StrengthViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator siły postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator postaci
|
||||||
|
/// </summary>
|
||||||
public int CharacterId { get; set; }
|
public int CharacterId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość siły
|
||||||
|
/// </summary>
|
||||||
public int Value { get; set; }
|
public int Value { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów
|
||||||
|
/// </summary>
|
||||||
public int Modification { get; set; }
|
public int Modification { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów obronnych
|
||||||
|
/// </summary>
|
||||||
public int SavingThrows { get; set; }
|
public int SavingThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w sile
|
||||||
|
/// </summary>
|
||||||
public bool CanSaveThrows { get; set; }
|
public bool CanSaveThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności atletyki
|
||||||
|
/// </summary>
|
||||||
public int Athletics { get; set; }
|
public int Athletics { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w atletyce
|
||||||
|
/// </summary>
|
||||||
public bool CanAthletics { get; set; }
|
public bool CanAthletics { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,14 +1,20 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.UserViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.UserViewModels
|
|
||||||
{
|
{
|
||||||
public class UserViewModel
|
public class UserViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator użytkownika
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Nazwa użytkowika
|
||||||
|
/// </summary>
|
||||||
public string Nickname { get; set; }
|
public string Nickname { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Hasło użytkownika
|
||||||
|
/// </summary>
|
||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,27 +1,85 @@
|
|||||||
using System;
|
namespace SessionCompanion.ViewModels.WisdomViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace SessionCompanion.ViewModels.WisdomViewModels
|
|
||||||
{
|
{
|
||||||
public class WisdomViewModel
|
public class WisdomViewModel
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator mądrości postaci
|
||||||
|
/// </summary>
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Identyfikator postaci
|
||||||
|
/// </summary>
|
||||||
public int CharacterId { get; set; }
|
public int CharacterId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość mądrości
|
||||||
|
/// </summary>
|
||||||
public int Value { get; set; }
|
public int Value { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów
|
||||||
|
/// </summary>
|
||||||
public int Modification { get; set; }
|
public int Modification { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Modyfikator rzutów obronnych
|
||||||
|
/// </summary>
|
||||||
public int SavingThrows { get; set; }
|
public int SavingThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w mądrości
|
||||||
|
/// </summary>
|
||||||
public bool CanSaveThrows { get; set; }
|
public bool CanSaveThrows { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności opieki nad zwierzętami
|
||||||
|
/// </summary>
|
||||||
public int AnimalHandling { get; set; }
|
public int AnimalHandling { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w opiece nad zwierzętami
|
||||||
|
/// </summary>
|
||||||
public bool CanAnimalHandling { get; set; }
|
public bool CanAnimalHandling { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności intuicji
|
||||||
|
/// </summary>
|
||||||
public int Insight { get; set; }
|
public int Insight { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w intuicji
|
||||||
|
/// </summary>
|
||||||
public bool CanInsight { get; set; }
|
public bool CanInsight { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności medycyny
|
||||||
|
/// </summary>
|
||||||
public int Medicine { get; set; }
|
public int Medicine { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w medycynie
|
||||||
|
/// </summary>
|
||||||
public bool CanMedicine { get; set; }
|
public bool CanMedicine { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności percepcji
|
||||||
|
/// </summary>
|
||||||
public int Perception { get; set; }
|
public int Perception { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w percepcji
|
||||||
|
/// </summary>
|
||||||
public bool CanPerception { get; set; }
|
public bool CanPerception { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wartość umiejętności sztuki przetrwania
|
||||||
|
/// </summary>
|
||||||
public int Survival { get; set; }
|
public int Survival { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Czy postać posiada biegłość w sztuce przetrwania
|
||||||
|
/// </summary>
|
||||||
public bool CanSurvival { get; set; }
|
public bool CanSurvival { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,5 +1,6 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using SessionCompanion.Services.Interfaces;
|
using SessionCompanion.Services.Interfaces;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace SessionCompanion.Controllers
|
namespace SessionCompanion.Controllers
|
||||||
{
|
{
|
||||||
@ -13,5 +14,13 @@ namespace SessionCompanion.Controllers
|
|||||||
{
|
{
|
||||||
this._service = service;
|
this._service = service;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HttpGet("login")]
|
||||||
|
public async Task<IActionResult> Login(string userName, string password)
|
||||||
|
{
|
||||||
|
var User = await _service.SearchUserByNickname(userName);
|
||||||
|
if (User.Password == password) { return Json(User.Id); }
|
||||||
|
return BadRequest();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user