◆ APISubscription()
BrawlCrate.UI.APISubscription.APISubscription |
( |
string |
repoOwner, |
|
|
string |
repoName, |
|
|
string |
path |
|
) |
| |
|
inline |
570 {
571 Name = $"{repoOwner}/{repoName}";
574 if (File.Exists($"{path} README.txt"))
575 {
576 ReadMe = File.ReadAllText($
"{path} README.txt");
577 }
578
579 if (File.Exists($"{path} LICENSE.txt"))
580 {
581 License = File.ReadAllText($
"{path} LICENSE.txt");
582 }
583
584 string[] lines = File.ReadAllLines(path);
585
586
587
588
589
590
594 for (int i = 3; i < lines.Length; i++)
595 {
597 }
598
600 }
List< string > ManagedScripts
Definition: APISubscriptionManager.cs:565
string ReadMe
Definition: APISubscriptionManager.cs:566
string Version
Definition: APISubscriptionManager.cs:563
override string ToString()
Definition: APISubscriptionManager.cs:602
string LastUpdateDate
Definition: APISubscriptionManager.cs:564
string License
Definition: APISubscriptionManager.cs:567
◆ ToString()
override string BrawlCrate.UI.APISubscription.ToString |
( |
| ) |
|
|
inline |
603 {
604 return $"{Name} ({Version})";
605 }
◆ LastUpdateDate
string BrawlCrate.UI.APISubscription.LastUpdateDate |
|
get |
◆ License
string BrawlCrate.UI.APISubscription.License |
|
get |
◆ ManagedScripts
List<string> BrawlCrate.UI.APISubscription.ManagedScripts |
|
get |
◆ ReadMe
string BrawlCrate.UI.APISubscription.ReadMe |
|
get |
◆ Version
string BrawlCrate.UI.APISubscription.Version |
|
get |
The documentation for this class was generated from the following file:
- BrawlCrate/UI/APISubscriptionManager.cs