예제 #1
0
 public Com.Violet.Rpc.ChessPoint ParseToRpc()
 {
     Com.Violet.Rpc.ChessPoint p = new Com.Violet.Rpc.ChessPoint();
     p.X = x;
     p.Y = y;
     return(p);
 }
예제 #2
0
 static public ChessPoint ParseFromRpc(Com.Violet.Rpc.ChessPoint point)
 {
     return(new ChessPoint(point.X, point.Y));
 }