private static IPing MapPingClientCommand(ClientCommandDto c) { var result = new PingClientSideEntity { Type = c.Type, Guid = c.Guid }; return(result); }
private static IMovePlayerClientCommand MapMovePlayerClientCommand(ClientCommandDto c) { var result = new MovePlayerClientCommandClientSideEntity { Type = c.Type, Guid = c.Guid }; result.ToX = c.ToX; result.ToY = c.ToY; return(result); }