コード例 #1
0
 public static object dahai(int actor, int pai, bool tsumogiri)
 {
     return(new { type = "dahai", actor = actor, pai = Pai.dump(pai), tsumogiri = tsumogiri });
 }
コード例 #2
0
 static object naki(string type, int actor, int target, int pai, List <int> consumed)
 {
     consumed.Sort();
     return(new { type = type, actor = actor, target = target, pai = Pai.dump(pai), consumed = consumed.Select(Pai.dump).ToList() });
 }
コード例 #3
0
 public static object hora(int actor, int target, int pai)
 {
     return(new { type = "hora", actor = actor, target = target, pai = Pai.dump(pai) });
 }