Merge branch 'master' of https://codefirst.iut.uca.fr/git/lucas.delanier/LOLProject
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
commit
1dcd5db1fc
After Width: | Height: | Size: 55 KiB |
@ -1,168 +1,47 @@
|
|||||||
# prepaLoL
|
|
||||||
|
## LOLProject
|
||||||
## Diagramme de classes du modèle
|
|
||||||
```mermaid
|
|
||||||
classDiagram
|
|
||||||
class LargeImage{
|
|
||||||
+/Base64 : string
|
**LOLProject** est un projet reliant une api C# et entityframework afin de produire une API qui renvoie les infromations d'une base de données sqlLite sur un client MAUI
|
||||||
}
|
|
||||||
class Champion{
|
## :floppy_disk: FEATURES
|
||||||
+/Name : string
|
|
||||||
+/Bio : string
|
- L'api dispose des principales requetes CRUD sur les champions,skill,skin,rune,runepages aussi consultable sur le swagger UI.
|
||||||
+/Icon : string
|
- L'ORM réalisé avec EntityFramework afin d'enregistrer dans une base de données SQLlite
|
||||||
+/Characteristics : Dictionary~string, int~
|
- L'application MAUI pour faire des requetes depuis un client et les affichers.
|
||||||
~ AddSkin(skin : Skin) bool
|
|
||||||
~ RemoveSkin(skin: Skin) bool
|
|
||||||
+ AddSkill(skill: Skill) bool
|

|
||||||
+ RemoveSkill(skill: Skill) bool
|
|
||||||
+ AddCharacteristics(someCharacteristics : params Tuple~string, int~[])
|
## :dizzy: Getting Started
|
||||||
+ RemoveCharacteristics(label : string) bool
|
|
||||||
+ this~label : string~ : int?
|
Une fois le dépot cloné, vous pouvez lancer le code sur votre téléphone Android grace a l'outil Android studio ou grace a un émulateur android.
|
||||||
}
|
|
||||||
Champion --> "1" LargeImage : Image
|
|
||||||
class ChampionClass{
|
|
||||||
<<enumeration>>
|
|
||||||
Unknown,
|
## :wrench: SUPPORT
|
||||||
Assassin,
|
En cas de problème lors de l'utilisation de l'application, vous pouvez nous contacer aux adresses suivantes :
|
||||||
Fighter,
|
|
||||||
Mage,
|
|
||||||
Marksman,
|
Lucas Delanier : **Lucas.Delanier@etu.uca.fr** </br>
|
||||||
Support,
|
Louison Parant : **Louison.Parant@etu.uca.fr**
|
||||||
Tank,
|

|
||||||
}
|
|
||||||
Champion --> "1" ChampionClass : Class
|
## ✨ Contributors
|
||||||
class Skin{
|
|
||||||
+/Name : string
|
<a href = "https://codefirst.iut.uca.fr/git/lucas.delanier">
|
||||||
+/Description : string
|
<img src ="https://codefirst.iut.uca.fr/git/avatars/6a3835d734392fccff3949f7c82a63b9?size=870" height="50px">
|
||||||
+/Icon : string
|
</a>
|
||||||
+/Price : float
|
<a href = "https://codefirst.iut.uca.fr/git/louison.parant">
|
||||||
}
|
<img src ="https://codefirst.iut.uca.fr/git/avatars/b337a607f680a2d9af25eb09ea457be9?size=870" height="50px">
|
||||||
Skin --> "1" LargeImage : Image
|
</a>
|
||||||
Champion "1" -- "*" Skin
|
|
||||||
class Skill{
|
|
||||||
+/Name : string
|
|
||||||
+/Description : string
|
|
||||||
}
|
|
||||||
class SkillType{
|
|
||||||
<<enumeration>>
|
|
||||||
Unknown,
|
|
||||||
Basic,
|
|
||||||
Passive,
|
|
||||||
Ultimate,
|
|
||||||
}
|
|
||||||
Skill --> "1" SkillType : Type
|
|
||||||
Champion --> "*" Skill
|
|
||||||
class Rune{
|
|
||||||
+/Name : string
|
|
||||||
+/Description : string
|
|
||||||
}
|
|
||||||
Rune --> "1" LargeImage : Image
|
|
||||||
class RuneFamily{
|
|
||||||
<<enumeration>>
|
|
||||||
Unknown,
|
|
||||||
Precision,
|
|
||||||
Domination
|
|
||||||
}
|
|
||||||
Rune --> "1" RuneFamily : Family
|
|
||||||
class Category{
|
|
||||||
<<enumeration>>
|
|
||||||
Major,
|
|
||||||
Minor1,
|
|
||||||
Minor2,
|
|
||||||
Minor3,
|
|
||||||
OtherMinor1,
|
|
||||||
OtherMinor2
|
|
||||||
}
|
|
||||||
class RunePage{
|
|
||||||
+/Name : string
|
|
||||||
+/this[category : Category] : Rune?
|
|
||||||
- CheckRunes(newRuneCategory : Category)
|
|
||||||
- CheckFamilies(cat1 : Category, cat2 : Category) bool?
|
|
||||||
- UpdateMajorFamily(minor : Category, expectedValue : bool)
|
|
||||||
}
|
|
||||||
RunePage --> "*" Rune : Dictionary~Category,Rune~
|
|
||||||
```
|
|
||||||
|
|
||||||
## Diagramme de classes des interfaces de gestion de l'accès aux données
|
|
||||||
```mermaid
|
|
||||||
classDiagram
|
|
||||||
direction LR;
|
|
||||||
class IGenericDataManager~T~{
|
|
||||||
<<interface>>
|
|
||||||
GetNbItems() Task~int~
|
|
||||||
GetItems(index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~T~~
|
|
||||||
GetNbItemsByName(substring : string)
|
|
||||||
GetItemsByName(substring : string, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~T~~
|
|
||||||
UpdateItem(oldItem : T, newItem : T) Task~T~~
|
|
||||||
AddItem(item : T) Task~T~
|
|
||||||
DeleteItem(item : T) Task~bool~
|
|
||||||
}
|
|
||||||
class IChampionsManager{
|
|
||||||
<<interface>>
|
|
||||||
GetNbItemsByCharacteristic(charName : string)
|
|
||||||
GetItemsByCharacteristic(charName : string, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~Champion?~~
|
|
||||||
GetNbItemsByClass(championClass : ChampionClass)
|
|
||||||
GetItemsByClass(championClass : ChampionClass, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~Champion?~~
|
|
||||||
GetNbItemsBySkill(skill : Skill?)
|
|
||||||
GetItemsBySkill(skill : Skill?, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~Champion?~~
|
|
||||||
GetNbItemsBySkill(skill : string)
|
|
||||||
GetItemsBySkill(skill : string, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~Champion?~~
|
|
||||||
GetNbItemsByRunePage(runePage : RunePage?)
|
|
||||||
GetItemsByRunePage(runePage : RunePage?, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~Champion?~~
|
|
||||||
}
|
|
||||||
class ISkinsManager{
|
|
||||||
<<interface>>
|
|
||||||
GetNbItemsByChampion(champion : Champion?)
|
|
||||||
GetItemsByChampion(champion : Champion?, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~Skin?~~
|
|
||||||
}
|
|
||||||
class IRunesManager{
|
|
||||||
<<interface>>
|
|
||||||
GetNbItemsByFamily(family : RuneFamily)
|
|
||||||
GetItemsByFamily(family : RuneFamily, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~Rune?~~
|
|
||||||
}
|
|
||||||
class IRunePagesManager{
|
|
||||||
<<interface>>
|
|
||||||
GetNbItemsByRune(rune : Rune?)
|
|
||||||
GetItemsByRune(rune : Rune?, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~RunePage?~~
|
|
||||||
GetNbItemsByChampion(champion : Champion?)
|
|
||||||
GetItemsByChampion(champion : Champion?, index : int, count : int, orderingPropertyName : string?, descending : bool) Task~IEnumerable~RunePage?~~
|
|
||||||
}
|
|
||||||
|
|
||||||
IGenericDataManager~Champion?~ <|.. IChampionsManager : T--Champion?
|
|
||||||
IGenericDataManager~Skin?~ <|.. ISkinsManager : T--Skin?
|
|
||||||
IGenericDataManager~Rune?~ <|.. IRunesManager : T--Rune?
|
|
||||||
IGenericDataManager~RunePage?~ <|.. IRunePagesManager : T--RunePage?
|
|
||||||
class IDataManager{
|
|
||||||
<<interface>>
|
|
||||||
}
|
|
||||||
IChampionsManager <-- IDataManager : ChampionsMgr
|
|
||||||
ISkinsManager <-- IDataManager : SkinsMgr
|
|
||||||
IRunesManager <-- IDataManager : RunesMgr
|
|
||||||
IRunePagesManager <-- IDataManager : RunePagesMgr
|
|
||||||
```
|
|
||||||
|
|
||||||
## Diagramme de classes simplifié du Stub
|
|
||||||
```mermaid
|
|
||||||
classDiagram
|
|
||||||
direction TB;
|
|
||||||
|
|
||||||
IDataManager <|.. StubData
|
|
||||||
|
|
||||||
ChampionsManager ..|> IChampionsManager
|
|
||||||
StubData --> ChampionsManager
|
|
||||||
|
|
||||||
RunesManager ..|> IRunesManager
|
|
||||||
StubData --> RunesManager
|
|
||||||
|
|
||||||
RunePagesManager ..|> IRunePagesManager
|
|
||||||
StubData --> RunePagesManager
|
|
||||||
|
|
||||||
SkinsManager ..|> ISkinsManager
|
|
||||||
StubData --> SkinsManager
|
|
||||||
|
|
||||||
StubData --> RunesManager
|
|
||||||
StubData --> "*" Champion
|
|
||||||
StubData --> "*" Rune
|
|
||||||
StubData --> "*" RunePages
|
|
||||||
StubData --> "*" Skins
|
|
||||||
```
|
|
Loading…
Reference in new issue