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