terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
DropRateInfo.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200086E RID: 2158
8 public struct DropRateInfo
9 {
10 // Token: 0x060043D5 RID: 17365 RVA: 0x0024E980 File Offset: 0x0024CB80
12 {
16 if (conditions != null)
17 {
18 int size = conditions._size;
19 }
20 }
21
22 // Token: 0x060043D6 RID: 17366 RVA: 0x0024E9B0 File Offset: 0x0024CBB0
23 public void AddCondition(IItemDropRuleCondition condition)
24 {
25 if (this.conditions == null)
26 {
27 }
28 }
29
30 // Token: 0x040081AF RID: 33199
31 public int itemId;
32
33 // Token: 0x040081B0 RID: 33200
34 public int stackMin;
35
36 // Token: 0x040081B1 RID: 33201
37 public int stackMax;
38
39 // Token: 0x040081B2 RID: 33202
40 public float dropRate;
41
42 // Token: 0x040081B3 RID: 33203
44 }
45}
class f__AnonymousType0<< Count > j__TPar
DropRateInfo(int itemId, int stackMin, int stackMax, float dropRate, [Optional] List< IItemDropRuleCondition > conditions)
void AddCondition(IItemDropRuleCondition condition)
List< IItemDropRuleCondition > conditions