1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- namespace ET.Server
- {
- /// <summary>
- /// 数据结构
- /// </summary>
- public class Struct
- {
- /// <summary>
- /// 刻子对象
- /// </summary>
- public class Kezi
- {
- /** 1.明杠 2.回杠 3.暗杠 4.碰 5.吃 **/
- public int Type { get; set; }
- /** 牌(吃:为顺子第一张) **/
- public int Card { get; set; }
- /** 操作谁家的牌 **/
- public long PlayerId { get; set; }
- public Kezi(int type, int card, long playerId)
- {
- this.Type = type;
- this.Card = card;
- this.PlayerId = playerId;
- }
- }
-
- public class HuRes
- {
- public int Type { get; set; }
- public int Jiang { get; set; }
- public HuRes()
- {
- }
- public HuRes(int type, int jiang)
- {
- this.Type = type;
- this.Jiang = jiang;
- }
- }
- }
- }
|