Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LicenseContext.cs
Go to the documentation of this file.
2
4
6{
7 public virtual LicenseUsageMode UsageMode => LicenseUsageMode.Runtime;
8
9 public virtual string? GetSavedLicenseKey(Type type, Assembly? resourceAssembly)
10 {
11 return null;
12 }
13
14 public virtual object? GetService(Type type)
15 {
16 return null;
17 }
18
19 public virtual void SetSavedLicenseKey(Type type, string key)
20 {
21 }
22}
virtual LicenseUsageMode UsageMode
virtual ? object GetService(Type type)
virtual void SetSavedLicenseKey(Type type, string key)
virtual ? string GetSavedLicenseKey(Type type, Assembly? resourceAssembly)