Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ShippingResult.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using Newtonsoft.Json;
3
4public class ShippingResult : EClass
5{
6 public class Item
7 {
8 [JsonProperty]
9 public string[] _strs = new string[3];
10
11 public string text
12 {
13 get
14 {
15 return _strs[0];
16 }
17 set
18 {
19 _strs[0] = value;
20 }
21 }
22
23 public int income
24 {
25 get
26 {
27 return _strs[1].ToInt();
28 }
29 set
30 {
31 _strs[1] = value.ToString() ?? "";
32 }
33 }
34 }
35
36 [JsonProperty]
37 public long[] ints = new long[10];
38
39 [JsonProperty]
40 public List<Item> items = new List<Item>();
41
42 public long total
43 {
44 get
45 {
46 return ints[0];
47 }
48 set
49 {
50 ints[0] = value;
51 }
52 }
53
54 public int rawDate
55 {
56 get
57 {
58 return (int)ints[1];
59 }
60 set
61 {
62 ints[1] = value;
63 }
64 }
65
66 public int uidZone
67 {
68 get
69 {
70 return (int)ints[2];
71 }
72 set
73 {
74 ints[2] = value;
75 }
76 }
77
78 public int hearthLv
79 {
80 get
81 {
82 return (int)ints[3];
83 }
84 set
85 {
86 ints[3] = value;
87 }
88 }
89
90 public int hearthExp
91 {
92 get
93 {
94 return (int)ints[4];
95 }
96 set
97 {
98 ints[4] = value;
99 }
100 }
101
103 {
104 get
105 {
106 return (int)ints[5];
107 }
108 set
109 {
110 ints[5] = value;
111 }
112 }
113
114 public int debt
115 {
116 get
117 {
118 return (int)ints[6];
119 }
120 set
121 {
122 ints[6] = value;
123 }
124 }
125
126 public int GetIncome()
127 {
128 int num = 0;
129 foreach (Item item in items)
130 {
131 num += item.income;
132 }
133 return num;
134 }
135}
Definition: EClass.cs:5
List< Item > items