356 lines
12 KiB
C#
356 lines
12 KiB
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Threading;
|
|
using Photon;
|
|
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
// Token: 0x0200017D RID: 381
|
|
public class LootDropper : global::Photon.MonoBehaviour
|
|
{
|
|
// Token: 0x06004FC9 RID: 20425 RVA: 0x0018A2B8 File Offset: 0x001884B8
|
|
public int AECIKIPOCOI()
|
|
{
|
|
return this.maxDropValue;
|
|
}
|
|
|
|
// Token: 0x06004FCA RID: 20426 RVA: 0x0018A2C0 File Offset: 0x001884C0
|
|
public void LLCFLBNOPOJ(LNJFBGIBLHA[] NFMNEKGBCHB)
|
|
{
|
|
this.DropLoot(NFMNEKGBCHB, base.transform.position + Vector3.up * this.dropFeedbackOffset);
|
|
}
|
|
|
|
// Token: 0x06004FCB RID: 20427 RVA: 0x0018A2EC File Offset: 0x001884EC
|
|
public void EDLMHELIONE(LNJFBGIBLHA[] NFMNEKGBCHB)
|
|
{
|
|
this.OJHLNEJJLFP(NFMNEKGBCHB, base.transform.position + Vector3.up * this.dropFeedbackOffset);
|
|
}
|
|
|
|
// Token: 0x06004FCC RID: 20428 RVA: 0x0018A318 File Offset: 0x00188518
|
|
public static void EGBDIBDGLJE(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Combine(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FCD RID: 20429 RVA: 0x0018A34C File Offset: 0x0018854C
|
|
public static void HNHOJPCDLEE(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Combine(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FCE RID: 20430 RVA: 0x0018A380 File Offset: 0x00188580
|
|
public static void KMJGDHNCBDO(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Remove(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x14000014 RID: 20
|
|
// (add) Token: 0x06004FE5 RID: 20453 RVA: 0x0018A700 File Offset: 0x00188900
|
|
// (remove) Token: 0x06004FD0 RID: 20432 RVA: 0x0018A3C8 File Offset: 0x001885C8
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public static event LootDropper.DPGPBJNFLAE HMALBLDCIDC;
|
|
|
|
// Token: 0x06004FD1 RID: 20433 RVA: 0x0018A3FC File Offset: 0x001885FC
|
|
public static void OENPMIKNPAN(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Remove(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FD2 RID: 20434 RVA: 0x0018A430 File Offset: 0x00188630
|
|
public static void GJAGMOAOAHB(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Combine(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FD3 RID: 20435 RVA: 0x0018A464 File Offset: 0x00188664
|
|
public virtual void ICEIOIDPAFH(LNJFBGIBLHA[] NFMNEKGBCHB, Vector3 FHFHOMKFHCI)
|
|
{
|
|
if (base.enabled && LootDropper.HMALBLDCIDC != null)
|
|
{
|
|
LootDropper.HMALBLDCIDC(this, FHFHOMKFHCI, NFMNEKGBCHB, this.minDropValue, this.maxDropValue, this.lootType);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004FD4 RID: 20436 RVA: 0x0018A49C File Offset: 0x0018869C
|
|
public virtual void DropLoot(LNJFBGIBLHA[] NFMNEKGBCHB, Vector3 FHFHOMKFHCI)
|
|
{
|
|
if (base.enabled && LootDropper.HMALBLDCIDC != null)
|
|
{
|
|
LootDropper.HMALBLDCIDC(this, FHFHOMKFHCI, NFMNEKGBCHB, this.minDropValue, this.maxDropValue, this.lootType);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000169 RID: 361
|
|
// (get) Token: 0x06004FD5 RID: 20437 RVA: 0x0018A4D4 File Offset: 0x001886D4
|
|
public int GGOELDPLABP
|
|
{
|
|
get
|
|
{
|
|
return this.minDropValue;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004FD6 RID: 20438 RVA: 0x0018A4DC File Offset: 0x001886DC
|
|
public int MEPGPEKPIOO()
|
|
{
|
|
return this.minDropValue;
|
|
}
|
|
|
|
// Token: 0x06004FD7 RID: 20439 RVA: 0x0018A4E4 File Offset: 0x001886E4
|
|
public void ABMNNLGGCIG(LNJFBGIBLHA[] NFMNEKGBCHB)
|
|
{
|
|
this.OJHLNEJJLFP(NFMNEKGBCHB, base.transform.position + Vector3.up * this.dropFeedbackOffset);
|
|
}
|
|
|
|
// Token: 0x06004FD8 RID: 20440 RVA: 0x0018A510 File Offset: 0x00188710
|
|
public static void NAHIKMECGMH(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Combine(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FD9 RID: 20441 RVA: 0x0018A544 File Offset: 0x00188744
|
|
public virtual void LMHGLKHOOPL(LNJFBGIBLHA[] NFMNEKGBCHB, Vector3 FHFHOMKFHCI)
|
|
{
|
|
if (base.enabled && LootDropper.HMALBLDCIDC != null)
|
|
{
|
|
LootDropper.HMALBLDCIDC(this, FHFHOMKFHCI, NFMNEKGBCHB, this.minDropValue, this.maxDropValue, this.lootType);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004FDA RID: 20442 RVA: 0x0018A57C File Offset: 0x0018877C
|
|
public int MALALPKEGMM()
|
|
{
|
|
return this.maxDropValue;
|
|
}
|
|
|
|
// Token: 0x06004FDB RID: 20443 RVA: 0x0018A584 File Offset: 0x00188784
|
|
public static void GLJEAAJEODJ(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Combine(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FDC RID: 20444 RVA: 0x0018A5B8 File Offset: 0x001887B8
|
|
public int HKIODIDJMDB()
|
|
{
|
|
return this.maxDropValue;
|
|
}
|
|
|
|
// Token: 0x06004FDD RID: 20445 RVA: 0x0018A5C0 File Offset: 0x001887C0
|
|
public virtual void OJHLNEJJLFP(LNJFBGIBLHA[] NFMNEKGBCHB, Vector3 FHFHOMKFHCI)
|
|
{
|
|
if (base.enabled && LootDropper.HMALBLDCIDC != null)
|
|
{
|
|
LootDropper.HMALBLDCIDC(this, FHFHOMKFHCI, NFMNEKGBCHB, this.minDropValue, this.maxDropValue, this.lootType);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004FDE RID: 20446 RVA: 0x0018A5F8 File Offset: 0x001887F8
|
|
public virtual void IBINICGCNDE(LNJFBGIBLHA[] NFMNEKGBCHB, Vector3 FHFHOMKFHCI)
|
|
{
|
|
if (base.enabled && LootDropper.HMALBLDCIDC != null)
|
|
{
|
|
LootDropper.HMALBLDCIDC(this, FHFHOMKFHCI, NFMNEKGBCHB, this.minDropValue, this.maxDropValue, this.lootType);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004FDF RID: 20447 RVA: 0x0018A630 File Offset: 0x00188830
|
|
public static void CEJOCHJLLNI(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Remove(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FE0 RID: 20448 RVA: 0x0018A664 File Offset: 0x00188864
|
|
public static void CJPCGPOOGPL(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Combine(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FE1 RID: 20449 RVA: 0x0018A698 File Offset: 0x00188898
|
|
public void JDGILKAGOJB(LNJFBGIBLHA[] NFMNEKGBCHB)
|
|
{
|
|
this.IBINICGCNDE(NFMNEKGBCHB, base.transform.position + Vector3.up * this.dropFeedbackOffset);
|
|
}
|
|
|
|
// Token: 0x06004FE2 RID: 20450 RVA: 0x0018A6C4 File Offset: 0x001888C4
|
|
public int HKFBHNLHFFJ()
|
|
{
|
|
return this.minDropValue;
|
|
}
|
|
|
|
// Token: 0x06004FE3 RID: 20451 RVA: 0x0018A6CC File Offset: 0x001888CC
|
|
public void DropLoot(LNJFBGIBLHA[] NFMNEKGBCHB)
|
|
{
|
|
this.DropLoot(NFMNEKGBCHB, base.transform.position + Vector3.up * this.dropFeedbackOffset);
|
|
}
|
|
|
|
// Token: 0x06004FE4 RID: 20452 RVA: 0x0018A6F8 File Offset: 0x001888F8
|
|
public int OAABCOEDMCE()
|
|
{
|
|
return this.minDropValue;
|
|
}
|
|
|
|
// Token: 0x06004FE6 RID: 20454 RVA: 0x0018A734 File Offset: 0x00188934
|
|
public static void AGDENDHKIMB(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Combine(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FE7 RID: 20455 RVA: 0x0018A768 File Offset: 0x00188968
|
|
public int EKODODJBFAB()
|
|
{
|
|
return this.maxDropValue;
|
|
}
|
|
|
|
// Token: 0x06004FE8 RID: 20456 RVA: 0x0018A770 File Offset: 0x00188970
|
|
public void AGEDOBEECBC(LNJFBGIBLHA[] NFMNEKGBCHB)
|
|
{
|
|
this.FDIJDMGBDGG(NFMNEKGBCHB, base.transform.position + Vector3.up * this.dropFeedbackOffset);
|
|
}
|
|
|
|
// Token: 0x06004FE9 RID: 20457 RVA: 0x0018A79C File Offset: 0x0018899C
|
|
public virtual void FDIJDMGBDGG(LNJFBGIBLHA[] NFMNEKGBCHB, Vector3 FHFHOMKFHCI)
|
|
{
|
|
if (base.enabled && LootDropper.HMALBLDCIDC != null)
|
|
{
|
|
LootDropper.HMALBLDCIDC(this, FHFHOMKFHCI, NFMNEKGBCHB, this.minDropValue, this.maxDropValue, this.lootType);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004FEB RID: 20459 RVA: 0x0018A7D8 File Offset: 0x001889D8
|
|
public static void ABFJANOOHEK(LootDropper.DPGPBJNFLAE NOBAPCOKFIL)
|
|
{
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae = LootDropper.HMALBLDCIDC;
|
|
LootDropper.DPGPBJNFLAE dpgpbjnflae2;
|
|
do
|
|
{
|
|
dpgpbjnflae2 = dpgpbjnflae;
|
|
dpgpbjnflae = Interlocked.CompareExchange<LootDropper.DPGPBJNFLAE>(ref LootDropper.HMALBLDCIDC, (LootDropper.DPGPBJNFLAE)Delegate.Combine(dpgpbjnflae2, NOBAPCOKFIL), dpgpbjnflae);
|
|
}
|
|
while (dpgpbjnflae != dpgpbjnflae2);
|
|
}
|
|
|
|
// Token: 0x06004FEC RID: 20460 RVA: 0x0018A80C File Offset: 0x00188A0C
|
|
public int GIFFFGFAECL()
|
|
{
|
|
return this.minDropValue;
|
|
}
|
|
|
|
// Token: 0x06004FED RID: 20461 RVA: 0x0018A814 File Offset: 0x00188A14
|
|
public void ANHCACOJEPN(LNJFBGIBLHA[] NFMNEKGBCHB)
|
|
{
|
|
this.DropLoot(NFMNEKGBCHB, base.transform.position + Vector3.up * this.dropFeedbackOffset);
|
|
}
|
|
|
|
// Token: 0x06004FEE RID: 20462 RVA: 0x0018A840 File Offset: 0x00188A40
|
|
public virtual void HCMDFGBGJAN(LNJFBGIBLHA[] NFMNEKGBCHB, Vector3 FHFHOMKFHCI)
|
|
{
|
|
if (base.enabled && LootDropper.HMALBLDCIDC != null)
|
|
{
|
|
LootDropper.HMALBLDCIDC(this, FHFHOMKFHCI, NFMNEKGBCHB, this.minDropValue, this.maxDropValue, this.lootType);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700016A RID: 362
|
|
// (get) Token: 0x06004FEF RID: 20463 RVA: 0x0018A878 File Offset: 0x00188A78
|
|
public int FMOGBGGBIPD
|
|
{
|
|
get
|
|
{
|
|
return this.maxDropValue;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000A01 RID: 2561
|
|
[SerializeField]
|
|
private GEGEGOCOKGB lootType;
|
|
|
|
// Token: 0x04000A02 RID: 2562
|
|
[SerializeField]
|
|
[FormerlySerializedAs("minGold")]
|
|
private int minDropValue;
|
|
|
|
// Token: 0x04000A03 RID: 2563
|
|
[SerializeField]
|
|
[FormerlySerializedAs("maxGold")]
|
|
private int maxDropValue;
|
|
|
|
// Token: 0x04000A04 RID: 2564
|
|
[SerializeField]
|
|
[FormerlySerializedAs("dropParticleOffset")]
|
|
private float dropFeedbackOffset = 0.15f;
|
|
|
|
// Token: 0x0200017E RID: 382
|
|
// (Invoke) Token: 0x06004FF1 RID: 20465
|
|
public delegate void DPGPBJNFLAE(LootDropper PPLBPLNOLBJ, Vector3 CIGPHKLAAOD, LNJFBGIBLHA[] NFMNEKGBCHB, int DKDPAJEBOFN, int BFLJBMLDMJL, GEGEGOCOKGB HIDIHIOOMKC);
|
|
}
|