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
| //--------------------------------------------------------
| // [Author]: 第二世界
| // [ Date ]: Monday, July 31, 2017
| //--------------------------------------------------------
| using UnityEngine;
| using System.Collections;
|
| namespace Snxxz.UI
| {
|
| public struct Item
| {
| public int id;
| public int count;
| public int quality;
|
| public Item(int _id, int _count)
| {
| this.id = _id;
| this.count = _count;
| this.quality = 0;
| }
|
| public Item(int _id, int _count, int _quality)
| {
| this.id = _id;
| this.count = _count;
| this.quality = _quality;
| }
| }
| }
|
|
|
|
|