Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ComSourceInterfacesAttribute.cs
Go to the documentation of this file.
2
3[AttributeUsage(AttributeTargets.Class, Inherited = true)]
5{
6 public string Value { get; }
7
8 public ComSourceInterfacesAttribute(string sourceInterfaces)
9 {
10 Value = sourceInterfaces;
11 }
12
13 public ComSourceInterfacesAttribute(Type sourceInterface)
14 {
15 Value = sourceInterface.FullName;
16 }
17
18 public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2)
19 {
20 Value = sourceInterface1.FullName + "\0" + sourceInterface2.FullName;
21 }
22
23 public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3)
24 {
25 Value = sourceInterface1.FullName + "\0" + sourceInterface2.FullName + "\0" + sourceInterface3.FullName;
26 }
27
28 public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3, Type sourceInterface4)
29 {
30 Value = sourceInterface1.FullName + "\0" + sourceInterface2.FullName + "\0" + sourceInterface3.FullName + "\0" + sourceInterface4.FullName;
31 }
32}
ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2)
ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3)
ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3, Type sourceInterface4)
string? FullName
Definition Type.cs:47