summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/MobaReminder.cs
blob: 4fa0a578855b6411c4e3c199e3e1664b9e720bda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using System.Collections.Generic;
using KKSG;

namespace XMainClient
{
	public class MobaReminder
	{
		public MobaReminderEnum reminder;

		public HeroKillUnit killer;

		public HeroKillUnit deader;

		public List<HeroKillUnit> assists;

		public int type;

		public string AudioName;

		public string ReminderText;

		public void Recycle()
		{
			this.killer = null;
			this.deader = null;
			bool flag = this.assists != null;
			if (flag)
			{
				this.assists.Clear();
			}
			this.assists = null;
			this.AudioName = "";
			this.ReminderText = "";
			MobaInfoPool.Recycle(this);
		}
	}
}