hch
2026-01-26 aa84cb62bebb9c8a4e586bcc1ec28eb7a16a8860
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
//--------------------------------------------------------
//    [Author]:           玩个游戏
//    [  Date ]:           Monday, July 31, 2017
//--------------------------------------------------------
using UnityEngine;
using System.Collections;
 
 
public struct Item
{
    public int id;
    public long countEx;   
    public int quality;
    public int useType;    //用途定义:0 无 1 预留 2 红颜增加 10 古宝增加
 
    public Item(int _id, long _count)
    {
        this.id = _id;
        this.quality = 0;
        this.useType = 0;
        this.countEx = _count;
    }
    
 
 
 
    public Item(int _id, long _count, int _useType = 0, int _quality = 0)
    {
        this.id = _id;
        this.quality = _quality;
        this.useType = _useType;
        this.countEx = _count;
    }
 
    
}