Skip to content

Commit c3f0eea

Browse files
authored
Merge pull request #2 from Digneety/development
Development
2 parents 94c5311 + d03a49b commit c3f0eea

12 files changed

Lines changed: 359 additions & 257 deletions

File tree

Lines changed: 117 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,82 @@
1-
## Ignore Visual Studio temporary files, build results, and
1+
bin/
2+
obj/
3+
/packages/
4+
riderModule.iml
5+
/_ReSharper.Caches/### JetBrains template
6+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
7+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
8+
9+
# User-specific stuff
10+
.idea/**/workspace.xml
11+
.idea/**/tasks.xml
12+
.idea/**/usage.statistics.xml
13+
.idea/**/dictionaries
14+
.idea/**/shelf
15+
16+
# Generated files
17+
.idea/**/contentModel.xml
18+
19+
# Sensitive or high-churn files
20+
.idea/**/dataSources/
21+
.idea/**/dataSources.ids
22+
.idea/**/dataSources.local.xml
23+
.idea/**/sqlDataSources.xml
24+
.idea/**/dynamic.xml
25+
.idea/**/uiDesigner.xml
26+
.idea/**/dbnavigator.xml
27+
28+
# Gradle
29+
.idea/**/gradle.xml
30+
.idea/**/libraries
31+
32+
# Gradle and Maven with auto-import
33+
# When using Gradle or Maven with auto-import, you should exclude module files,
34+
# since they will be recreated, and may cause churn. Uncomment if using
35+
# auto-import.
36+
# .idea/artifacts
37+
# .idea/compiler.xml
38+
# .idea/jarRepositories.xml
39+
# .idea/modules.xml
40+
# .idea/*.iml
41+
# .idea/modules
42+
# *.iml
43+
# *.ipr
44+
45+
# CMake
46+
cmake-build-*/
47+
48+
# Mongo Explorer plugin
49+
.idea/**/mongoSettings.xml
50+
51+
# File-based project format
52+
*.iws
53+
54+
# IntelliJ
55+
out/
56+
57+
# mpeltonen/sbt-idea plugin
58+
.idea_modules/
59+
60+
# JIRA plugin
61+
atlassian-ide-plugin.xml
62+
63+
# Cursive Clojure plugin
64+
.idea/replstate.xml
65+
66+
# Crashlytics plugin (for Android Studio and IntelliJ)
67+
com_crashlytics_export_strings.xml
68+
crashlytics.properties
69+
crashlytics-build.properties
70+
fabric.properties
71+
72+
# Editor-based Rest Client
73+
.idea/httpRequests
74+
75+
# Android studio 3.1+ serialized cache file
76+
.idea/caches/build_file_checksums.ser
77+
78+
### VisualStudio template
79+
## Ignore Visual Studio temporary files, build results, and
280
## files generated by popular Visual Studio add-ons.
381
##
482
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
@@ -23,6 +101,7 @@ mono_crash.*
23101
[Rr]eleases/
24102
x64/
25103
x86/
104+
[Ww][Ii][Nn]32/
26105
[Aa][Rr][Mm]/
27106
[Aa][Rr][Mm]64/
28107
bld/
@@ -61,6 +140,9 @@ project.lock.json
61140
project.fragment.lock.json
62141
artifacts/
63142

143+
# ASP.NET Scaffolding
144+
ScaffoldingReadMe.txt
145+
64146
# StyleCop
65147
StyleCopReport.xml
66148

@@ -137,6 +219,11 @@ _TeamCity*
137219
.axoCover/*
138220
!.axoCover/settings.json
139221

222+
# Coverlet is a free, cross platform Code Coverage Tool
223+
coverage*.json
224+
coverage*.xml
225+
coverage*.info
226+
140227
# Visual Studio code coverage results
141228
*.coverage
142229
*.coveragexml
@@ -348,3 +435,32 @@ MigrationBackup/
348435

349436
# Ionide (cross platform F# VS Code tools) working folder
350437
.ionide/
438+
439+
# Fody - auto-generated XML schema
440+
FodyWeavers.xsd
441+
442+
### Windows template
443+
# Windows thumbnail cache files
444+
Thumbs.db
445+
Thumbs.db:encryptable
446+
ehthumbs.db
447+
ehthumbs_vista.db
448+
449+
# Dump file
450+
*.stackdump
451+
452+
# Folder config file
453+
[Dd]esktop.ini
454+
455+
# Recycle Bin used on file shares
456+
$RECYCLE.BIN/
457+
458+
# Windows Installer files
459+
*.cab
460+
*.msi
461+
*.msix
462+
*.msm
463+
*.msp
464+
465+
# Windows shortcuts
466+
*.lnk

ConfigFiles/app.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<appSettings>
4+
<add key="mail" value="mail@email.com" />
5+
<add key="password" value="SuperSecretPassword187" />
6+
<add key="proxy" value="" />
7+
<add key="proxyUser" value="" />
8+
<add key="proxyPassword" value="" />
9+
</appSettings>
10+
</configuration>

Models/UbisoftProfile.cs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
using Newtonsoft.Json;
2+
3+
namespace UbisoftName.Models;
4+
5+
public struct Profile
6+
{
7+
[JsonProperty("profileId")]
8+
public string ProfileId { get; set; }
9+
10+
[JsonProperty("userId")]
11+
public string UserId { get; set; }
12+
13+
[JsonProperty("platformType")]
14+
public string PlatformType { get; set; }
15+
16+
[JsonProperty("idOnPlatform")]
17+
public string IdOnPlatform { get; set; }
18+
19+
[JsonProperty("nameOnPlatform")]
20+
public string NameOnPlatform { get; set; }
21+
}
22+
23+
public struct UbisoftProfile
24+
{
25+
[JsonProperty("profiles")]
26+
public List<Profile> Profiles { get; set; }
27+
}

Models/UbisoftToken.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using Newtonsoft.Json;
2+
3+
namespace UbisoftName.Models;
4+
5+
public class UbisoftToken
6+
{
7+
8+
[JsonProperty("ticket")]
9+
public string? Ticket { get; set; }
10+
11+
[JsonProperty("expiration")]
12+
public DateTime Expiration { get; set; }
13+
14+
[JsonProperty("sessionId")]
15+
public string? SessionId { get; set; }
16+
17+
public bool IsExpired => Expiration < DateTime.Now;
18+
}

NameCheck/ConfigFiles/app.config

Lines changed: 0 additions & 7 deletions
This file was deleted.

NameCheck/NameCheck.csproj

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)